out.printf(" Analyzed classes: %5d%n", total);
out.printf(" Excellent classes (.): %5d %5.1f%%%n", excellentCount, 100f * excellentCount / total);
out.printf(" Good classes (=): %5d %5.1f%%%n", goodCount, 100f * goodCount / total);
out.printf("Needs work classes (@): %5d %5.1f%%%n", needsWorkCount, 100f * needsWorkCount / total);
PieGraph graph = new PieGraph(50, new CharMarker('.', '=', '@'));
String chart = graph.render(excellentCount, goodCount, needsWorkCount);
out.printf(" Breakdown: [%s]%n", chart);
}
public void printDistribution(int rows, int width) {
TextHistogram histogram = new TextHistogram(width, rows, new Marker() {