MCPcopy Create free account
hub / github.com/d78ui98/APKDeepLens / data_row

Method data_row

APKDeepLens.py:83–87  ·  view source on GitHub ↗
(label, counts)

Source from the content-addressed store, hash-verified

81 return "| " + "Category".ljust(cat_w) + " |" + "|".join(cells) + "|"
82
83 def data_row(label, counts):
84 total = sum(counts.values())
85 cells = [fmt(counts[k], col_w[k], SEV_COLOR.get(k, "")) for k in col_keys[:-1]]
86 cells.append(fmt(total, col_w["TOTAL"], util.BOLD))
87 return "| " + label.ljust(cat_w) + " |" + "|".join(cells) + "|"
88
89 def count_row(label, count):
90 inner = len(sep) - 4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected