Comments (6)
You are right.
I fixed that in fc1de1c.
The next release will contain the change. I plan the next release for November, once .NET8 is available.
from reportgenerator.
What about Case 2? When a single line is both covered and not covered, it should be considered partially covered (since ReportGenerator doesn't support coverage mapping by lines and columns). I don't see that in a commit, but maybe I'm wrong :)
No, you are not wrong. In your example line 31 would be considered as covered.
I will see, if I can find a good solution for that case.
It might easily become complex, if line elements are overlapping (I don't know if that can happen in practice).
from reportgenerator.
Just made the necessary changes in 8278973.
I will let you know once the next release is available.
from reportgenerator.
What about Case 2? When a single line is both covered and not covered, it should be considered partially covered (since ReportGenerator doesn't support coverage mapping by lines and columns).
I don't see that in a commit, but maybe I'm wrong :)
from reportgenerator.
What about Case 2? When a single line is both covered and not covered, it should be considered partially covered (since ReportGenerator doesn't support coverage mapping by lines and columns). I don't see that in a commit, but maybe I'm wrong :)
No, you are not wrong. In your example line 31 would be considered as covered. I will see, if I can find a good solution for that case. It might easily become complex, if line elements are overlapping (I don't know if that can happen in practice).
Thanks. With the assumption that the line elements for a particular method cannot overlap it seems doable with something like a two-dimensional array LineVisitStatus[][]
where each line is mapped to all statuses within that line.
If needed, we can test it on our fairly large report to see if anything goes wrong.
from reportgenerator.
Release 5.2.0 is now available.
from reportgenerator.
Related Issues (20)
- Report Generation takes too many resources HOT 9
- Report Generator fails on Linux build agent version 22.04 HOT 10
- Error during reading file when generate code coverage report HOT 4
- Increase percentage accuracy in reports HOT 2
- 10 day trial period HOT 3
- Reportgenerator generated html and xml file is mismatched with its input Cobertura xml file HOT 4
- To combine multi coverage report HOT 1
- Issue with running the report generator in docker with image "mcr.microsoft.com/dotnet/sdk:7.0" HOT 2
- LCov: branch hit count can overflow Int32. HOT 1
- Files with 0% coverage are omitted from the coverage report HOT 8
- Report generator is looking for dotnet even the artifact is Python code HOT 1
- Cobertura report generation emits NaN as complexity for async functions HOT 2
- Visual Studio .coveragexml: ReportGenerator ignores compiler-generated classes HOT 11
- SixLabors.ImageSharp.Drawing has potential vulnerability HOT 6
- Risk Hotspots thresholds - what are the default values - and how change them HOT 1
- Cobertura output async "class" merging can create duplicate method entries HOT 12
- 10 days trial HOT 1
- coverlet-coverage give much higher Cyclomatic Complexity score for given Method then Visual Studio 2022 Code Metrics Results HOT 3
- The generated (GeneratedRegex) codes are count as uncovered branches in v5.2.0 HOT 4
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 reportgenerator.