Home > Ask the Software Quality Experts > Software Testing and Quality Assurance Questions & Answers > Choosing code coverage tools
Ask The Software Quality Expert: Questions & Answers
EMAIL THIS

Choosing code coverage tools

Mike Kelly EXPERT RESPONSE FROM: Mike Kelly

Pose a Question
Other Software Quality Categories
Meet all Software Quality Experts
Become an Expert for this site


Software quality news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 15 September 2008
I am doing my project in test case privatization using Java. Which tool is the best one for finding code coverage? Which tool gives the intermediate results while finding code coverage?

>

I've personally worked on project teams where we've used EMMA, Atlassian's Clover, and IBM Rational's PureCoverage (currently part of the PurifyPlus suite of tools) to capture code coverage information.
More important than the focus on tools, I'd recommend some articles on code coverage.
EMMA is an open source tool, and I know you can find other open source tools for code coverage in Java on Java-Source.net. I never developed a particular affinity for one tool over the other. I walked away from these experiences with the feeling we could have been equally effective with any of them.

More important than the focus on tools, I'd recommend some articles on code coverage that might help make sure you're focusing on the right aspects:

  • Depending on your level of experience with code coverage, Steve Cornett's article Code Coverage Analysis can serve as a good primer for the topic. If you already know what you're looking at, skip that one and move on to the next couple of references.


  • Next, take a look at Andrew Glover's article In pursuit of code quality: Don't be fooled by the coverage report. It has some excellent examples and covers a lot of the early mistakes I made when first evaluating coverage tools.


  • Finally, no list on code coverage articles would be complete without Brian Marick's paper, How to Misuse Code Coverage (PDF). It's an essential read for a number of reasons, not the least of which is that it provides more useful examples that might help you evaluate the tools you look at.
  • Software testing resources:
    How to determine test coverage

    Find software bugs, defects using code coverage

    Test coverage: Finding all the defects in your application

    I would recommend trying a couple of different tools and see which you like best. Depending on your support requirements, you might want to evaluate some of the commercial options available. There are many of them out there, each with their own claim to fame.


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



    RELATED CONTENT
    Software Testing and Quality Assurance
    Why do performance testers write new scripts so often?
    How to create performance testing workload models
    Fixing Web application performance troubleshooting problems
    Expert advises on implementation of Selenium IDE for effective software testing
    When should regression testing occur in an automated test plan?
    Achieving peak performance in integration testing
    Getting answers about OpenSTA script problems
    Defining core software regression tests
    Breaking in functionality on UI application pages
    Where to find good methodology guides for software testing

    Software testing and quality assurance (QA) fundamentals
    Software Testing: New software testing technologies bring new challenges
    Testing strategies for complex environments
    Astronaut's STPCon advice: Teamwork delivers "The Right Stuff"
    How to make your software tamperproof
    Software consortium seeks standard quality metrics
    Demo: Using WebGoat, a free software testing tool
    Seven steps for a quality change and configuration management program
    Winning responses to "Why is QA always the bottleneck?"
    Where to find good methodology guides for software testing
    5 ways to answer executives' unfair software test, QA questions

    Software testing tools and frameworks
    Software Testing Ezines
    New IBM Rational, Tivoli integrated tools pair development with IT
    STPCon: Do reality checks on performance test products, panelists advise
    Demo: Using WebGoat, a free software testing tool
    Getting answers about OpenSTA script problems
    Defining core software regression tests
    Selecting the best tool for stress and load testing
    Required prerequisites for performance testing
    Surgient 7's self-provisioning promises software testers quick IT resource access
    ALM: Best of breed vs. complete systems

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    build  (SearchSoftwareQuality.com)
    code review  (SearchSoftwareQuality.com)
    conformance testing  (SearchSoftwareQuality.com)
    error handling  (SearchSoftwareQuality.com)
    garbage in, garbage out  (SearchSoftwareQuality.com)
    load testing  (SearchSoftwareQuality.com)
    NUnit  (SearchSoftwareQuality.com)
    quality assurance  (SearchSoftwareQuality.com)
    stress testing  (SearchSoftwareQuality.com)
    white box  (SearchSoftwareQuality.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice



    Software Quality - Software Maintenance, Software Requirements, Software Standards
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts