Core Settings

Report & Source Pairs: This is where you define your inputs.

Add the coverage file generated by your tool (e.g., coverage.out from Go, cobertura.xml, or gcov files) and map it to the folder containing the actual source code.

Directory where the report files will be created. Required.

Output Formats

Interactive web report with source code navigation, search, and detailed metrics.

TextSummaryExample

Compact summary table printed to the console. Perfect for CI build logs.

Standard lcov.info format. Useful for uploading data to Coveralls or Codecov.

RawJsonExample

Full internal data tree exported as JSON. Use this for custom post-processing tools.

Metadata

Displayed in the header of the HTML report. Optional.

Build version or tag displayed in the report. Optional.

Patch Coverage

Limit coverage analysis to lines changed in a git diff.

Advanced

Include specific files or exclude libraries. Supports glob patterns (e.g., ** for recursive folders).
Examples: +src/**/*.go (include), -vendor/** (exclude).

Log level details.

Console output format.

Metric Thresholds

Define thresholds to color-code your report.
Below Min = DangerMin to Max = WarningAbove Max = Safe

Command Line
nanovision \
  -report="coverage.out" \
  -sourcedirs="." \
  -output="coverage-report" \
  -reporttypes="Html,TextSummary" \
  -filefilters="-vendor/**;-**/*_test.go"