I am trying to understand the concept of code coverage and a complete novice to this topic. I am using Eclemma to measure the code coverage of an open-source code. Can somebody help me to know what are important insights I should consider into the below snapshot?
1
There are 1 best solutions below
Related Questions in CODE-COVERAGE
- oss-fuzz does not cover the code after if - else in C code
- How to correctly generate an HTML report of coverage with grcov
- Getting a total line, branch, statement and function count per file in a TypeScript project
- xcbuild didn't run tests even though it can be run from XCode
- pytest command used in gitlab CICD pipeline does not automatically pick test_* script and throws error "CoverageWarning: No data was collected."
- How to check branch coverage in Bullseye Coverage?
- Dotnet solution: Code coverage cannot exclude modules/assemblies
- codecov doesn't find any reports
- VSTest branch coverage missing on fixed statement
- Pytest-cov: How can I increase coverage?
- system-verilog - cross cover between generate-loop instances
- Sonar showing condition always false error though it is not
- Multiple instances of covergroup based on parameter
- Code Coverage not working in CLion for linux
- For each java class, output the contributing tests (which cover that class) to a JSON report
Related Questions in ECLEMMA
- How to include custom ClassLoader coverage in EclEmma reports?
- Method not covered during JUnit code coverage (Eclemma code coverage testing); It says "All 2 branches missed"
- understanding Eclemma results
- Using JaCoCo API programmatically
- Getting a "no coverage data has been collected" message using EclEmma and Eclipse
- can't use Eclemma coverage tool with eclipse
- Can EclEmma for Eclipse show code coverage by test?
- Start in coverage mode for Visual Studio
- How to properly run Eclemma coverage with Java
- Error while loading coverage session (code 5001) in eclemma plugin
- Code Coverage resulting in following issue
- How to resolve 'Launching ServiceTest has encountered a problem' in EclEmma plugin in Eclipse IDE
- Eclipse PowerMock coverage with ECLEmma
- is there any way to exclude classes to attain coverage %?
- Why EclEmma don't allow to ignore a class from the total percentage of the coverage?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Code coverage is a metric, which expresses which portion of the (application) code gets executed when you run your test cases. However, it is just a measure of completeness; it provides no information about how thoroughly the executed code was tested by the test cases.
In your screenshot, the third line of the table (
src/main/java) is a relevant one. It expresses that the application code consists of 3,846 (bytecode) instructions; out of these, roughly 67% were executed (presumably by the automated test cases residing insrc/test/java). This means that the test cases cannot reveal any fault in one third of the whole application because the test cases do not touch that code at all. The remaining code (other two thirds) is executed by at least one test case. Test cases can reveal faults in this code; how effectively they do depends on their used input data and oracles.Note that it is often not possible or sensible to achieve 100% coverage.