Skip to content

HtmlCoverageReport

Marc R. Hoffmann edited this page Feb 27, 2017 · 3 revisions

Notebook for a new documentation chapter describing all features of JaCoCo HTML reports.

JaCoCo can render nice browseable HTML reports showing all code coverage details about your project. Please check our own coverage report for an example. This chapter provides detailed information how to use and create JaCoCo HTML reports.

Hint: There are many tools which integrate JaCoCo and provide their own reporting formats. This documentation refers to native JaCoCo reports only.

Features

  • Columns - Groups, Counter Semantics
  • Bar Lengths
  • Drill Down/Up
  • Breadcrumb
  • Sorting, Defaults
  • Type Lists vs. Source File Lists
  • Source Highlighting - Syntax Highlighting, Color Code, Instructions vs. Branches, Tooltips on Branches, Line Anchors
  • Sessions Page - Linked Classes
  • Stable Links - Sorting

Tips for Generating JaCoCo reports

  • Source Encoding
  • Tab Width
  • Zip Output
  • Groups
  • Project Name
  • Footer
  • Other source languages