code-coverage

Free code coverage tools in .NET for personal project

I need a free code coverage tools in .NET for personal project. NCover is bit expensive for person use. ...

Where can I find code profiling and/or code coverage modules that work with mod_perl2?

Is there a way to get this functionality under mod_perl2? And can it be triggered via web requests as opposed to the command line? Or do I need to fake whatever $ENV variables and query strings and cookies that my script requires and use the command line somehow? Google and CPAN searches all seem to point to things that either don't e...

Writing a tool to support code coverage tests

I am trying to write a small tool to support some of code coverage tests we are running in my company. Here's my requirement for the tool - Input - List of files (.cpp and .h) which have been modified (as a part of a checked-in changelist) Output - All the functions which were added or modified in the source (as a result of checking-i...

Free code coverage tools

Are there any free code coverage tools for native (not managed) code? For either Windows or Linux platforms? ...

Emma doesn't provide code coverage across projects

Hi guys, I was wondering if any of you EMMA users have encountered this issue. Basically I have multiple projects each with different build.xml ANT scripts that are all called from one main ANT script individually. The code is covered appropriately but when a JUnit method calls another method in a different project, that external metho...

Measuring code coverage in Delphi

Is there any way to measure code coverage with DUnit? Or are there any free tools accomplishing that? What do you use for that? What code coverage do you usually go for? Jim McKeeth: Thanks for the detailed answer. I am talking about unit testing in the sense of a TDD approach, not only about unit tests after a failure occured. I'm inte...

Perl build, unit testing, code coverage: A complete working example

Most Stackoverflow answers that I have found in regards to the Perl build process and unit testing and code coverage simply point me to CPAN for the documentation there. There's absolutely nothing wrong with pointing to CPAN modules because that's where the full documentation is supposed to reside. I've had trouble finding complete wor...

Is it possible to measure function coverage with gcov?

Currently we use gcov with our testing suite for Linux C++ application and it does a good job at measuring line coverage. Can gcov produce function/method coverage report in addition to line coverage? Looking at the parameters gcov accepts I do not think it is possible, but I may be missing something. Or, probably, is there any other ...

How to deal with code coverage?

The other day we had a hard discussion between different developers and project leads, about code coverage tools and the use of the corresponding reports. Do you use code coverage in your projects and if so, why not? Is code coverage a fixed part of your builds or continous integration or do you just use it from time to time? How do y...

What type of errors could my code still contain even if I have 100% code coverage?

Looking for concrete examples or links to concrete examples of such errors. Thanks in advance. ...

C# Code Coverage metrics

Is there a free commercially available code coverage tool (down to invidual LOC level) available? I am aware of VS2008 Team Edition, but unfortunatly do not have the budget to perchase a license! So Im looking for a free (as in beer) alternative. Any Ideas? ...

Clover on Java EE Container

Hi, I would like to run Atlassian Clover in a production environment (I don't have an issue with overhead ). Does anyone have experience with this, or can you direct me how to do it? My goal is to get clover reports based on real users actions. I'm using JBoss + JDK 1.5 ...

Is there a way to get a test results and coverage html report from MSTest

I'd like to be able to produce a HTML based report from the Results.trx and data.coverage files that MSTest creates. Ideally this would just list any failures, and show some basic coverage stats. Does anyone know of a tool that does this? ...

Generating a maven site including a Cobertura Report

I've got some projects that are already doing site generation via maven, and I want to integrate cobertura reports in them, but no maven goal I seem to run will generate a local preview for me to look at that includes the Cobertura reports in the site. I want to be sure they're generating correctly before I commit the pom changes to the...

What's a good code coverage tool for use with Visual Studio (C++)?

I'm looking for a code coverage tool that I can easily use with Visual Studio. It must support c++. What have your experiences been with these applications? Did they work well with lots of lines of code? (we have somewhere in the region of a million lines of code). How well does it break down the results? Lines? Functions ? Classes? Does...

Reporting tool for C++ that shows number of times executed given a line

I would to know if there is a tool in C++ that gives you a report where it displays the following: The source code of the whole project. Usually one HTML page per source file. Beside the source code, there are line numbers, for readability purposes of course. And for each line, at the left of the line number, there is a value displaye...

Code coverage in unit testing

This is about .NET libraries (DLLs). What are the options for measuring code that is covered by unit test cases? Is it actually worth the efforts (measuring the code coverage)? I wonder it might be too easy to cover 70% of code and almost impossible to go beyond 90%. [EDIT] Another interesting question (put up by "E Rolnicki") is: What...

condition coverage in python

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". ...

Pitfalls of code coverage

I'm looking for real world examples of some bad side effects of code coverage. I noticed this happening at work recently because of a policy to achieve 100% code coverage. Code quality has been improving for sure but conversely the testers seem to be writing more lax test plans because 'well the code is fully unit tested'. Some logical ...

VS2008: Unit Testing with Code Coverage doesn't work with /CLR

I'm trying to set up unit testing with code coverage in VS2008, for a C++/CLI DLL which is compiled with /clr (not /clr:safe or /clr:pure - it has to be /clr because it uses MFC). The unit tests work perfectly but the coverage information only works if I compile with /clr:safe or /clr:pure. For /clr the Code Coverage Results window show...