facebook / ThreatExchange
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
10,185 LOC (22%)
55 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
10,185 LOC (22%)
55 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
55
files match defined criteria (
10,185
lines of code,
22.4%
vs. main code):
43
*.py files (
6,492
lines of code)
7
*.tsx files (
1,429
lines of code)
1
*.java files (
1,296
lines of code)
2
*.ipynb files (
753
lines of code)
1
*.tf files (
166
lines of code)
1
*.ts files (
49
lines of code)
82
lines match the content pattern.
details...
per component - primary logical decomposition
hasher-matcher-actioner/hmalib
in 24 files, 3,757 LOC (41%)
hasher-matcher-actioner/webapp
in 8 files, 1,478 LOC (21%)
python-threatexchange/threatexchange
in 19 files, 2,735 LOC (58%)
hasher-matcher-actioner/terraform
in 1 file 166 LOC (4%)
api-reference-examples/java
in 1 file 1,296 LOC (35%)
api-reference-examples/python-notebook
in 2 files, 753 LOC (100%)