Complexity Map Demos
Select any of the links below (requires Java 1.5+ with Web Start).
Available demos
- Standard TreeMap-based Demo (JHotDraw-7.0.9)
- Positioned TreeMap Demo (Amazon Architecture - conceptual)
Basic instructions
Moving the visualization around
- left-click and drag outside of the core-visualization to pan
- right-click and drag to zoom
- middle-click to 'zoom to fit'
Playing with the data (for the JHowDraw-demo)
- click the PMD-button to import PMD-findings
- select a different ViewPoint (e.g. Cyclomatic Complexity)
- change the Sensitivity Multiplier to analyse the sensitivity of this metric (notice the Sensitivity Intervals change)
- right-click org.jhotdraw.geom to drill down to package-level
- click the MetricValue-column header to sort (notice DoubleStroke.java contains the highest CC-finding - 21)
- double-click (any) DoubleStroke.java to see all findings for this file
- double-click (any) Confusing Ternary to see all classes which contain this violation
- double-click (any) org.jhotdraw.draw to see all findings for this package
- select the 'Summary Aggregated and Weighted' ViewPoint
- check the tick-boxes of the metrics to include in the summary (packages with no problems show in green)
Known issues
This demo gives an impression of the Complexity Map visualization, but is not bug-free, nor feature complete.
The following bugs are known for the demo v0.1:
- Checkstyle-import does not work in Demo-mode - requires source-code
- Prefuse log gives a console-error on initialization - log-directory is unavailable from where the application is started
Your feedback is appreciated.

