facebookresearch / dynabench
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
11,233 LOC (24%)
24 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
11,233 LOC (24%)
24 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
24
files match defined criteria (
11,233
lines of code,
24.1%
vs. main code):
16
*.py files (
7,431
lines of code)
6
*.js files (
3,099
lines of code)
2
*.jsx files (
703
lines of code)
43
lines match the content pattern.
details...
per component - primary logical decomposition
frontends/web
in 8 files, 3,802 LOC (16%)
legacy/torchserve
in 3 files, 596 LOC (12%)
api/models
in 2 files, 1,242 LOC (34%)
api
in 1 file 3,049 LOC (93%)
api/controllers
in 2 files, 1,458 LOC (52%)
legacy/modelservers
in 1 file 68 LOC (7%)
evaluation/scripts
in 1 file 81 LOC (12%)
evaluation/datasets
in 1 file 33 LOC (5%)
evaluation/metrics
in 2 files, 244 LOC (38%)
builder/utils
in 1 file 467 LOC (93%)
builder
in 1 file 128 LOC (89%)
evaluation
in 1 file 65 LOC (100%)