flashtrace 0.11.1 → 0.11.2

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.
@@ -1110,13 +1110,15 @@ function renderDefective(defective, out, style, dimLocation) {
1110
1110
  }
1111
1111
  function renderSummary(summary, out, style) {
1112
1112
  const originBreakdown = style.dim(`(${summary.specItems} from specs, ${summary.codeItems} from code)`);
1113
+ const coverageBreakdown = summary.shallowCoveredItems ? " " + style.dim(
1114
+ `(${summary.okItems - summary.shallowCoveredItems} deep-covered, ${summary.shallowCoveredItems} only shallow-covered)`
1115
+ ) : "";
1113
1116
  out.push(
1114
1117
  style.bold("Summary"),
1115
1118
  ` items ${summary.items} ${originBreakdown}`,
1116
- ` ok ${style.green(String(summary.okItems))}`,
1119
+ ` ok ${style.green(String(summary.okItems))}${coverageBreakdown}`,
1117
1120
  ` defective ${summary.defectiveItems ? style.red(String(summary.defectiveItems)) : "0"}`
1118
1121
  );
1119
- if (summary.shallowCoveredItems) out.push(" " + style.dim(`of the ok items, ${summary.shallowCoveredItems} are only shallow-covered (an item further down the tracing chain is defective)`));
1120
1122
  if (summary.problems) out.push(` problems ${style.yellow(String(summary.problems))}`);
1121
1123
  out.push("");
1122
1124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flashtrace",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Lightning-fast, reference-based requirement tracing that works anywhere.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {