Closed IsaacMilarky closed 4 months ago
Ran
./update.sh
and all LGTM! Is it possible to decrease the width of the donut so that the legend text is not cut off?
That should be possible I will look into it
@natalialuzuriaga Here is what the graph looks like now:
Add Donut Graphs for Repository Line Makeup
Problem
There was no line composition graph to match the line composition metrics that were recently added.
There was also a minor bug in the issue gathering logic.
Solution
Add another graph generation method to create a PyGals Pie chart with an inner radius. The values of the line composition are calculated from the previously gathered metrics.
Result
Alter the class definitions for
RangeMetric
andListMetric
to fix a niche bug where tuples were combined in the larger list generated as is the behavior forRangeMetric
.Add the aforementioned Pie graph with the proper radius set. The three pie sections are: comments, blank lines, and other. Here is an example of the donut graph:![total_line_makeup_metrics_data](https://github.com/DSACMS/metrics/assets/24639268/b7aeb8dc-7051-4f02-a4e4-abee784fa569)