VariMetrics

Companion webpage of the VariMetrics toolchain.


Evolution of JFreeChart’s metrics before and after the maintenance actions

Before maintenance actions

  • Entry point classes:
    • org.jfree.chart.JFreeChart
    • org.jfree.chart.plot.Plot
  • Usage orientation: OUT
  • Usage level: 4
  • Displayed metrics
    • code coverage (red-green) (range: 0% → 100%)
    • # duplicated blocks (cracks) (range: 0 → 50)

jfreechart_coverage-duplication jfreechart_before_1.png jfreechart_before_2.png

  • Displayed metrics
    • cognitive complexity (red-green) (range: 0 → 150)
    • # duplicated blocks (cracks) (range: 0 → 50)

jfreechart_complexity-duplication jfreechart_before_1_complexity.png jfreechart_before_2_complexity.png

After maintenance actions

  • Entry point classes:
    • org.jfree.chart.JFreeChart
    • org.jfree.chart.plot.Plot
  • Usage orientation: OUT
  • Usage level: 4
  • Displayed metrics
    • code coverage (red-green) (range: 0% → 100%)
    • # duplicated blocks (cracks) (range: 0 → 50)

jfreechart-refactored_coverage-duplication jfreechart_after_1_2.png jfreechart_after_2.png

  • Displayed metrics
    • cognitive complexity (red-green) (range: 0 → 150)
    • # duplicated blocks (cracks) (range: 0 → 50)

jfreechart-refactored_complexity-duplication jfreechart_after_1_2_complexity.png jfreechart_after_2_complexity.png