rvasa / jseat

Automatically exported from code.google.com/p/jseat
0 stars 0 forks source link

CountReportVisitor to support generic ISum reporting and MethodMetricMap visiting #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Background:
We do have a CountReportVisitor that can be configured visually via 
JSeatExplorer to only display ISum values for ClassMetrics. However, the 
default behaviour is to analyse both.

This is currently restricted to ClassMetric fields. The same functionality 
could be performed on a MethodMetricMap, allowing ISUM totals to be 
generated for method metrics in a given class.

Issue:
A MethodMetricMap although it does not extend MethodMetricData is 
visitable. A simple implementation would be to override the 
visitMethodMetricMap() function.

The getRowCounts(VersionMetricData vmd, boolean iSum, boolean beta, String
[] fields) would need to be updated to check and work with both 
ClassMetric and MethodMetric types.

Original issue reported on code.google.com by jtha...@gmail.com on 17 Jul 2007 at 6:00