@repometry/cli 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +70 -2
  3. package/package.json +75 -4
  4. package/target/main/resources/language-catalog.json +77 -0
  5. package/target/main/resources/report/json/compact-json-v1.schema.json +24 -0
  6. package/target/main/resources/report/json/comparison-v1.schema.json +65 -0
  7. package/target/main/resources/report/json/config-v2.schema.json +224 -0
  8. package/target/main/resources/report/json/diff-coverage-v1.schema.json +55 -0
  9. package/target/main/resources/report/json/file-metrics-v1.schema.json +157 -0
  10. package/target/main/resources/report/json/metabranch-v1.schema.json +9 -0
  11. package/target/main/resources/report/json/metric-catalog-v1.schema.json +31 -0
  12. package/target/main/resources/report/json/pull-review-v1.schema.json +97 -0
  13. package/target/main/resources/report/json/pull-review-v2.schema.json +100 -0
  14. package/target/main/resources/report/json/report-v2.schema.json +534 -0
  15. package/target/main/resources/report/json/repository-summary-v1.schema.json +341 -0
  16. package/target/main/resources/report/json/viewer-inspection-v1.schema.json +534 -0
  17. package/target/main/resources/viewer/files.css +616 -0
  18. package/target/main/resources/viewer/index.html +120 -0
  19. package/target/main/resources/viewer/projects.html +52 -0
  20. package/target/main/resources/viewer/styles.css +579 -0
  21. package/target/main/resources/viewer/viewer-pulls.css +64 -0
  22. package/target/main/ts/api/cache/root.d.ts +2 -0
  23. package/target/main/ts/api/cache/root.js +21 -0
  24. package/target/main/ts/api/gh/github.d.ts +4 -0
  25. package/target/main/ts/api/gh/github.js +47 -0
  26. package/target/main/ts/api/git/blob-batch.d.ts +10 -0
  27. package/target/main/ts/api/git/blob-batch.js +107 -0
  28. package/target/main/ts/api/git/blob-history.d.ts +20 -0
  29. package/target/main/ts/api/git/blob-history.js +54 -0
  30. package/target/main/ts/api/git/changes.d.ts +27 -0
  31. package/target/main/ts/api/git/changes.js +117 -0
  32. package/target/main/ts/api/git/commit-metadata.d.ts +2 -0
  33. package/target/main/ts/api/git/commit-metadata.js +46 -0
  34. package/target/main/ts/api/git/git-churn.d.ts +9 -0
  35. package/target/main/ts/api/git/git-churn.js +72 -0
  36. package/target/main/ts/api/git/git-executable.d.ts +1 -0
  37. package/target/main/ts/api/git/git-executable.js +31 -0
  38. package/target/main/ts/api/git/git-reader.d.ts +24 -0
  39. package/target/main/ts/api/git/git-reader.js +113 -0
  40. package/target/main/ts/api/git/git.d.ts +47 -0
  41. package/target/main/ts/api/git/git.js +289 -0
  42. package/target/main/ts/api/git/inspection-source.d.ts +17 -0
  43. package/target/main/ts/api/git/inspection-source.js +36 -0
  44. package/target/main/ts/api/git/line-changes.d.ts +6 -0
  45. package/target/main/ts/api/git/line-changes.js +57 -0
  46. package/target/main/ts/api/git/local-sources.d.ts +5 -0
  47. package/target/main/ts/api/git/local-sources.js +48 -0
  48. package/target/main/ts/api/git/local.d.ts +7 -0
  49. package/target/main/ts/api/git/local.js +106 -0
  50. package/target/main/ts/api/git/source-cache.d.ts +1 -0
  51. package/target/main/ts/api/git/source-cache.js +42 -0
  52. package/target/main/ts/api/import/cobertura.d.ts +2 -0
  53. package/target/main/ts/api/import/cobertura.js +160 -0
  54. package/target/main/ts/api/import/coverage-xml.d.ts +7 -0
  55. package/target/main/ts/api/import/coverage-xml.js +135 -0
  56. package/target/main/ts/api/import/finding-import.d.ts +9 -0
  57. package/target/main/ts/api/import/finding-import.js +227 -0
  58. package/target/main/ts/api/import/go-cover.d.ts +13 -0
  59. package/target/main/ts/api/import/go-cover.js +150 -0
  60. package/target/main/ts/api/import/lcov-files.d.ts +12 -0
  61. package/target/main/ts/api/import/lcov-files.js +53 -0
  62. package/target/main/ts/api/import/profile-file.d.ts +4 -0
  63. package/target/main/ts/api/import/profile-file.js +17 -0
  64. package/target/main/ts/api/process/docker-tool-runner.d.ts +13 -0
  65. package/target/main/ts/api/process/docker-tool-runner.js +92 -0
  66. package/target/main/ts/api/process/failure.d.ts +1 -0
  67. package/target/main/ts/api/process/failure.js +12 -0
  68. package/target/main/ts/api/process/plugin.d.ts +13 -0
  69. package/target/main/ts/api/process/plugin.js +100 -0
  70. package/target/main/ts/api/process/tool-snapshot.d.ts +3 -0
  71. package/target/main/ts/api/process/tool-snapshot.js +26 -0
  72. package/target/main/ts/cli/arguments.d.ts +28 -0
  73. package/target/main/ts/cli/arguments.js +109 -0
  74. package/target/main/ts/cli/config.d.ts +63 -0
  75. package/target/main/ts/cli/config.js +165 -0
  76. package/target/main/ts/cli/imports.d.ts +9 -0
  77. package/target/main/ts/cli/imports.js +37 -0
  78. package/target/main/ts/cli/main.d.ts +2 -0
  79. package/target/main/ts/cli/main.js +4 -0
  80. package/target/main/ts/cli/range-inspection.d.ts +38 -0
  81. package/target/main/ts/cli/range-inspection.js +34 -0
  82. package/target/main/ts/cli/range-jobs.d.ts +23 -0
  83. package/target/main/ts/cli/range-jobs.js +152 -0
  84. package/target/main/ts/cli/range-worker.d.ts +1 -0
  85. package/target/main/ts/cli/range-worker.js +40 -0
  86. package/target/main/ts/cli/reporting.d.ts +42 -0
  87. package/target/main/ts/cli/reporting.js +98 -0
  88. package/target/main/ts/cli/revisions.d.ts +6 -0
  89. package/target/main/ts/cli/revisions.js +16 -0
  90. package/target/main/ts/cli/run.d.ts +2 -0
  91. package/target/main/ts/cli/run.js +306 -0
  92. package/target/main/ts/cli/store.d.ts +13 -0
  93. package/target/main/ts/cli/store.js +39 -0
  94. package/target/main/ts/compose/analysis-report.d.ts +6 -0
  95. package/target/main/ts/compose/analysis-report.js +132 -0
  96. package/target/main/ts/compose/analysis-results.d.ts +46 -0
  97. package/target/main/ts/compose/analysis-results.js +119 -0
  98. package/target/main/ts/compose/analysis-steps.d.ts +23 -0
  99. package/target/main/ts/compose/analysis-steps.js +217 -0
  100. package/target/main/ts/compose/analyze-snapshot.d.ts +7 -0
  101. package/target/main/ts/compose/analyze-snapshot.js +21 -0
  102. package/target/main/ts/compose/attach-churn.d.ts +2 -0
  103. package/target/main/ts/compose/attach-churn.js +50 -0
  104. package/target/main/ts/compose/built-ins.d.ts +6 -0
  105. package/target/main/ts/compose/built-ins.js +12 -0
  106. package/target/main/ts/compose/diff-coverage.d.ts +25 -0
  107. package/target/main/ts/compose/diff-coverage.js +82 -0
  108. package/target/main/ts/compose/distribution.d.ts +17 -0
  109. package/target/main/ts/compose/distribution.js +13 -0
  110. package/target/main/ts/compose/docker-image.d.ts +5 -0
  111. package/target/main/ts/compose/docker-image.js +49 -0
  112. package/target/main/ts/compose/file-selection.d.ts +9 -0
  113. package/target/main/ts/compose/file-selection.js +38 -0
  114. package/target/main/ts/compose/history-cache.d.ts +31 -0
  115. package/target/main/ts/compose/history-cache.js +62 -0
  116. package/target/main/ts/compose/inspect.d.ts +34 -0
  117. package/target/main/ts/compose/inspect.js +51 -0
  118. package/target/main/ts/compose/inspection-coverage.d.ts +9 -0
  119. package/target/main/ts/compose/inspection-coverage.js +9 -0
  120. package/target/main/ts/compose/js-plugin.d.ts +113 -0
  121. package/target/main/ts/compose/js-plugin.js +99 -0
  122. package/target/main/ts/compose/language-discovery.d.ts +12 -0
  123. package/target/main/ts/compose/language-discovery.js +51 -0
  124. package/target/main/ts/compose/languages.d.ts +64 -0
  125. package/target/main/ts/compose/languages.js +98 -0
  126. package/target/main/ts/compose/load-plugins.d.ts +6 -0
  127. package/target/main/ts/compose/load-plugins.js +71 -0
  128. package/target/main/ts/compose/parser-order.d.ts +20 -0
  129. package/target/main/ts/compose/parser-order.js +90 -0
  130. package/target/main/ts/compose/phases.d.ts +140 -0
  131. package/target/main/ts/compose/phases.js +147 -0
  132. package/target/main/ts/compose/plugin-list.d.ts +37 -0
  133. package/target/main/ts/compose/plugin-list.js +30 -0
  134. package/target/main/ts/compose/plugin-manifest.d.ts +14 -0
  135. package/target/main/ts/compose/plugin-manifest.js +50 -0
  136. package/target/main/ts/compose/plugin-options.d.ts +2 -0
  137. package/target/main/ts/compose/plugin-options.js +29 -0
  138. package/target/main/ts/compose/plugin-reference.d.ts +9 -0
  139. package/target/main/ts/compose/plugin-reference.js +40 -0
  140. package/target/main/ts/compose/plugin-requirements.d.ts +5 -0
  141. package/target/main/ts/compose/plugin-requirements.js +83 -0
  142. package/target/main/ts/compose/plugin-scope.d.ts +9 -0
  143. package/target/main/ts/compose/plugin-scope.js +60 -0
  144. package/target/main/ts/compose/process-plugins.d.ts +89 -0
  145. package/target/main/ts/compose/process-plugins.js +74 -0
  146. package/target/main/ts/compose/registered-plugin.d.ts +17 -0
  147. package/target/main/ts/compose/registered-plugin.js +8 -0
  148. package/target/main/ts/compose/review.d.ts +26 -0
  149. package/target/main/ts/compose/review.js +54 -0
  150. package/target/main/ts/compose/schema-error.d.ts +2 -0
  151. package/target/main/ts/compose/schema-error.js +16 -0
  152. package/target/main/ts/compose/sources.d.ts +2 -0
  153. package/target/main/ts/compose/sources.js +32 -0
  154. package/target/main/ts/compose/structure-measures.d.ts +9 -0
  155. package/target/main/ts/compose/structure-measures.js +63 -0
  156. package/target/main/ts/index.d.ts +8 -0
  157. package/target/main/ts/index.js +5 -0
  158. package/target/main/ts/plugin.d.ts +2 -0
  159. package/target/main/ts/plugin.js +2 -0
  160. package/target/main/ts/plugins/built-in.d.ts +3 -0
  161. package/target/main/ts/plugins/built-in.js +19 -0
  162. package/target/main/ts/plugins/coverage/coverage.d.ts +11 -0
  163. package/target/main/ts/plugins/coverage/coverage.js +289 -0
  164. package/target/main/ts/plugins/coverage/diff-coverage.d.ts +3 -0
  165. package/target/main/ts/plugins/coverage/diff-coverage.js +85 -0
  166. package/target/main/ts/plugins/duplication/duplication.d.ts +2 -0
  167. package/target/main/ts/plugins/duplication/duplication.js +95 -0
  168. package/target/main/ts/plugins/language-js/babel-provider.d.ts +10 -0
  169. package/target/main/ts/plugins/language-js/babel-provider.js +54 -0
  170. package/target/main/ts/plugins/language-js/clone-candidates.d.ts +3 -0
  171. package/target/main/ts/plugins/language-js/clone-candidates.js +65 -0
  172. package/target/main/ts/plugins/language-js/code-lines.d.ts +6 -0
  173. package/target/main/ts/plugins/language-js/code-lines.js +36 -0
  174. package/target/main/ts/plugins/language-js/extensions.d.ts +1 -0
  175. package/target/main/ts/plugins/language-js/extensions.js +3 -0
  176. package/target/main/ts/plugins/language-js/function-facts.d.ts +9 -0
  177. package/target/main/ts/plugins/language-js/function-facts.js +74 -0
  178. package/target/main/ts/plugins/language-js/js-security.d.ts +4 -0
  179. package/target/main/ts/plugins/language-js/js-security.js +497 -0
  180. package/target/main/ts/plugins/language-js/qualified-names.d.ts +11 -0
  181. package/target/main/ts/plugins/language-js/qualified-names.js +63 -0
  182. package/target/main/ts/plugins/language-js/structural-observations.d.ts +9 -0
  183. package/target/main/ts/plugins/language-js/structural-observations.js +85 -0
  184. package/target/main/ts/plugins/language-js/syntax.d.ts +2 -0
  185. package/target/main/ts/plugins/language-js/syntax.js +11 -0
  186. package/target/main/ts/plugins/maintainability/maintainability.d.ts +2 -0
  187. package/target/main/ts/plugins/maintainability/maintainability.js +38 -0
  188. package/target/main/ts/plugins/maintainability/structural-smells.d.ts +3 -0
  189. package/target/main/ts/plugins/maintainability/structural-smells.js +17 -0
  190. package/target/main/ts/plugins/security/actions-security.d.ts +2 -0
  191. package/target/main/ts/plugins/security/actions-security.js +581 -0
  192. package/target/main/ts/plugins/security/dockerfile.d.ts +2 -0
  193. package/target/main/ts/plugins/security/dockerfile.js +487 -0
  194. package/target/main/ts/plugins/security/npm-supply-chain.d.ts +4 -0
  195. package/target/main/ts/plugins/security/npm-supply-chain.js +368 -0
  196. package/target/main/ts/plugins/security/secrets.d.ts +12 -0
  197. package/target/main/ts/plugins/security/secrets.js +254 -0
  198. package/target/main/ts/plugins/source/forges.d.ts +4 -0
  199. package/target/main/ts/plugins/source/forges.js +80 -0
  200. package/target/main/ts/plugins/structure/structure.d.ts +2 -0
  201. package/target/main/ts/plugins/structure/structure.js +42 -0
  202. package/target/main/ts/report/html/app/viewer-chart-bars.d.ts +13 -0
  203. package/target/main/ts/report/html/app/viewer-chart-bars.js +59 -0
  204. package/target/main/ts/report/html/app/viewer-chart-label.d.ts +15 -0
  205. package/target/main/ts/report/html/app/viewer-chart-label.js +43 -0
  206. package/target/main/ts/report/html/app/viewer-chart-line.d.ts +33 -0
  207. package/target/main/ts/report/html/app/viewer-chart-line.js +88 -0
  208. package/target/main/ts/report/html/app/viewer-chart-points.d.ts +52 -0
  209. package/target/main/ts/report/html/app/viewer-chart-points.js +65 -0
  210. package/target/main/ts/report/html/app/viewer-chart-scale.d.ts +21 -0
  211. package/target/main/ts/report/html/app/viewer-chart-scale.js +93 -0
  212. package/target/main/ts/report/html/app/viewer-chart-svg.d.ts +28 -0
  213. package/target/main/ts/report/html/app/viewer-chart-svg.js +41 -0
  214. package/target/main/ts/report/html/app/viewer-chart-time.d.ts +26 -0
  215. package/target/main/ts/report/html/app/viewer-chart-time.js +150 -0
  216. package/target/main/ts/report/html/app/viewer-chart-tip.d.ts +4 -0
  217. package/target/main/ts/report/html/app/viewer-chart-tip.js +210 -0
  218. package/target/main/ts/report/html/app/viewer-chart-x.d.ts +12 -0
  219. package/target/main/ts/report/html/app/viewer-chart-x.js +50 -0
  220. package/target/main/ts/report/html/app/viewer-chart.d.ts +7 -0
  221. package/target/main/ts/report/html/app/viewer-chart.js +50 -0
  222. package/target/main/ts/report/html/app/viewer-code-map.d.ts +27 -0
  223. package/target/main/ts/report/html/app/viewer-code-map.js +176 -0
  224. package/target/main/ts/report/html/app/viewer-columns.d.ts +40 -0
  225. package/target/main/ts/report/html/app/viewer-columns.js +97 -0
  226. package/target/main/ts/report/html/app/viewer-commit-picker.d.ts +12 -0
  227. package/target/main/ts/report/html/app/viewer-commit-picker.js +229 -0
  228. package/target/main/ts/report/html/app/viewer-commits.d.ts +32 -0
  229. package/target/main/ts/report/html/app/viewer-commits.js +81 -0
  230. package/target/main/ts/report/html/app/viewer-controls.d.ts +43 -0
  231. package/target/main/ts/report/html/app/viewer-controls.js +141 -0
  232. package/target/main/ts/report/html/app/viewer-copy.d.ts +17 -0
  233. package/target/main/ts/report/html/app/viewer-copy.js +64 -0
  234. package/target/main/ts/report/html/app/viewer-data.d.ts +24 -0
  235. package/target/main/ts/report/html/app/viewer-data.js +78 -0
  236. package/target/main/ts/report/html/app/viewer-diagnostics.d.ts +4 -0
  237. package/target/main/ts/report/html/app/viewer-diagnostics.js +60 -0
  238. package/target/main/ts/report/html/app/viewer-dom.d.ts +27 -0
  239. package/target/main/ts/report/html/app/viewer-dom.js +99 -0
  240. package/target/main/ts/report/html/app/viewer-file-aside.d.ts +15 -0
  241. package/target/main/ts/report/html/app/viewer-file-aside.js +134 -0
  242. package/target/main/ts/report/html/app/viewer-file-figures.d.ts +17 -0
  243. package/target/main/ts/report/html/app/viewer-file-figures.js +65 -0
  244. package/target/main/ts/report/html/app/viewer-file-source.d.ts +7 -0
  245. package/target/main/ts/report/html/app/viewer-file-source.js +119 -0
  246. package/target/main/ts/report/html/app/viewer-files.d.ts +11 -0
  247. package/target/main/ts/report/html/app/viewer-files.js +40 -0
  248. package/target/main/ts/report/html/app/viewer-filter.d.ts +65 -0
  249. package/target/main/ts/report/html/app/viewer-filter.js +161 -0
  250. package/target/main/ts/report/html/app/viewer-hotspots.d.ts +4 -0
  251. package/target/main/ts/report/html/app/viewer-hotspots.js +133 -0
  252. package/target/main/ts/report/html/app/viewer-inspection.d.ts +69 -0
  253. package/target/main/ts/report/html/app/viewer-inspection.js +38 -0
  254. package/target/main/ts/report/html/app/viewer-issue-group.d.ts +27 -0
  255. package/target/main/ts/report/html/app/viewer-issue-group.js +174 -0
  256. package/target/main/ts/report/html/app/viewer-issues.d.ts +4 -0
  257. package/target/main/ts/report/html/app/viewer-issues.js +173 -0
  258. package/target/main/ts/report/html/app/viewer-language-bar.d.ts +11 -0
  259. package/target/main/ts/report/html/app/viewer-language-bar.js +76 -0
  260. package/target/main/ts/report/html/app/viewer-languages.d.ts +35 -0
  261. package/target/main/ts/report/html/app/viewer-languages.js +97 -0
  262. package/target/main/ts/report/html/app/viewer-layout.d.ts +14 -0
  263. package/target/main/ts/report/html/app/viewer-layout.js +134 -0
  264. package/target/main/ts/report/html/app/viewer-line-coverage.d.ts +47 -0
  265. package/target/main/ts/report/html/app/viewer-line-coverage.js +108 -0
  266. package/target/main/ts/report/html/app/viewer-locations.d.ts +16 -0
  267. package/target/main/ts/report/html/app/viewer-locations.js +31 -0
  268. package/target/main/ts/report/html/app/viewer-map-scale.d.ts +26 -0
  269. package/target/main/ts/report/html/app/viewer-map-scale.js +147 -0
  270. package/target/main/ts/report/html/app/viewer-map-shape.d.ts +42 -0
  271. package/target/main/ts/report/html/app/viewer-map-shape.js +102 -0
  272. package/target/main/ts/report/html/app/viewer-metric-format.d.ts +23 -0
  273. package/target/main/ts/report/html/app/viewer-metric-format.js +93 -0
  274. package/target/main/ts/report/html/app/viewer-metric-registry.d.ts +47 -0
  275. package/target/main/ts/report/html/app/viewer-metric-registry.js +138 -0
  276. package/target/main/ts/report/html/app/viewer-metrics-view.d.ts +4 -0
  277. package/target/main/ts/report/html/app/viewer-metrics-view.js +159 -0
  278. package/target/main/ts/report/html/app/viewer-metrics.d.ts +51 -0
  279. package/target/main/ts/report/html/app/viewer-metrics.js +195 -0
  280. package/target/main/ts/report/html/app/viewer-overview-cards.d.ts +12 -0
  281. package/target/main/ts/report/html/app/viewer-overview-cards.js +121 -0
  282. package/target/main/ts/report/html/app/viewer-overview-hotspots.d.ts +9 -0
  283. package/target/main/ts/report/html/app/viewer-overview-hotspots.js +173 -0
  284. package/target/main/ts/report/html/app/viewer-overview-lead.d.ts +12 -0
  285. package/target/main/ts/report/html/app/viewer-overview-lead.js +116 -0
  286. package/target/main/ts/report/html/app/viewer-profile-badges.d.ts +11 -0
  287. package/target/main/ts/report/html/app/viewer-profile-badges.js +119 -0
  288. package/target/main/ts/report/html/app/viewer-profile-table.d.ts +29 -0
  289. package/target/main/ts/report/html/app/viewer-profile-table.js +124 -0
  290. package/target/main/ts/report/html/app/viewer-profile.d.ts +13 -0
  291. package/target/main/ts/report/html/app/viewer-profile.js +180 -0
  292. package/target/main/ts/report/html/app/viewer-projects.d.ts +1 -0
  293. package/target/main/ts/report/html/app/viewer-projects.js +90 -0
  294. package/target/main/ts/report/html/app/viewer-pull-sections.d.ts +4 -0
  295. package/target/main/ts/report/html/app/viewer-pull-sections.js +118 -0
  296. package/target/main/ts/report/html/app/viewer-pull-trend.d.ts +5 -0
  297. package/target/main/ts/report/html/app/viewer-pull-trend.js +63 -0
  298. package/target/main/ts/report/html/app/viewer-pulls.d.ts +2 -0
  299. package/target/main/ts/report/html/app/viewer-pulls.js +92 -0
  300. package/target/main/ts/report/html/app/viewer-query-field.d.ts +19 -0
  301. package/target/main/ts/report/html/app/viewer-query-field.js +203 -0
  302. package/target/main/ts/report/html/app/viewer-route.d.ts +34 -0
  303. package/target/main/ts/report/html/app/viewer-route.js +55 -0
  304. package/target/main/ts/report/html/app/viewer-shell.d.ts +20 -0
  305. package/target/main/ts/report/html/app/viewer-shell.js +113 -0
  306. package/target/main/ts/report/html/app/viewer-source-view.d.ts +49 -0
  307. package/target/main/ts/report/html/app/viewer-source-view.js +150 -0
  308. package/target/main/ts/report/html/app/viewer-source.d.ts +27 -0
  309. package/target/main/ts/report/html/app/viewer-source.js +57 -0
  310. package/target/main/ts/report/html/app/viewer-suggest.d.ts +13 -0
  311. package/target/main/ts/report/html/app/viewer-suggest.js +91 -0
  312. package/target/main/ts/report/html/app/viewer-sunburst.d.ts +5 -0
  313. package/target/main/ts/report/html/app/viewer-sunburst.js +40 -0
  314. package/target/main/ts/report/html/app/viewer-table-cells.d.ts +25 -0
  315. package/target/main/ts/report/html/app/viewer-table-cells.js +135 -0
  316. package/target/main/ts/report/html/app/viewer-table-rows.d.ts +56 -0
  317. package/target/main/ts/report/html/app/viewer-table-rows.js +97 -0
  318. package/target/main/ts/report/html/app/viewer-tokenizer.d.ts +15 -0
  319. package/target/main/ts/report/html/app/viewer-tokenizer.js +241 -0
  320. package/target/main/ts/report/html/app/viewer-totals.d.ts +20 -0
  321. package/target/main/ts/report/html/app/viewer-totals.js +100 -0
  322. package/target/main/ts/report/html/app/viewer-treemap.d.ts +24 -0
  323. package/target/main/ts/report/html/app/viewer-treemap.js +112 -0
  324. package/target/main/ts/report/html/app/viewer-trend-data.d.ts +54 -0
  325. package/target/main/ts/report/html/app/viewer-trend-data.js +109 -0
  326. package/target/main/ts/report/html/app/viewer-trend-nav.d.ts +5 -0
  327. package/target/main/ts/report/html/app/viewer-trend-nav.js +86 -0
  328. package/target/main/ts/report/html/app/viewer-trend-points.d.ts +30 -0
  329. package/target/main/ts/report/html/app/viewer-trend-points.js +128 -0
  330. package/target/main/ts/report/html/app/viewer-trend-series.d.ts +32 -0
  331. package/target/main/ts/report/html/app/viewer-trend-series.js +128 -0
  332. package/target/main/ts/report/html/app/viewer-trends.d.ts +5 -0
  333. package/target/main/ts/report/html/app/viewer-trends.js +89 -0
  334. package/target/main/ts/report/html/app/viewer.d.ts +1 -0
  335. package/target/main/ts/report/html/app/viewer.js +222 -0
  336. package/target/main/ts/report/html/site/badges.d.ts +11 -0
  337. package/target/main/ts/report/html/site/badges.js +72 -0
  338. package/target/main/ts/report/html/site/export-site.d.ts +16 -0
  339. package/target/main/ts/report/html/site/export-site.js +129 -0
  340. package/target/main/ts/report/html/site/exported-server.d.ts +6 -0
  341. package/target/main/ts/report/html/site/exported-server.js +72 -0
  342. package/target/main/ts/report/html/site/local-server.d.ts +7 -0
  343. package/target/main/ts/report/html/site/local-server.js +59 -0
  344. package/target/main/ts/report/html/site/projects.d.ts +1 -0
  345. package/target/main/ts/report/html/site/projects.js +69 -0
  346. package/target/main/ts/report/html/site/server.d.ts +4 -0
  347. package/target/main/ts/report/html/site/server.js +65 -0
  348. package/target/main/ts/report/html/site/source-route.d.ts +6 -0
  349. package/target/main/ts/report/html/site/source-route.js +23 -0
  350. package/target/main/ts/report/json/projections/commit-summary.d.ts +13 -0
  351. package/target/main/ts/report/json/projections/commit-summary.js +126 -0
  352. package/target/main/ts/report/json/projections/components.d.ts +4 -0
  353. package/target/main/ts/report/json/projections/components.js +30 -0
  354. package/target/main/ts/report/json/projections/file-metrics.d.ts +4 -0
  355. package/target/main/ts/report/json/projections/file-metrics.js +260 -0
  356. package/target/main/ts/report/json/projections/ignore-view.d.ts +2 -0
  357. package/target/main/ts/report/json/projections/ignore-view.js +13 -0
  358. package/target/main/ts/report/json/projections/inspection-context.d.ts +5 -0
  359. package/target/main/ts/report/json/projections/inspection-context.js +104 -0
  360. package/target/main/ts/report/json/projections/inspection-details.d.ts +14 -0
  361. package/target/main/ts/report/json/projections/inspection-details.js +98 -0
  362. package/target/main/ts/report/json/projections/metric-values.d.ts +14 -0
  363. package/target/main/ts/report/json/projections/metric-values.js +104 -0
  364. package/target/main/ts/report/json/projections/profile-selectors.d.ts +8 -0
  365. package/target/main/ts/report/json/projections/profile-selectors.js +34 -0
  366. package/target/main/ts/report/json/projections/security-summary.d.ts +11 -0
  367. package/target/main/ts/report/json/projections/security-summary.js +22 -0
  368. package/target/main/ts/report/json/store/directory.d.ts +3 -0
  369. package/target/main/ts/report/json/store/directory.js +19 -0
  370. package/target/main/ts/report/json/store/local-store.d.ts +25 -0
  371. package/target/main/ts/report/json/store/local-store.js +214 -0
  372. package/target/main/ts/report/json/store/object-store.d.ts +14 -0
  373. package/target/main/ts/report/json/store/object-store.js +73 -0
  374. package/target/main/ts/report/json/store/operation-cache.d.ts +8 -0
  375. package/target/main/ts/report/json/store/operation-cache.js +32 -0
  376. package/target/main/ts/report/json/store/pull-review-store.d.ts +2 -0
  377. package/target/main/ts/report/json/store/pull-review-store.js +33 -0
  378. package/target/main/ts/report/json/store/replace-file.d.ts +1 -0
  379. package/target/main/ts/report/json/store/replace-file.js +35 -0
  380. package/target/main/ts/report/json/store/report-tree.d.ts +46 -0
  381. package/target/main/ts/report/json/store/report-tree.js +295 -0
  382. package/target/main/ts/report/json/store/store-check.d.ts +32 -0
  383. package/target/main/ts/report/json/store/store-check.js +153 -0
  384. package/target/main/ts/report/json/validation/metabranch.d.ts +4 -0
  385. package/target/main/ts/report/json/validation/metabranch.js +11 -0
  386. package/target/main/ts/report/json/validation/report.d.ts +20 -0
  387. package/target/main/ts/report/json/validation/report.js +82 -0
  388. package/target/main/ts/report/json/validation/summary-validation.d.ts +4 -0
  389. package/target/main/ts/report/json/validation/summary-validation.js +30 -0
  390. package/target/main/ts/report/json/wire/compact-json.d.ts +11 -0
  391. package/target/main/ts/report/json/wire/compact-json.js +76 -0
  392. package/target/main/ts/report/json/wire/component-model.d.ts +9 -0
  393. package/target/main/ts/report/json/wire/component-model.js +1 -0
  394. package/target/main/ts/report/json/wire/domain-types.d.ts +2 -0
  395. package/target/main/ts/report/json/wire/domain-types.js +1 -0
  396. package/target/main/ts/report/json/wire/file-metrics-model.d.ts +81 -0
  397. package/target/main/ts/report/json/wire/file-metrics-model.js +1 -0
  398. package/target/main/ts/report/json/wire/inspection-context-model.d.ts +31 -0
  399. package/target/main/ts/report/json/wire/inspection-context-model.js +1 -0
  400. package/target/main/ts/report/json/wire/inspection-details-model.d.ts +87 -0
  401. package/target/main/ts/report/json/wire/inspection-details-model.js +1 -0
  402. package/target/main/ts/report/json/wire/project-model.d.ts +7 -0
  403. package/target/main/ts/report/json/wire/project-model.js +1 -0
  404. package/target/main/ts/report/json/wire/public-history-model.d.ts +37 -0
  405. package/target/main/ts/report/json/wire/public-history-model.js +5 -0
  406. package/target/main/ts/report/json/wire/pull-review-model.d.ts +54 -0
  407. package/target/main/ts/report/json/wire/pull-review-model.js +3 -0
  408. package/target/main/ts/report/json/wire/summary-model.d.ts +45 -0
  409. package/target/main/ts/report/json/wire/summary-model.js +1 -0
  410. package/target/main/ts/report/markdown/pull-review.d.ts +5 -0
  411. package/target/main/ts/report/markdown/pull-review.js +132 -0
  412. package/target/main/ts/report.d.ts +23 -0
  413. package/target/main/ts/report.js +12 -0
  414. package/target/main/ts/runtime.d.ts +17 -0
  415. package/target/main/ts/runtime.js +30 -0
