facebook / rocksdb
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
100,364 LOC (37%)
116 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
100,364 LOC (37%)
116 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
116
files match defined criteria (
100,364
lines of code,
37.9%
vs. main code):
81
*.cc files (
81,125
lines of code)
32
*.h files (
16,723
lines of code)
1
*.java files (
1,704
lines of code)
1
*.py files (
644
lines of code)
1
*.inc files (
168
lines of code)
287
lines match the content pattern.
details...
per component - primary logical decomposition
db
in 34 files, 36,898 LOC (51%)
java
in 3 files, 9,940 LOC (24%)
utilities
in 21 files, 9,201 LOC (28%)
table
in 18 files, 9,594 LOC (41%)
tools
in 4 files, 11,567 LOC (52%)
util
in 6 files, 4,817 LOC (30%)
include
in 8 files, 2,475 LOC (18%)
db_stress_tool
in 4 files, 4,261 LOC (46%)
env
in 4 files, 4,443 LOC (49%)
options
in 2 files, 822 LOC (13%)
port
in 4 files, 2,288 LOC (54%)
file
in 5 files, 2,196 LOC (52%)
trace_replay
in 1 file 538 LOC (25%)
microbench
in 1 file 1,156 LOC (91%)
ROOT
in 1 file 168 LOC (100%)