Comments (4)
Please add at least one example (java source + compiled class file) so that we can investigate the problem.
from jacoco.
There can be many reasons. Somehow the class file does not match the source file. To investigate please provide the file ReportUtils.java
and the corresponding class files.
from jacoco.
@marchof This issue occurred in multiple files, not only in ReportUtils.java file.
from jacoco.
Closing due to the absence of the requested information, feel free to reopen when you'll be able to provide it.
from jacoco.
Related Issues (20)
- Filter for empty constructors that do not have arguments should be expanded
- It is laways good to show the in he horrizontal bar, gree <covered code lines %> first then red <how much still to be covered> HOT 2
- Error generating coverage report for working Kotlin 1.9.22 code using jacoco 0.8.9 (cannot reproduce in 0.8.11) HOT 6
- Excluding method patterns
- Should ignore `kotlin.KotlinNothingValueException` throwing code, that is generated code (by Kotlin compiler)
- report-aggregate for multi-module site does not produce correct reports HOT 3
- JaCoCo fails to build from sources for Fedora 40. HOT 1
- Indicate in Code which methods/classes are excluded from code coverage instead of reducing the required coverage ratio
- Update to ASM 9.7 HOT 12
- Error while instrumenting with JaCoCo 0.8.11.202310140853/f33756c. HOT 1
- Replace GIF assets with SVG assets for HTML report HOT 5
- Jacoco is not showing coverage for few classes which are actually getting covered
- Test code coverage fails with ZipException HOT 1
- Updating kotlin to 2.0.0 results in Jacoco decreasing coverage, because third-party inline function is interpreted as source file
- Support file as parameters in jacococli HOT 3
- Filtering out methods and classes based on attributes much like .NET does it. @ExcludeFromCodeCoverage public void someMethodThatShouldNotHaveCoverage() { ... } ✅ Classes and methods with annotation whose retention policy is runtime or class and whose simple name contains "Generated" are filtered out during generation of report - implemented in 0.8.2 Remark: A Generated annotation should only be used for code actually generated by compilers or tools, never for manual exclusion.
- i want to close Annotation-Based Filtering ,what should I do?
- Is there any way to exclude the POJO classes from the jacoco coverage HOT 1
- Excluding Generated annotation does not work if function has other annotations HOT 2
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 jacoco.