You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] If a class did not exist previously, and now Does, then the Small coverage graph is drawn as a straight line #763
Maybe a class with the same name already exists in a previous history file and was readded to the project now?
This may result in this chart (assuming coverage was 0 in the existing history file):
The chart only appears if there are several history entries with different values. If a value does not change, all equal values are merged into a single value (= one point within the chart).
If you open the detailed class report, you should be able to see the date of the initial history file in the bigger chart (see tooltip):
I executed ReportGenerator twice.
The first time without tests for the new class (no chart appears in the summary report).
The second time with full test coverage.
and were there several "Days" for the other classes ?
Yes, but that does not matter. Each chart is rendered independently from other classes.
I added a new setting settings:includeAllDatesInCharts=true in release 5.5.0.
With this setting elements in the chart are not merged, even when coverage values did not change.
With this setting most charts will have the same timeline.
Exception: Classes that get added to an existing project will have fewer history events in the beginning and therefore will have a different timeline. The charts don't get aligned.
Activity
danielpalme commentedon Oct 29, 2025
I will have a look within the next week.
danielpalme commentedon Nov 5, 2025
A new class does not show any coverage chart:

Maybe a class with the same name already exists in a previous history file and was readded to the project now?
This may result in this chart (assuming coverage was 0 in the existing history file):
The chart only appears if there are several history entries with different values. If a value does not change, all equal values are merged into a single value (= one point within the chart).
If you open the detailed class report, you should be able to see the date of the initial history file in the bigger chart (see tooltip):
Smurf-IV commentedon Nov 6, 2025
So how did you get this to appear, and were there several "Days" for the other classes ?
danielpalme commentedon Nov 7, 2025
I executed ReportGenerator twice.
The first time without tests for the new class (no chart appears in the summary report).
The second time with full test coverage.
Yes, but that does not matter. Each chart is rendered independently from other classes.
Smurf-IV commentedon Nov 8, 2025
I think that is where the confusion has come from..
I am expecting the timespan of the charts to be the same for all displayed
#763: Added new setting "includeAllDatesInCharts".
danielpalme commentedon Nov 11, 2025
I added a new setting
settings:includeAllDatesInCharts=truein release 5.5.0.With this setting elements in the chart are not merged, even when coverage values did not change.
With this setting most charts will have the same timeline.
Exception: Classes that get added to an existing project will have fewer history events in the beginning and therefore will have a different timeline. The charts don't get aligned.
chore(deps): update danielpalme/reportgenerator-github-action action …
chore(deps): update danielpalme/reportgenerator-github-action action …