Test the right code
Has your team grown to 10+ developers? Continuous integration can help you scale up.
Unit tests alone can’t guarantee defect-free code. Coverage analysis helps you focus on the right code to test.
In this white paper, you’ll learn:
- Why only 60% to 80% of code is typically unit-tested
- How to target the most complex code
- How to identify dead code
- When to write and execute new tests
Test where the value is greatest: the code that’s most complex.
Developers can devise effective unit testing strategies using code coverage and cyclomatic complexity analysis to address application quality earlier in the development lifecycle. Employing complexity analysis to focus unit testing, and then using code coverage to ensure unit testing provides the necessary coverage of code enables developers to identify and correct defects long before they reach end users. Further, it enables both developers and testers to determine whether or not existing unit tests and functional test cases are adequate. Many teams set code coverage standards that must be met prior to software deployment, so that there is a high level of confidence that the vast majority of code has been tested.
Fill out the form to download the white paper for free ›