|
|
Re: Code Coverage Total Percentage
|
|
09/24/2008 12:10 AM
post13915
|
Re: Code Coverage Total Percentage
Matt,
I'd recommend not to waste your time with 4.0.1 coverage implementation
:-) Is it a problem for you to take the last integration build from the
community site?
Alex..
Matt Harley wrote:
> Thanks for your reply Alex.
> I'm this version of the IDE:
> Version: 4.0.1
> Build id: I20070321
> and i can't see block coverage anywhere.
>
> For one of my test programs I'm getting 42.11% (8 lines) fully covered, 57.89% (11 lines) not covered, 0% partially
covered and a Total Coverage figure of 33.33%. I can't seem to figure out where the 33.33% is coming from?
>
> Has there been a significant change in the code coverage tool from my version to the latest?
>
> Cheers again,
> Matt
>
>
>> Percentage in coverage view is a line coverage. But in property view you
>> can see both: block coverage and line coverage.
>>
>>
>> Matt Harley wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> I'm investigating how the QNX Momentics IDE handles code coverage and have a
>>>
>>> question. I understand how each line is classified as either fully,
>>> partially or not covered. What I'm trying to figure out is how the code
>>> coverage tool arrives at its Percentage Total Coverage Figure.
>>>
>>>
>>>
>>> According to
>>> http://www.qnx.com/developers/docs/6.3.2/ide_en/user_guide/coverage.html
>>> it's calculated "in terms of the actual code covered (i.e. not just lines)."
>>>
>>> Does this mean it's a statement coverage figure?
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Matt
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> General
>>> http://community.qnx.com/sf/go/post13812
>>>
>>>
>>>
>
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post13914
>
>
|
|
|
|
|