@@ -0,0 +1,579 @@
1
+ /* Repometry viewer: light, flat and quiet. Every colour is a token; the dark theme follows the system. */
2
+ :root {
3
+ --branch-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.4'%3E%3Ccircle cx='3' cy='2.25' r='1.25'/%3E%3Ccircle cx='3' cy='9.75' r='1.25'/%3E%3Ccircle cx='9' cy='3.75' r='1.25'/%3E%3Cpath d='M3 3.5v5M9 5c0 2.5-6 1.5-6 3.5'/%3E%3C/svg%3E");
4
+ color-scheme: light dark;
5
+ --page: #ffffff;
6
+ --band: #f7f8fa;
7
+ --surface: #ffffff;
8
+ --surface-2: #f3f5f7;
9
+ --ink: #0f1720;
10
+ --secondary: #5b6673;
11
+ --muted: #7d8793;
12
+ --rule: #e6e9ed;
13
+ --rule-strong: #cdd3da;
14
+ --accent: #0d8a6c;
15
+ --accent-strong: #0a6f57;
16
+ --accent-soft: #e6f4ef;
17
+ --accent-ink: #0a5a47;
18
+ --selected: #f1f7f5;
19
+ --focus: #2b7fd6;
20
+ --good: #14804a;
21
+ --bad: #c2362b;
22
+ --flag-good: #2f9445;
23
+ --flag-bad: #c63d36;
24
+ --bad-bg: #fdecea;
25
+ /* Line coverage cells in the source gutter: a quiet green, coral for what tests missed, amber for missed branches. */
26
+ --cov-hit-bg: #e2f2e8;
27
+ --cov-hit-ink: #2f6e49;
28
+ --cov-miss-bg: #fbe2df;
29
+ --cov-miss-ink: #a8382e;
30
+ --cov-part-bg: #fbedcd;
31
+ --cov-part-ink: #7d5a10;
32
+ --bad-ink: #9f2a21;
33
+ --warn-bg: #fdf3dc;
34
+ --warn-ink: #81580a;
35
+ --notice: #81580a;
36
+ --notice-bg: #fdf3dc;
37
+ --series: #3a4654;
38
+ --series-2: #c9ced5;
39
+ --event: #b4691d;
40
+ --heat-0: #f7e08a;
41
+ --heat-1: #f5c84a;
42
+ --heat-2: #ef9b3c;
43
+ --heat-3: #e6702f;
44
+ --heat-4: #d33a2f;
45
+ --heat-ink: #3d2a05;
46
+ --neutral-0: #e3e7eb;
47
+ --neutral-1: #c4ccd4;
48
+ --neutral-2: #98a4b0;
49
+ --neutral-3: #6b7987;
50
+ --neutral-4: #435160;
51
+ --grade-a: #1f9d5a;
52
+ --grade-b: #74a83a;
53
+ --grade-c: #d9a400;
54
+ --grade-d: #ec8a2c;
55
+ --grade-f: #db4a3f;
56
+ --grade-none: #c4ccd4;
57
+ /* Lockfiles: generated, counted apart from the languages and from the ignored files' grey. */
58
+ --lockfile: #d2c3a3;
59
+ --radius: 10px;
60
+ --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
61
+ --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
62
+ --content: 92rem;
63
+ --control: 2.25rem;
64
+ --code-keyword: #9a2f6e;
65
+ --code-string: #0a6f57;
66
+ --code-number: #a5560f;
67
+ --chevron-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E");
68
+ --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d8793' stroke-width='1.6'/%3E%3C/svg%3E");
69
+ font: 400 100%/1.5 var(--sans);
70
+ background: var(--page);
71
+ color: var(--ink);
72
+ -webkit-font-smoothing: antialiased;
73
+ }
74
+ @media (prefers-color-scheme: dark) {
75
+ :root {
76
+ --page: #0d1117;
77
+ --band: #11161d;
78
+ --surface: #131920;
79
+ --surface-2: #19212a;
80
+ --ink: #e6ebf0;
81
+ --secondary: #a2adb9;
82
+ --muted: #7b8794;
83
+ --rule: #232c36;
84
+ --rule-strong: #34404d;
85
+ --accent: #36c49b;
86
+ --accent-strong: #5bd6b0;
87
+ --accent-soft: #15302a;
88
+ --accent-ink: #bdeedd;
89
+ --selected: #16231f;
90
+ --focus: #6aaaf0;
91
+ --good: #4fcf8b;
92
+ --bad: #ff8478;
93
+ --flag-good: #5fd06a;
94
+ --flag-bad: #f0736b;
95
+ --bad-bg: #3a1c1a;
96
+ --cov-hit-bg: #15301f;
97
+ --cov-hit-ink: #8fd0a9;
98
+ --cov-miss-bg: #3b1d1a;
99
+ --cov-miss-ink: #f0958c;
100
+ --cov-part-bg: #372a10;
101
+ --cov-part-ink: #e6c272;
102
+ --bad-ink: #ffb1a8;
103
+ --warn-bg: #352812;
104
+ --warn-ink: #f2cd7f;
105
+ --notice: #f2cd7f;
106
+ --notice-bg: #2e2412;
107
+ --series: #c3ccd5;
108
+ --series-2: #3a4552;
109
+ --code-keyword: #e48fc4;
110
+ --code-string: #5fd0a6;
111
+ --code-number: #e5a45a;
112
+ --event: #e8a362;
113
+ --heat-0: #c9b04a;
114
+ --heat-1: #dcae3a;
115
+ --heat-2: #e08b35;
116
+ --heat-3: #e0612f;
117
+ --heat-4: #ef4c3f;
118
+ --heat-ink: #1a1203;
119
+ --neutral-0: #26303a;
120
+ --neutral-1: #384552;
121
+ --neutral-2: #52616f;
122
+ --neutral-3: #75869a;
123
+ --neutral-4: #a3b3c3;
124
+ --grade-a: #2aa766;
125
+ --grade-b: #7fae44;
126
+ --grade-c: #d1a01a;
127
+ --grade-d: #e58835;
128
+ --grade-f: #e2574c;
129
+ --grade-none: #3a4552;
130
+ --lockfile: #5e5440;
131
+ }
132
+ }
133
+ * { box-sizing: border-box; }
134
+ [hidden] { display: none !important; }
135
+ body { margin: 0; min-height: 100vh; background: var(--page); }
136
+ a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
137
+ a:hover { color: var(--accent-strong); }
138
+ :is(a, button, input, select, summary, [tabindex="0"]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
139
+ h1, h2, h3, h4, p, dl, dd { margin: 0; }
140
+ h1 { font-size: 1.375rem; font-weight: 650; line-height: 1.2; letter-spacing: -.015em; overflow-wrap: anywhere; }
141
+ h2 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
142
+ h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
143
+ small { font-size: .8125rem; }
144
+ code, .commit { font-family: var(--mono); font-size: .875em; }
145
+ select, input, button { font: inherit; color: inherit; }
146
+ select, input:not([type="checkbox"]), .button {
147
+ min-height: var(--control);
148
+ padding: .3rem .65rem;
149
+ font-size: .875rem;
150
+ background: var(--surface);
151
+ border: 1px solid var(--rule-strong);
152
+ border-radius: 8px;
153
+ }
154
+ button, select { cursor: pointer; }
155
+ /* Every select draws the same chevron with the same inset, instead of each browser's own arrow. */
156
+ select { -webkit-appearance: none; appearance: none; padding-right: 2rem; background: var(--surface) no-repeat right .65rem center / .7rem var(--chevron); }
157
+ input[type="search"] { min-width: 0; max-width: 100%; }
158
+ label { display: grid; gap: .25rem; font-size: .75rem; font-weight: 500; color: var(--secondary); }
159
+ label select, label input { color: var(--ink); font-weight: 400; font-size: .875rem; }
160
+ .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
161
+ .skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-200%); background: var(--surface); z-index: 5; padding: .7rem; }
162
+ .skip:focus { transform: none; }
163
+
164
+ /* Top bar */
165
+ .topbar { background: var(--band); border-bottom: 1px solid var(--rule); }
166
+ .topbar-inner { max-width: var(--content); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2.5rem); }
167
+ .topbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .875rem; padding: .875rem 0 .375rem; }
168
+ .topbar-row h1 { line-height: 1.875rem; }
169
+ /* The mark: a deep green flag (the r of repo) over three lighter green stems (the m of metrics). Its greens are its
170
+ own; the chart flags keep --flag-good. */
171
+ .brand { --brand-flag: #1f6b35; --brand-stems: #5fae6a; display: inline-flex; flex: none; width: 1.875rem; height: 1.875rem; color: var(--brand-stems); text-decoration: none; border-radius: 6px; }
172
+ @media (prefers-color-scheme: dark) { .brand { --brand-flag: #8fe08f; --brand-stems: #3f8a4c; } }
173
+ .brand-mark { width: 100%; height: 100%; fill: currentColor; }
174
+ .brand-flag { fill: var(--brand-flag); }
175
+ /* Commit picker: a trigger naming the commit, and a search popover over the whole inspected history. */
176
+ /* The commit picker ends the title row; the data download ends the tab row under it, so neither adds height. */
177
+ .commit-control { position: relative; width: clamp(16rem, 32vw, 26rem); max-width: 100%; margin-left: auto; }
178
+ /* Open, the control widens to the left and the list hangs from it: one frame, square where field and list meet. */
179
+ .commit-control.open { width: min(36rem, 100%); z-index: 20; }
180
+ .tabs-row { display: flex; align-items: center; gap: 1.5rem; }
181
+ .tabs-row .tabs { flex: 1 1 auto; min-width: 0; }
182
+ .inspection-meta { flex: none; }
183
+ .commit-field { position: relative; display: flex; align-items: center; min-height: 32px; background: var(--surface) no-repeat right .6rem center / .7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d8793' stroke-width='1.6'/%3E%3C/svg%3E"); border: 1px solid var(--rule); border-radius: 6px; cursor: text; }
184
+ .commit-field:hover { border-color: var(--rule-strong); }
185
+ .commit-control:focus-within .commit-field { border-color: var(--accent); }
186
+ .commit-control.open .commit-field { border-color: var(--rule-strong); border-bottom-color: var(--rule); border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -1px 8px rgb(15 23 32 / .05); }
187
+ .commit-control .commit-search { flex: 1 1 auto; width: 100%; max-width: none; min-height: 30px; margin: 0; padding: .2rem 2rem .2rem .625rem; font: inherit; font-size: .875rem; color: var(--ink); background: transparent; border: 0; border-radius: 0; box-shadow: none; -webkit-appearance: none; appearance: none; }
188
+ .commit-control .commit-search:focus, .commit-control .commit-search:focus-visible { outline: none; box-shadow: none; }
189
+ .commit-control:not(.open) .commit-search { color: transparent; caret-color: transparent; }
190
+ .commit-control:not(.open) .commit-search::placeholder { color: transparent; }
191
+ .commit-entry { position: relative; display: flex; flex: 1 1 auto; align-self: stretch; min-width: 0; }
192
+ /* The branch heads the field, set off by a rule: the commits listed are its history. */
193
+ .commit-branch { display: inline-flex; align-items: center; gap: .3125rem; flex: 0 1 auto; max-width: 9rem; align-self: stretch; padding: 0 .625rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .8125rem; font-weight: 500; color: var(--secondary); border-right: 1px solid var(--rule); }
194
+ .commit-branch::before { content: ""; flex: none; width: .75rem; height: .75rem; background: currentColor; -webkit-mask: var(--branch-glyph) center / contain no-repeat; mask: var(--branch-glyph) center / contain no-repeat; }
195
+ .commit-control.open .commit-branch { color: var(--muted); }
196
+ .commit-current { position: absolute; inset: 0 2rem 0 .625rem; display: flex; align-items: center; gap: .5rem; min-width: 0; overflow: hidden; pointer-events: none; font-size: .875rem; }
197
+ .commit-control.open .commit-current { display: none; }
198
+ .commit-current-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--secondary); }
199
+ .commit-hash { flex: none; font-family: var(--mono); font-size: .8125rem; color: var(--ink); }
200
+ .commit-popover { position: absolute; top: 100%; left: 0; right: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--rule-strong); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 32px rgb(15 23 32 / .14), 0 2px 6px rgb(15 23 32 / .06); }
201
+ .commit-options { max-height: min(24rem, 60vh); margin: 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
202
+ .commit-option { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .625rem; row-gap: .125rem; align-items: baseline; padding: .5rem .875rem; cursor: pointer; }
203
+ .commit-option.active { background: var(--surface-2); }
204
+ .commit-option[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--accent); }
205
+ .commit-option-head { display: contents; font-size: .875rem; }
206
+ .commit-option-head .commit-subject { font-size: .875rem; }
207
+ .commit-subject { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
208
+ .commit-tag { flex: 0 1 auto; min-width: 2.5rem; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 .375rem; font-size: .75rem; font-weight: 500; line-height: 1.125rem; color: var(--accent-ink); background: var(--accent-soft); border-radius: 4px; }
209
+ .commit-tag-more { flex: none; min-width: 0; color: var(--secondary); background: var(--rule); }
210
+ .commit-option-meta { grid-column: 2; display: flex; align-items: center; gap: .375rem; min-width: 0; overflow: hidden; }
211
+ .commit-meta { flex: none; margin-right: .25rem; white-space: nowrap; font-size: .75rem; color: var(--muted); }
212
+ .commit-meta, .commit-option-head .commit-hash { font-family: inherit; }
213
+ .commit-option-head .commit-hash { font-family: var(--mono); font-size: .8125rem; color: var(--secondary); }
214
+ .commit-option mark { color: inherit; background: var(--warn-bg); border-radius: 2px; }
215
+ .commit-status { margin: 0; padding: .4375rem .875rem; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--rule); }
216
+ .inspection-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: .75rem; color: var(--secondary); }
217
+ .status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--ink); }
218
+ .inspection-meta .status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--muted); }
219
+ .inspection-meta .status[data-status="complete"]::before { background: var(--good); }
220
+ .inspection-meta .status[data-status="partial"]::before { background: var(--grade-c); }
221
+ .download { color: var(--secondary); }
222
+ .tabs { display: flex; gap: .25rem 1.375rem; overflow-x: auto; scrollbar-width: none; margin-bottom: -1px; }
223
+ .tabs::-webkit-scrollbar { display: none; }
224
+ .tabs a { flex: none; display: inline-flex; align-items: center; gap: .375rem; min-height: 40px; padding: 0 .1rem; color: var(--secondary); font-size: .875rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
225
+ .tabs a:hover { color: var(--ink); }
226
+ .tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
227
+ .tab-count { min-width: 1.25rem; padding: 0 .35rem; border-radius: 999px; background: var(--rule); color: var(--secondary); font-size: .75rem; font-weight: 600; line-height: 1.25rem; text-align: center; font-variant-numeric: tabular-nums; }
228
+ .tab-count:empty { display: none; }
229
+
230
+ /* Page */
231
+ main { max-width: var(--content); margin: 0 auto; padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem; }
232
+ main:focus { outline: none; }
233
+ #message { color: var(--secondary); }
234
+ .detail { color: var(--secondary); font-size: .875rem; }
235
+ .empty { padding-block: 1rem; }
236
+ .card, .panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
237
+ .panel { min-width: 0; padding: 1rem 1.25rem; }
238
+ .panel > h2, .panel > h3, .fx-view .panel h2 { margin: 0 0 .25rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
239
+ .panel + .panel, .revisions { margin-top: 1rem; }
240
+ .section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .75rem; }
241
+ .section-heading h2 { margin: 0; }
242
+ .section-heading .detail { margin-top: .2rem; }
243
+ .text-link { font-size: .875rem; font-weight: 500; }
244
+
245
+ /* Overview */
246
+ .overview-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
247
+ .overview-grid:has(> aside:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem); }
248
+ .verdict-card { overflow: hidden; }
249
+ .verdicts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
250
+ .verdict {
251
+ display: flex;
252
+ align-items: center;
253
+ gap: .9rem;
254
+ min-width: 0;
255
+ min-height: 4.5rem;
256
+ padding: .875rem 1.25rem;
257
+ position: relative;
258
+ background: var(--band);
259
+ border-left: 1px solid var(--rule);
260
+ cursor: pointer;
261
+ }
262
+ .verdict:first-child { border-left: 0; }
263
+ .verdict:has(.verdict-tab[aria-selected="true"]) { background: var(--surface); box-shadow: inset 0 2px 0 var(--accent); }
264
+ .verdict:hover:not(:has(.verdict-tab[aria-selected="true"])) { background: var(--surface-2); }
265
+ .verdict-text { display: grid; justify-items: start; min-width: 0; }
266
+ /* The tab is the area's name; it stretches over the whole cell, so a click anywhere but the detail's link selects it. */
267
+ .verdict-tab { padding: 0; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left; background: none; border: 0; cursor: pointer; }
268
+ .verdict-tab::after { content: ""; position: absolute; inset: 0; }
269
+ .verdict-tab:focus-visible { outline: none; }
270
+ .verdict:has(.verdict-tab:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
271
+ .verdict-detail { color: var(--secondary); font-size: .875rem; overflow-wrap: anywhere; }
272
+ /* The coverage kinds beyond lines: a quieter second line under the headline's detail. */
273
+ .verdict-more { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
274
+ .verdict-more > span { white-space: nowrap; }
275
+ /* A detail that counts something leads to exactly what it counts. */
276
+ .verdict-detail a { position: relative; z-index: 1; color: inherit; text-decoration-color: var(--rule-strong); }
277
+ .verdict-detail a:hover { color: var(--accent-strong); text-decoration-color: currentColor; }
278
+ .mark { flex: none; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 8px; font-size: 1.25rem; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; }
279
+ .grade { background: var(--grade-a); }
280
+ .grade[data-grade="B"] { background: var(--grade-b); }
281
+ .grade[data-grade="C"] { background: var(--grade-c); }
282
+ .grade[data-grade="D"] { background: var(--grade-d); }
283
+ .grade[data-grade="F"] { background: var(--grade-f); }
284
+ .grade[data-grade="none"] { background: var(--grade-none); }
285
+ .ring { color: var(--ink); }
286
+ .ring svg { width: 2.5rem; height: 2.5rem; }
287
+ .ring-track { fill: none; stroke: var(--rule); stroke-width: 4.5; }
288
+ .ring-arc { fill: none; stroke: var(--grade-a); stroke-width: 4.5; stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 20px 20px; }
289
+ /* The ring takes the coverage grade's colour, as the coverage badge does. */
290
+ .ring[data-grade="B"] .ring-arc { stroke: var(--grade-b); }
291
+ .ring[data-grade="C"] .ring-arc { stroke: var(--grade-c); }
292
+ .ring[data-grade="D"] .ring-arc { stroke: var(--grade-d); }
293
+ .ring[data-grade="F"] .ring-arc { stroke: var(--grade-f); }
294
+ .ring-label { fill: var(--ink); font-size: 12.5px; font-weight: 650; text-anchor: middle; }
295
+ .severity { background: var(--grade-a); font-size: 1.125rem; }
296
+ .severity[data-severity="none"] { background: var(--grade-none); }
297
+ .severity[data-severity="low"] { background: var(--grade-b); }
298
+ .severity[data-severity="medium"] { background: var(--grade-c); }
299
+ .severity[data-severity="high"] { background: var(--grade-d); }
300
+ .severity[data-severity="critical"] { background: var(--grade-f); }
301
+ @media (prefers-color-scheme: dark) { .mark:not(.ring) { color: #0d1117; } }
302
+
303
+ .trend { padding: 1rem 1.25rem .5rem; }
304
+ .chart { min-width: 0; margin-top: .5rem; }
305
+ .legend { margin-top: .35rem; font-size: .8125rem; color: var(--muted); }
306
+ .lead { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .75rem .25rem .875rem; border-top: 1px solid var(--rule); }
307
+ .figure { min-width: 0; padding: .5rem 1rem; }
308
+ .figure dt { color: var(--secondary); font-size: .8125rem; }
309
+ .figure-value { margin-top: .1rem; font-size: clamp(1.5rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
310
+ .figure-delta { min-height: 1.4em; margin-top: .1rem; font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }
311
+ .figure-delta[data-direction="better"] { color: var(--good); }
312
+ .figure-delta[data-direction="worse"] { color: var(--bad); }
313
+ .scope-line { margin-top: .9rem; padding-inline: .2rem; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
314
+ .scope-line + .scope-line { margin-top: .2rem; }
315
+
316
+ .overview-aside { min-width: 0; }
317
+ .overview-aside .section-heading { margin: 1rem 0 0; }
318
+ .overview-aside .section-heading h3 { font-size: 1rem; }
319
+ .overview-hotspot-list { margin: .5rem 0 0; padding: 0; list-style: none; }
320
+ .overview-hotspot-list li + li { border-top: 1px solid var(--rule); }
321
+ .overview-hotspot-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: .375rem; text-decoration: none; }
322
+ .hotspot-name { min-width: 0; }
323
+ .hotspot-name strong { display: block; font-weight: 500; overflow-wrap: anywhere; }
324
+ .overview-hotspot-list a:hover strong { text-decoration: underline; }
325
+ .hotspot-name small { display: block; color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }
326
+ .chip {
327
+ flex: none;
328
+ display: inline-grid;
329
+ place-items: center;
330
+ min-width: 1.75rem;
331
+ height: 1.5rem;
332
+ padding: 0 .4rem;
333
+ border-radius: 6px;
334
+ background: var(--surface-2);
335
+ color: var(--ink);
336
+ font-size: .8125rem;
337
+ font-weight: 650;
338
+ font-variant-numeric: tabular-nums;
339
+ }
340
+ .chip[data-band="0"] { background: var(--heat-0); color: var(--heat-ink); }
341
+ .chip[data-band="1"] { background: var(--heat-1); color: var(--heat-ink); }
342
+ .chip[data-band="2"] { background: var(--heat-2); color: var(--heat-ink); }
343
+ .chip[data-band="3"] { background: var(--heat-3); color: #fff; }
344
+ .chip[data-band="4"] { background: var(--heat-4); color: #fff; }
345
+
346
+ /* Charts */
347
+ .tc { display: block; overflow: visible; font-family: var(--sans); font-variant-numeric: tabular-nums; }
348
+ .tc-grid { stroke: var(--rule); stroke-width: 1; }
349
+ .tc-base { stroke: var(--rule-strong); stroke-width: 1; }
350
+ .tc-tick, .tc-label { fill: var(--muted); font-size: 13px; }
351
+ .tc-line { fill: none; stroke: var(--series); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
352
+ .tc-line-secondary { stroke: var(--series-2); stroke-width: 2; }
353
+ .trend-key { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin: 0; font-size: .75rem; color: var(--secondary); }
354
+ .trend-key-item { display: inline-flex; align-items: center; gap: .4rem; }
355
+ /* Each key entry switches its line: struck through and faded when off; the last line left cannot be switched off. */
356
+ button.trend-key-item { min-height: 1.75rem; padding: 0 .375rem; font: inherit; color: inherit; background: none; border: 0; border-radius: 4px; cursor: pointer; }
357
+ button.trend-key-item:hover:not(:disabled) { color: var(--ink); background: var(--surface-2); }
358
+ button.trend-key-item:disabled { cursor: default; }
359
+ button.trend-key-item[aria-pressed="false"] { color: var(--muted); text-decoration: line-through; }
360
+ button.trend-key-item[aria-pressed="false"]::before { opacity: .35; }
361
+ /* With its companion alone, the line keeps the companion's grey. */
362
+ .chart-companion-only .tc-line { stroke: var(--series-2); stroke-width: 2; }
363
+ .trend-key-item::before { content: ""; width: 1rem; height: 2.5px; border-radius: 2px; background: var(--series); }
364
+ .trend-key-second::before { height: 2px; background: var(--series-2); }
365
+ .tc-tick-secondary { fill: var(--muted); }
366
+ .tc-dot { fill: var(--surface); stroke: var(--series); stroke-width: 2; }
367
+ .tc-dot-current { fill: var(--series); stroke: var(--surface); stroke-width: 2.5; }
368
+ .tc-dot-partial { fill: var(--surface); stroke-dasharray: 2 2; }
369
+ .tc-value { fill: var(--ink); font-size: 13px; font-weight: 500; paint-order: stroke; stroke: var(--surface); stroke-width: 7px; stroke-linejoin: round; }
370
+ .tc-value-current { font-size: 14px; font-weight: 650; }
371
+ .tc-bar-better { fill: var(--good); opacity: .75; }
372
+ .tc-bar-worse { fill: var(--bad); opacity: .75; }
373
+ .tc-bar-current { opacity: 1; }
374
+ .tc-xtick { stroke: var(--rule-strong); stroke-width: 1; }
375
+ .tc-missing-mark { stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
376
+ .tc-profile-changed, .tc-profile-unavailable { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 5 4; }
377
+ .tc-profile-unavailable { stroke-dasharray: 1 4; }
378
+ .tc-zero-mark { stroke: var(--secondary); stroke-width: 2; }
379
+ .tc-guide { stroke: var(--rule-strong); stroke-width: 1; pointer-events: none; }
380
+ .chart-interactive { position: relative; }
381
+ .chart-interactive .tc { cursor: pointer; touch-action: pan-y; }
382
+ .tc-point:focus { outline: none; }
383
+ .tc-point.is-active .tc-dot { r: 5.5; stroke-width: 2.5; }
384
+ .tc-hover-dot { pointer-events: none; }
385
+ .tc:focus { outline: none; }
386
+ .tc:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
387
+ .tc-point.is-active .tc-bar { opacity: 1; }
388
+ .tc-point:focus-visible .tc-dot, .tc-point:focus-visible .tc-bar { stroke: var(--focus); stroke-width: 3; }
389
+ .tc-tip {
390
+ position: absolute; z-index: 2; pointer-events: none;
391
+ display: grid; align-content: start; min-width: 9rem; max-width: 16rem;
392
+ /* A cluster's card scrolls inside itself, not the page. */
393
+ max-height: min(22rem, 60vh); overflow-y: auto; overscroll-behavior: contain;
394
+ padding: .5rem .625rem .5625rem;
395
+ background: var(--surface); color: var(--ink);
396
+ border: 1px solid var(--rule-strong); border-radius: 6px;
397
+ box-shadow: 0 2px 10px rgb(0 0 0 / .08);
398
+ font-size: .8125rem; line-height: 1.35;
399
+ }
400
+ .tc-tip[hidden] { display: none; }
401
+ .tc-tip-entry { display: grid; gap: .125rem; }
402
+ .tc-tip-held { pointer-events: auto; }
403
+ a.tc-tip-entry { margin-inline: -.375rem; padding-inline: .375rem; border-radius: 4px; color: inherit; text-decoration: none; }
404
+ a.tc-tip-entry:hover { background: var(--surface-2); }
405
+ .tc-tip-entry + .tc-tip-entry { margin-top: .375rem; padding-top: .4375rem; border-top: 1px solid var(--rule); }
406
+ .tc-tip strong { font-weight: 600; }
407
+ .tc-tip code { color: var(--muted); font-size: .75rem; }
408
+ .tc-tip-subject { max-width: 18rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: .8125rem; }
409
+ .tc-tip-value { margin-top: .25rem; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
410
+ .tc-tip-change { font-size: .8125rem; font-weight: 500; color: var(--secondary); }
411
+ .tc-tip-change[data-direction="better"] { color: var(--good); }
412
+ .tc-tip-change[data-direction="worse"] { color: var(--bad); }
413
+ .tc-tip-note { color: var(--secondary); }
414
+ .tc-flag-best { fill: var(--flag-good); }
415
+ .tc-flag-worst { fill: var(--flag-bad); }
416
+ .tc-tip-flag { display: flex; align-items: center; gap: .375rem; margin-top: .125rem; font-weight: 500; }
417
+ .tc-tip-flag svg { flex: none; width: .6875rem; height: .875rem; }
418
+ .spark { display: block; overflow: visible; }
419
+ .spark-line { fill: none; stroke: var(--series); stroke-width: 1.75; }
420
+ .spark-dot { fill: var(--series); }
421
+
422
+ /* Trends page */
423
+ .trend-nav { display: grid; gap: 1.125rem; }
424
+ .trend-group-note { margin: -.2rem 0 .3rem; padding: 0 .5rem 0 .75rem; color: var(--muted); font-size: .75rem; }
425
+ .trend-group h3 { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 1.5rem; margin: 0 0 .3rem; padding: 0 .5rem 0 .75rem; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
426
+ /* A group's reading: the maintainability grade, or the coverage in its grade's colour, as the badges show them. */
427
+ .trend-reading { flex: none; min-width: 1.25rem; padding: 0 .4rem; border-radius: 999px; background: var(--rule); color: var(--secondary); font-size: .75rem; font-weight: 600; letter-spacing: 0; line-height: 1.25rem; text-align: center; text-transform: none; font-variant-numeric: tabular-nums; }
428
+ .trend-reading-grade { color: #fff; background: var(--grade-a); }
429
+ .trend-reading-grade[data-grade="B"] { background: var(--grade-b); }
430
+ .trend-reading-grade[data-grade="C"] { background: var(--grade-c); }
431
+ .trend-reading-grade[data-grade="D"] { background: var(--grade-d); }
432
+ .trend-reading-grade[data-grade="F"] { background: var(--grade-f); }
433
+ .trend-group ul { margin: 0; padding: 0; list-style: none; }
434
+ .trend-group a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 32px; padding: 0 .5rem 0 .75rem; border-radius: 6px; color: var(--secondary); font-size: .875rem; text-decoration: none; }
435
+ .trend-group a:hover { color: var(--ink); background: var(--surface-2); }
436
+ .trend-group a[aria-current] { color: var(--ink); background: var(--surface-2); font-weight: 500; }
437
+ .trend-value { flex: none; color: var(--ink); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
438
+ .trend-select { display: none; }
439
+ .trend-main { min-width: 0; }
440
+ .trend-frame.panel { padding: 1.25rem 1.5rem 1rem; }
441
+ /* What a chart means and how to read it is set like its key: small, secondary grey. */
442
+ .trend-frame > .detail { margin: .5rem 0 0; }
443
+ .trend-frame > .detail, #trend-detail { font-size: .75rem; color: var(--secondary); }
444
+ .trend-frame-tools { display: flex; justify-content: flex-end; margin-bottom: .25rem; }
445
+ .trend-frame-tools select { min-height: 2rem; font-size: .8125rem; }
446
+ .trend-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: .75rem 1.5rem; margin-bottom: 1rem; }
447
+ .trend-headline { margin: 0 0 .25rem; font-size: 1.25rem; }
448
+ .trend-head .detail { max-width: 40rem; }
449
+ .trend-head > :first-child { flex: 1 1 16rem; min-width: 0; }
450
+ .trend-period select { min-width: 11rem; }
451
+ .trend-subhead { margin-top: 1.75rem; }
452
+ .trend-main .revisions { margin-top: 2rem; }
453
+ .change[data-direction="better"] { color: var(--good); }
454
+ .change[data-direction="worse"] { color: var(--bad); }
455
+ .change:not([data-direction]) { color: var(--muted); }
456
+
457
+ .profile-event { margin-bottom: .8rem; padding: .5rem .7rem; color: var(--notice); background: var(--notice-bg); border-radius: 6px; font-size: .875rem; }
458
+ .section-intro { margin-bottom: 1rem; }
459
+
460
+ /* Components */
461
+ .component table a { overflow-wrap: anywhere; }
462
+
463
+
464
+ /* Tables */
465
+ .table-scroll { overflow: auto; max-width: 100%; }
466
+ table { width: 100%; border-collapse: collapse; font-size: .875rem; }
467
+ th, td { padding: .5rem .75rem; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--rule); }
468
+ thead th { color: var(--secondary); font-size: .75rem; font-weight: 500; white-space: nowrap; }
469
+ tbody th { font-weight: 500; }
470
+ tbody tr:hover { background: var(--band); }
471
+ tbody tr.current { background: var(--selected); }
472
+ tbody tr:last-child > * { border-bottom: 0; }
473
+ .numeric { text-align: right; font-variant-numeric: tabular-nums; }
474
+ .commit { display: inline-flex; align-items: center; white-space: nowrap; }
475
+
476
+ /* Projects index */
477
+ .project-index tbody a { display: inline-flex; align-items: center; font-weight: 600; }
478
+ .grade-inline { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-left: .55rem; border-radius: 5px; color: #fff; font-size: .8125rem; font-weight: 650; vertical-align: middle; }
479
+ .project-index td:last-child { color: var(--secondary); white-space: nowrap; }
480
+
481
+ @media (max-width: 72rem) {
482
+ .overview-grid:has(> aside:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
483
+ .overview-aside { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 0 2.5rem; align-items: start; }
484
+ .overview-aside > :not(#overview-sunburst) { grid-column: 2; }
485
+ .overview-aside #overview-sunburst { grid-row: 1 / span 4; }
486
+ }
487
+ @media (max-width: 52rem) {
488
+ .verdicts { grid-auto-flow: row; }
489
+ .verdict { border-left: 0; border-top: 1px solid var(--rule); min-height: 4.5rem; }
490
+ .verdict:first-child { border-top: 0; }
491
+ .verdict:has(.verdict-tab[aria-selected="true"]) { box-shadow: inset 3px 0 0 var(--accent); }
492
+ .lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
493
+ .overview-aside { display: block; }
494
+ .trends-layout > .trend-picker { order: -1; }
495
+ .trend-nav { display: none; }
496
+ .trend-select { display: grid; }
497
+ }
498
+ @media (max-width: 40rem) {
499
+ .topbar-row { padding-top: 1rem; }
500
+ /* A phone reads the report; the raw data download belongs to a desk. */
501
+ .inspection-meta { display: none; }
502
+ .commit-control { width: 100%; margin-left: 0; }
503
+ .commit-control.open { width: 100%; }
504
+ .verdict { min-height: 3.5rem; padding-block: .625rem; gap: .75rem; }
505
+ .verdict .mark, .ring svg { width: 2.125rem; height: 2.125rem; font-size: 1.0625rem; }
506
+ h1 { font-size: 1.375rem; }
507
+ .verdict, .trend { padding-inline: 1rem; }
508
+ .figure { padding-inline: .6rem; }
509
+ .figure-value { font-size: 1.5rem; }
510
+ }
511
+
512
+ /* Links inside lists and tables read by colour; the underline appears on hover. */
513
+ :is(table, .fx-ranking, .fx-function-list, .fx-breadcrumbs, .fx-event-list) a:not(:hover) { text-decoration: none; }
514
+
515
+ /* Touch screens keep 44 px targets; a mouse gets the denser desktop rhythm. */
516
+ @media (pointer: coarse) {
517
+ :root { --control: 2.75rem; }
518
+ .tabs a { min-height: 44px; }
519
+ .trend-group a, .overview-hotspot-list a { min-height: 44px; }
520
+ th, td { padding-block: .625rem; }
521
+ }
522
+ .revisions .section-heading { margin-bottom: .25rem; }
523
+ .revisions-filter input { width: 15rem; }
524
+ .revisions th[scope="row"] { font-weight: 400; }
525
+ .revision-key { display: flex; align-items: baseline; gap: .625rem; max-width: clamp(12rem, 40vw, 34rem); }
526
+ .revision-time, .revisions td { white-space: nowrap; }
527
+ .revision-subject { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--secondary); }
528
+ .revisions-more { display: block; width: 100%; min-height: var(--control); margin-top: .5rem; font-size: .875rem; color: var(--secondary); background: var(--band); border: 1px solid var(--rule); border-radius: 6px; }
529
+ .revisions-more:hover { color: var(--ink); border-color: var(--rule-strong); }
530
+ .revisions table { font-variant-numeric: tabular-nums; }
531
+ .change[data-direction="same"] { color: var(--muted); }
532
+ .figure-delta:empty { display: none; }
533
+ .lead-empty { grid-column: 1 / -1; margin: 0; padding: .25rem 1rem; font-size: .875rem; color: var(--muted); }
534
+ .project-index .topbar-row { padding-bottom: .875rem; }
535
+ .project-index .section-heading { align-items: center; }
536
+ .project-filter input { width: 15rem; }
537
+ .project-sort { grid-auto-flow: column; align-items: center; gap: .5rem; }
538
+ abbr.grade-inline { text-decoration: none; cursor: help; }
539
+
540
+ /* Every disclosure draws the same chevron as the selects: pointing right while closed, down while open. */
541
+ summary { list-style: none; }
542
+ summary::-webkit-details-marker { display: none; }
543
+ details:not(.fx-columns) > summary::before { content: ""; display: inline-block; flex: none; width: .625rem; height: .625rem; margin-right: .5rem; vertical-align: .05em; background: currentColor; opacity: .7; -webkit-mask: var(--chevron-mask) center / contain no-repeat; mask: var(--chevron-mask) center / contain no-repeat; transform: rotate(-90deg); transition: transform .12s ease-out; }
544
+ details[open]:not(.fx-columns) > summary::before { transform: none; }
545
+ .fx-issue-summary::before { position: absolute; top: 50%; left: 1rem; margin: -.3125rem 0 0; }
546
+ .fx-issue-summary { position: relative; padding-left: 2.125rem; }
547
+ @media (prefers-reduced-motion: reduce) { details > summary::before { transition: none; } }
548
+
549
+ /* The Overview hotspot column while the inspection loads: placeholder rows of the real rows' size, or the previous
550
+ commit's map and ranking held dimmed until the new ones arrive. */
551
+ .overview-hotspot-stub li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: .375rem; }
552
+ .overview-hotspot-stub li > span:first-child { display: grid; gap: .375rem; flex: 1; }
553
+ .stub-line { display: block; width: 55%; height: .875rem; border-radius: 3px; background: var(--surface-2); }
554
+ .stub-line-short { width: 80%; height: .625rem; }
555
+ .stub-chip { flex: none; width: 2.25rem; height: 1.5rem; border-radius: 6px; background: var(--surface-2); }
556
+ .overview-stale #overview-sunburst, .overview-stale #overview-hotspot-list { opacity: .45; transition: opacity .15s .1s; }
557
+
558
+ /* The footer: where the tool lives and on what terms. Light: a hairline, no fill; at the bottom of a short page. */
559
+ body { display: flex; flex-direction: column; }
560
+ body > main { flex: 1 0 auto; width: 100%; box-sizing: border-box; padding-bottom: 4rem; }
561
+ .site-footer { margin-top: auto; }
562
+ .site-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; max-width: var(--content); margin: 0 auto; padding: 1rem clamp(1rem, 3vw, 2.5rem) 1.5rem; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--muted); }
563
+ .site-footer p { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin: 0; }
564
+ .site-footer a { display: inline-flex; align-items: center; gap: .4rem; color: var(--secondary); text-decoration: none; }
565
+ .site-footer a:hover { color: var(--ink); text-decoration: underline; }
566
+ .site-footer-icon { width: 1rem; height: 1rem; fill: currentColor; }
567
+
568
+ /* A security level in a list: the letter of the security mark in its grade colour. */
569
+ .chip-level { color: #fff; background: var(--grade-a); }
570
+ .chip-level[data-level="1"] { background: var(--grade-b); }
571
+ .chip-level[data-level="2"] { background: var(--grade-c); }
572
+ .chip-level[data-level="3"] { background: var(--grade-d); }
573
+ .chip-level[data-level="4"] { background: var(--grade-f); }
574
+ @media (prefers-color-scheme: dark) { .chip-level { color: #0d1117; } }
575
+ /* An area with no chart says so once, in the chart's place; the figures under it would only repeat it. */
576
+ .verdict-card:has(#trend[data-empty="true"]) .lead:has(.lead-empty) { display: none; }
577
+ /* A lead figure that counts findings, files or a function leads to them, with a quiet underline. */
578
+ .figure-value a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: 1px; text-underline-offset: .15em; }
579
+ .figure-value a:hover { color: var(--accent-strong); text-decoration-color: currentColor; }
@@ -0,0 +1,64 @@
1
+ .pull-picker { min-width: 12rem; }
2
+ .pull-picker { grid-auto-flow: column; align-items: center; gap: .5rem; }
3
+ .pull-revisions { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; margin-bottom: .9rem; }
4
+ .pull-revisions time { margin-left: auto; }
5
+ .pull-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 1.25rem; }
6
+ .pull-summary-block > .detail { margin-top: .85rem; }
7
+ .pull-fact { min-width: 0; border-top: 1px solid var(--rule); padding-top: .6rem; }
8
+ .pull-value { display: block; font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; margin: .125rem 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
9
+ .pull-gate { display: inline-block; margin-top: .4rem; font-size: .8125rem; }
10
+ .pull-gate[data-status="failed"] { background: var(--bad-bg); color: var(--bad-ink); }
11
+ .pull-section { margin-top: 1.25rem; min-width: 0; }
12
+ .pull-section h3 { margin-bottom: .4rem; }
13
+ .pull-exclusions { margin-bottom: .65rem; overflow-wrap: anywhere; }
14
+ .pull-table { table-layout: auto; }
15
+ .pull-table th, .pull-table td { min-width: 0; vertical-align: top; overflow-wrap: anywhere; }
16
+ .pull-coverage-table thead th:not(:first-child) { text-align: right; overflow-wrap: normal; }
17
+ .pull-table td.numeric { white-space: nowrap; }
18
+ .pull-missed-lines { margin-top: .15rem; font-size: .875rem; font-weight: 400; color: var(--secondary); }
19
+ .pull-missed-lines summary { align-content: center; min-height: 44px; cursor: pointer; color: var(--accent); width: fit-content; }
20
+ .pull-missed-lines span { display: block; margin-bottom: .45rem; }
21
+ .pull-gaps { margin: .25rem 0 0; padding-left: 1.25rem; color: var(--secondary); overflow-wrap: anywhere; }
22
+ .pull-trend-axis, .pull-trend-list { --label-width: 10.5rem; --result-width: 12rem; --column-gap: 1rem; }
23
+ .pull-trend-axis {
24
+ display: flex;
25
+ justify-content: space-between;
26
+ margin-inline: calc(var(--label-width) + var(--column-gap)) calc(var(--result-width) + var(--column-gap));
27
+ font-size: .8125rem;
28
+ color: var(--secondary);
29
+ }
30
+ .pull-trend-list { margin: .45rem 0 0; padding: 0; list-style: none; }
31
+ .pull-trend-row {
32
+ display: grid;
33
+ grid-template-columns: var(--label-width) minmax(0, 1fr) var(--result-width);
34
+ column-gap: var(--column-gap);
35
+ align-items: center;
36
+ padding: .55rem 0;
37
+ border-top: 1px solid var(--rule);
38
+ }
39
+ .pull-trend-subject > *, .pull-trend-result > * { display: block; }
40
+ .pull-trend-result { font-variant-numeric: tabular-nums; }
41
+ .pull-trend-track { min-width: 0; height: .7rem; background: var(--accent-soft); }
42
+ .pull-trend-bar { height: 100%; background: var(--accent); }
43
+ .pull-trend-bar[data-status="partial"] { background: repeating-linear-gradient(135deg, var(--event) 0 3px, var(--notice-bg) 3px 7px); }
44
+ .pull-trend-empty { background: none; border-bottom: 1px dashed var(--rule); }
45
+ @media (max-width: 58rem) {
46
+ .pull-trend-axis { margin-inline: 0; }
47
+ .pull-trend-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: .3rem; }
48
+ .pull-trend-result { grid-column: 2; grid-row: 1; text-align: right; }
49
+ .pull-trend-track { grid-column: 1 / -1; }
50
+ }
51
+ @media (max-width: 42rem) {
52
+ .pull-revisions time { width: 100%; margin: 0; }
53
+ .pull-picker { min-width: 0; }
54
+ .pull-summary { column-gap: .65rem; }
55
+ .pull-fact > .detail:first-child { display: block; min-block-size: 2.5em; line-height: 1.25; }
56
+ .pull-table th, .pull-table td { padding-inline: .375rem; }
57
+ }
58
+ @media (max-width: 23rem) {
59
+ .pull-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
60
+ }
61
+
62
+ .pull-heading { margin-bottom: 1rem; }
63
+ .pull-heading h2 { margin: 0; }
64
+ .pull-number { color: var(--muted); font-weight: 500; }
@@ -0,0 +1,2 @@
1
+ export declare function cacheRoot(env?: NodeJS.ProcessEnv, system?: NodeJS.Platform, home?: string): string;
2
+ export declare function clearCaches(root: string): Promise<readonly string[]>;