Nick Mathewson d1ffac3f8a practracker: An exception is "used" even when it is violated. преди 4 години
..
testdata c710518825 Add integration tests for new practracker features преди 4 години
.enable_practracker_in_hooks 71e5af0221 pre-push hook: Only run practracker when a special file is present преди 4 години
README e3f7e5e65e practracker: make filename terminology uniform преди 4 години
exceptions.txt 796a9b37ea Merge branch 'tor-github/pr/1264' преди 4 години
includes.py e3f7e5e65e practracker: make filename terminology uniform преди 4 години
metrics.py 03040903e6 practracker: handle empty files. преди 4 години
practracker.py 25d55fa01e Practracker: do not list problems when told to --list-overbroad. преди 4 години
practracker_tests.py 5d98b54725 Port practracker unit tests to python 3 преди 4 години
problem.py d1ffac3f8a practracker: An exception is "used" even when it is violated. преди 4 години
test_practracker.sh e7565855c0 Merge branch 'ticket31578' into ticket31578_merged преди 4 години
util.py 25d55fa01e Practracker: do not list problems when told to --list-overbroad. преди 4 години

README

Practracker is a simple python tool that keeps track of places where
our code is ugly, and tries to warn us about new ones or ones that
get worse.

Right now, practracker looks for the following kinds of
best-practices violations:

.c files greater than 3000 lines long
.h files greater than 500 lines long
.c files with more than 50 includes
.h files with more than 15 includes

All files that include a local header not listed in a .may_include
file in the same directory, when that .may_include file has an
"!advisory" marker.

The list of current violations is tracked in exceptions.txt; slight
deviations of the current exceptions cause warnings, whereas large
ones cause practracker to fail.

For usage information, run "practracker.py --help".