Coder Social home page Coder Social logo

Comments (5)

danielpalme avatar danielpalme commented on August 20, 2024 1

@jatouma:
The setting only applies to the number of files that get parsed.
When generating the HTML report always a maximum of 100 points in the chart gets rendered.

Why does this make sense?! There are two reasons:

  • A chart with (many) more points in not readable any more, that's why a fixed limit exists here
  • Parsing more files can make sense if you perform many build with little changes. The charts only contain points when there was a change in:
    • number of covered/total lines
    • number of covered/total branches

from reportgenerator.

danielpalme avatar danielpalme commented on August 20, 2024

Thanks for your suggestion. Definitely a good idea.

I try to avoid too many command line parameters.
Perhaps a fixed maximum of historic files is a better idea.

Can you please tell me how many historical coverage files you have in your system and how long does it take to parse them all?

from reportgenerator.

adriangodong avatar adriangodong commented on August 20, 2024

I've trimmed down the files to 100 and it took 24 seconds to parse. Relevant sample log:
22:24:50 Current Assembly: Common
22:24:52 Reading historic reports
22:25:17 Initializing report builders for report types: Html, PNGChart

Maximum 50 files sounds like a reasonable balance between history and load time.

from reportgenerator.

danielpalme avatar danielpalme commented on August 20, 2024

It now limited to 100 files by default. If you want to adjust the limit, you can do this in ReportGenerator.exe.config.

from reportgenerator.

jatouma avatar jatouma commented on August 20, 2024

I have not been able to increase the 100 files limit. I have tried changing the value in the config file to 300, but my history report still shows 100 only. Does ReportGenerator not support increasing that maximum value? From skimming through the code, seems like this should work.

from reportgenerator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.