Unfortunately, 100% code coverage will not eliminate errors
The article tackles a vital topic related to software testing, with a specific focus on code coverage. Code coverage is a measure of how much of the source code is tested by unit tests. It discusses various types of coverage, including line coverage, branch coverage, and function coverage. The author emphasizes the importance of tests in ensuring high software quality while noting that high code coverage does not always correlate with a bug-free final product. Additionally, the article introduces tools and techniques that can aid developers in achieving better code coverage, such as SonarQube and Jacoco. Examples of using these tools are enriched with practical tips that can be beneficial for both novice and experienced programmers.