|
Do your unit tests constitute 100% code coverage? Yes or no, and why or why not.
Started by Chris on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at stackoverflow):
No, because there is a practical reasons :
It is really expensive to reach... .
It works by searching for hard-to-find edge cases.
Most developers who write code coverage.
It is seldom practical to get 100% code coverage in a non-trivial system.
|
|
Is there a tool for code coverage for C language.
I know there are many. But I wanted something like perl Devel::cover. Where I get:
Line coverage Branch Coverage Condition coverage Subroutine coverage And all this in a nice HTML output.
Is there anything...
Started by someguy on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
XML report on what's covered; you can manufacture whatever HTML... .
Nice UI display of code coverage on lines.
GCOV is the easiest to use - I wrote Coverage Tool .
coverage, but not branch, function coverage (as far as I know).
|
|
T-mobile Coverage vs Sprint Coverage I live in Mid Missouri, and I was wondering if any one tell me if T-mobile coverage is better then Sprint..
Looking at T-mobiles coverage maps you can tell where the towers are which seems to be Placed about the same...
Started by lil_tlc on
, 12 posts
by 7 people.
Answer Snippets (Read the full thread at howardforums):
Sprint being based near KC, it seems....
T-Mobile prepaid is not an MVNO..
But that
T-mobile MVNO's is much different and no roaming with not very good coverage...
Posted T-mobile prepaid will roam and have coverage much like AT&T go phone..
|
Ask your Facebook Friends
|
I know Eclipse + PyDev has an option Run As => 3 Python Coverage . But all it reports is:
Ran 6 tests in 0.001s
OK
And it says nothing about code coverage. How to get a code coverage report in Pydev?
Started by Jader Dias on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Run a file with "Python Coverage" Window > Show View > Code Coverage Results View Select the directory in which the executed file.
And-eclipse/
It uses nosetests with the –with-coverage option.
|
|
Is there any tool/library that calculate percent of "condition/decision coverage" of python code. I found only coverage.py but it calculates only percent of "statement coverage".
Started by Mykola Kharechko on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The very same maintainer of ....
I don't know of any branch coverage tools for Python,
raise SomeException(x)
Branch coverage for this needs to check that SomeException(x) was fully.
With unit tests that will show you the coverage.
|
|
Is there any code coverage tool available for PHP? I wish to check the code coverage of my code and API's written in PHP, but have not been able to lay my hands on any code coverage tool for PHP, as it is more of a server side language and dynamic in ...
Started by gagneet on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Check this chapter of the PHPUnit Manual
http://gcov.php.net/
I don't think it has Coverage tool from Semantic Designs....
Xdebug has Code Coverage Analysis .
Using Xdebug in combination with PHPUnit can give you code coverage analysis.
|
|
Is there a way to get Phing to output it's coverage report in clover format?
I know phpunit has --coverage-clover but I don't know how to enable this option from Phing.
I do not want to manually use the <exec command - it defeats the point of Phing...
Started by Linus on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Here is my}/logfile.xml --coverage-clover ${report}/coverage/clover.xml --coverage-source ${report}/coverage --coverage-html....
I did some research and Phing doesn't support Clover coverage, you have to use exec.
|
|
Are there any good (and preferably free) code coverage tools out there for Perl?
Started by Kurt W. Leucht on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
As noted the call to WriteMakefile():
eval ....
Target:
perl Build.PL ./Build testcover
That runs the whole test suite, and makes a combined coverage report in nice HTML, where you can browser through your modules and watch their coverage.
|
|
How do I setup an Ant task to generate Emma code coverage reports?
Started by Rob Spieldenner on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Dir="${coverage}"/> <emma> <instr instrpath="${target}" destdir="${instr.target}" metadatafile="${coverage}/metadata.emma" mode="copy"> <filter excludes="*Test*"/> </instr> with the proper VM arguments like:
<....
|
|
I'm currently using Rcov to get C0 code coverage analysis for a rails project that I'm working on.
However, those results are practically meaningless- I have 100% coverage according to rcov (as it only covers C0 analysis) and I've barely written half ...
Started by Eliza on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
In fact, there aren't any coverage tools dynamic analysis tools such as code coverage tools in Ruby itself, making tool writing accessible in 2009 and we will see things like....
At the moment, there are no C1 coverage tools for Ruby.
|