Comments (1)
Hi! In my opinion this is a valid result. Please notice that you have several "case" conditions in a single source line (lines 1075-1077). Every case is a separate branch in a business logic (even if all of them are fall-throughs to the "break"). Therefore OpenClover tracks every case individually. Each case have different number of executions because of different inputs. In your case it's probably:
case 4 executed 18 times,
case 3 executed 20 times,
case 2 executed 22 times,
case 1 executed 40 times,
case 0 executed 46 times.
from clover.
Related Issues (20)
- JavaSyntax7CompilationTest fails in a non-English environment HOT 4
- Migrate tests from jMock to Mockito and fix Java 17 test compatiblity in clover-maven-plugin
- Support Java 21 HOT 1
- HTML report generation fails for Spock-based tests with 'File name too long' IOException
- Assertion statements with static conditions do not have coverage HOT 4
- Drop support for Java 1.7 HOT 1
- Update minimum Maven version to 3.3.1
- Instrumentation of the instanceof pattern matching with the 'final' keyword fails HOT 9
- Add "includes" and "excludes Ant patterns in CloverInstr task
- Refactor and generify registry classes
- Eclipse : 'Installing Software' has encountered a problem
- Instrumentation fails on switch cases with multiple entries HOT 5
- Instrumentation of case expressions referencing non-final variables produces invalid Java code HOT 2
- Incorrect instrumentation of class constructors in test classes
- Instrumentation of generic records fails HOT 2
- Istrumentation of generic instanceof pattern matching produces invalid Java code HOT 1
- The instanceof pattern matching is not working for 4.5.2 HOT 1
- Remove Gson library
- Rename 4.6.0 to 5.0.0
- Clover 4.5.2 compiler seems to have trouble with records with generics HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clover.