hudson.plugins.testabilityexplorer.report.charts
Class RangedClassesTrend
java.lang.Object
hudson.plugins.testabilityexplorer.report.charts.RangedTrend
hudson.plugins.testabilityexplorer.report.charts.RangedClassesTrend
public class RangedClassesTrend
- extends RangedTrend
Helper class that is able to construct a JFree CategoryDataset which may be used to draw a line chart showing class testability
distribution. The testability distribution is classes that need work, are good or even excellent.
A RangedClassesTrend can also calculate the corrent upper bound Integer value which may be used to limit the range
axis in size.
- Author:
- reik.schatz
|
Method Summary |
org.jfree.data.category.CategoryDataset |
getCategoryDataset()
Builds and returns a CategoryDataset represents the classes testability distribution trend. |
int |
getUpperBoundRangeAxis()
Returns an Integer which may be used in a JFree line chart to call ValueAxis.setUpperBound(double)
with a correct value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXCELLENT_COST_TEMPLATE
public static final CostTemplate EXCELLENT_COST_TEMPLATE
GOOD_COST_TEMPLATE
public static final CostTemplate GOOD_COST_TEMPLATE
POOR_COST_TEMPLATE
public static final CostTemplate POOR_COST_TEMPLATE
RangedClassesTrend
public RangedClassesTrend(java.util.List<BuildAndResults> items)
getUpperBoundRangeAxis
public int getUpperBoundRangeAxis()
- Returns an Integer which may be used in a JFree line chart to call
ValueAxis.setUpperBound(double)
with a correct value.
- Specified by:
getUpperBoundRangeAxis in class RangedTrend
- Returns:
- int
getCategoryDataset
public org.jfree.data.category.CategoryDataset getCategoryDataset()
- Builds and returns a
CategoryDataset represents the classes testability distribution trend. This
CategoryDataset can be used to draw a JFree line chart.
- Specified by:
getCategoryDataset in class RangedTrend
- Returns:
- CategoryDataset
Copyright © 2009. All Rights Reserved.