-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language stats inconsistent between File Info Dashboard and filtered Table View #386
Comments
Will look into this. |
@mjherzog The culprit in this case is the This variable controls the number of pie chart slices that show up in the chart itself, and the percentages are calculated w.r.t. the number of items visible on the pie chart during draw time. This is why we are seeing a discrepancy with the ScanData View. Increasing the number to something larger or an infinite amount (necessary to get proper percentage values) unfortunately causes the chart to be illegible when there are many values being displayed. We may need a need way of displaying these stats, since they are critical to a lot of our work. One solution could be the addition of a table below the pie charts that displays the proper data, with totals and percentages calculated correctly. That is just one option. If we don't want to directly display this information, we could have a reporting feature of sorts that spits out csv file with that data. @mjherzog Feedback appreciated. |
A display table below with the number of files per Language would be a good next step - we could cut limit the display as (1) single number threshold - e.g. only show in table if 50 files or (2) percentage threshold - e.g. only show Languages where number of files is 5% or so of total files. Either would give us most of the data we need for audit planning and we can always check the base Table View for the odds & ends. |
@mjherzog Sounds good to me 👍 |
The cleanest solution would be to provide a table below each pie-chart with the number for each element that appears in the pie-chart. |
adding this to 3.2.0 in the hope that we can do something pretty quickly - the core point is to show the numbers in tandem with the existing % based charts. We have "room" on each of the current Dashboard pages for a table or chart below each of the existing charts. |
@mjherzog This is a common use case and I am all for including it in v3.2.0 |
we have % and actual count available in chart tooltip as discussed in #581 |
I am trying to assemble Development Codebase Statistics by Programming Language. The results from the Programming Languages pie-chart on the File Info Dashboard do not match the results from Table View. The best example is for C++.
There are similar discrepancies with the No Value Detected data.
System configuration
For bug reports, it really helps us to know:
The text was updated successfully, but these errors were encountered: