HTML Report (Interactive)

This report template is designed to be generated by the plugin. The plugin can either:

  1. Write a JSON file and replace the placeholder in this HTML, or
  2. Embed a JSON object into window.reportData when writing the HTML directly.

Below is an interactive client-side template. If the plugin writes this file and embeds window.reportData, the report becomes navigable.

Dead Code Detector Report

// Example usage inside plugin (pseudo-Kotlin)
val htmlTemplate = file("report-template.html").readText()
val populated = htmlTemplate.replace("/*REPORT_JSON_PLACEHOLDER*/", gson.toJson(report))
file("build/reports/dead-code-detector/report.html").writeText(populated)