facebookresearch / labgraph
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
2,050 LOC (10%)
11 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
2,050 LOC (10%)
11 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
11
files match defined criteria (
2,050
lines of code,
10.8%
vs. main code):
10
*.py files (
1,507
lines of code)
1
*.h files (
543
lines of code)
13
lines match the content pattern.
details...
per component - primary logical decomposition
labgraph/runners
in 1 file 160 LOC (11%)
labgraph/graphs
in 2 files, 280 LOC (26%)
Cthulhu/modules
in 1 file 543 LOC (56%)
labgraph/messages
in 2 files, 774 LOC (96%)
labgraph/websockets
in 1 file 133 LOC (16%)
extensions/labgraph_protocol
in 1 file 67 LOC (8%)
labgraph/_cthulhu
in 1 file 46 LOC (20%)
labgraph/events
in 1 file 38 LOC (24%)
labgraph/util
in 1 file 9 LOC (7%)