twitter / the-algorithm
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
8,180 LOC (1%)
40 files
|
found text per file
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
8,180 LOC (1%)
40 files
|
found text per file
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
40
files match defined criteria (
8,180
LOC,
1.9%
vs. main code):
10
*.cpp files (
3,090
LOC)
11
*.py files (
2,133
LOC)
7
*.rs files (
1,651
LOC)
9
*.scala files (
898
LOC)
3
*.h files (
408
LOC)
64
lines match the content pattern.
details...
per component - primary logical decomposition
src
in 2 files, 120 LOC (<1%)
tweetypie
in 1 file 55 LOC (<1%)
product-mixer
in 2 files, 194 LOC (<1%)
twml
in 23 files, 5,595 LOC (28%)
navi
in 7 files, 1,651 LOC (13%)
timelines
in 1 file 171 LOC (3%)
graph-feature-service
in 4 files, 394 LOC (23%)