facebook / zstd
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
10,842 LOC (15%)
8 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
10,842 LOC (15%)
8 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
8
files match defined criteria (
10,842
lines of code,
15.9%
vs. main code):
7
*.c files (
7,983
lines of code)
1
*.h files (
2,859
lines of code)
17
lines match the content pattern.
details...
per component - primary logical decomposition
lib/compress
in 4 files, 7,605 LOC (50%)
programs
in 1 file 308 LOC (4%)
lib/common
in 1 file 2,859 LOC (47%)
build/single_file_libs
in 2 files, 70 LOC (36%)