-
Notifications
You must be signed in to change notification settings - Fork 203
Description
Is your feature request related to a problem? Please describe.
In our codebase, we have a lot of very big files containing static values and configurations with no logic. A lot of strings are included in these files, so by default they are picked up by stryker.
When excluding the files, the mutation tests take shorter, but the source code is still present in the output, creating very big html reports with little value.
For reference, we are talking about 4k line files, and reports upwards of 500MB. This not only restricts the ability to view the report locally, but is also related to big-file issues in ADO reporting (stryker-mutator/azure-devops-mutationreport-publisher#777) in our case.
After applying this fix locally, we went from 500MB to 30MB report size.
Describe the solution you'd like
When excluding files from scans, there is little reason for them to be present in output html reports. Let's remove them from the reports, or at least make them optionally visible.
Alternatively, let's skip adding the source code when the file is excluded, and add instead a simple string like "File excluded from Stryker execution", to still show the full file structure.
Describe alternatives you've considered
I tried minifying the html but the size was still too big.