summaryrefslogtreecommitdiffstats
path: root/tools/arch-census.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch-census.py')
-rwxr-xr-xtools/arch-census.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/arch-census.py b/tools/arch-census.py
index d89be2c..b493ea8 100755
--- a/tools/arch-census.py
+++ b/tools/arch-census.py
@@ -18,6 +18,12 @@ real is to privatize them and let the compiler answer: it rejects the ones that
are load-bearing and says nothing about the rest. Whatever survives that is
budgeted rather than zeroed, and the budget is where the reason lives.
+The metric errs the other way too. Mentions are matched as words over the raw
+file, so a name that appears only inside someone else's error *string* counts
+as used: `watch::upstream::resolve` looked live for as long as some unrelated
+db message happened to end "... to resolve". A flagged item is a question; a
+clean item is not always an answer.
+
Reported per module:
pub items declared `pub` (fn, struct, enum, trait, const, static, type)
dead of those, ones no file outside the module names — including tests/