facebookresearch / FAMBench
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
6,278 LOC (34%)
15 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
6,278 LOC (34%)
15 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
15
files match defined criteria (
6,278
lines of code,
34.5%
vs. main code):
4
*.cc files (
2,928
lines of code)
10
*.py files (
2,732
lines of code)
1
*.h files (
618
lines of code)
28
lines match the content pattern.
details...
per component - primary logical decomposition
benchmarks/dlrm/ootb
in 1 file 1,885 LOC (29%)
benchmarks/rnnt/ootb/inference
in 7 files, 3,707 LOC (60%)
benchmarks/rnnt/ootb/train
in 2 files, 249 LOC (8%)
fb5logging
in 2 files, 218 LOC (93%)
benchmarks/xlmr/ootb
in 2 files, 146 LOC (74%)
bmlogging
in 1 file 73 LOC (82%)