facebook / CacheLib
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
12,177 LOC (26%)
39 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
12,177 LOC (26%)
39 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
39
files match defined criteria (
12,177
lines of code,
26.7%
vs. main code):
25
*.h files (
7,874
lines of code)
14
*.cpp files (
4,303
lines of code)
72
lines match the content pattern.
details...
per component - primary logical decomposition
cachelib/allocator
in 14 files, 6,560 LOC (37%)
cachelib/navy
in 6 files, 1,942 LOC (28%)
cachelib/cachebench
in 11 files, 1,668 LOC (35%)
cachelib/common
in 3 files, 498 LOC (14%)
cachelib/datatype
in 2 files, 683 LOC (32%)
cachelib/shm
in 1 file 274 LOC (21%)
cachelib/experimental
in 2 files, 552 LOC (74%)