facebook / pyre-check
Features of Interest
Aspects in the source code identified through RegEx patterns.
Intro
Features of interest are any aspects of a software system that can be identified through patterns in code.
Features of interest provide you with a way to focus your attention on relevant parts of the codebase.
Typical examples include, security, TODOs, logging.
A feature of interest may be present in multiple files. Any source code file may be in zero or multiple features of interest.
Overview
GENERAL
TODOs
31,686 LOC (25%)
25 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
31,686 LOC (25%)
25 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
25
files match defined criteria (
31,686
lines of code,
25.8%
vs. main code):
17
*.ml files (
27,880
lines of code)
1
*.c files (
1,831
lines of code)
5
*.py files (
1,797
lines of code)
2
*.mli files (
178
lines of code)
44
lines match the content pattern.
details...
per component - primary logical decomposition
source/analysis
in 11 files, 25,028 LOC (57%)
source/interprocedural_analyses
in 1 file 384 LOC (2%)
source/hack_parallel
in 2 files, 2,241 LOC (28%)
client/commands
in 1 file 83 LOC (1%)
client
in 1 file 186 LOC (4%)
source/server
in 3 files, 552 LOC (13%)
tools/upgrade
in 1 file 588 LOC (21%)
source/parser
in 1 file 363 LOC (13%)
tools/generate_taint_models
in 1 file 96 LOC (5%)
source/buck
in 1 file 307 LOC (18%)
source/new_parser
in 1 file 1,014 LOC (94%)
client/libcst_vendored_visitors
in 1 file 844 LOC (95%)