facebook / openbmc-linux
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
3,602,257 LOC (21%)
3684 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
3,602,257 LOC (21%)
3684 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
3684
files match defined criteria (
3,602,257
lines of code,
21.3%
vs. main code):
3,269
*.c files (
3,435,888
lines of code)
408
*.h files (
157,017
lines of code)
2
*.py files (
6,203
lines of code)
1
*.cc files (
1,596
lines of code)
2
*.asm files (
1,397
lines of code)
1
*.pl files (
98
lines of code)
1
*.cocci files (
58
lines of code)
7,486
lines match the content pattern.
details...
per component - primary logical decomposition
drivers
in 2518 files, 2,576,805 LOC (23%)
arch
in 350 files, 180,010 LOC (11%)
sound
in 221 files, 229,220 LOC (25%)
fs
in 177 files, 232,976 LOC (25%)
net
in 162 files, 170,912 LOC (21%)
include
in 94 files, 36,336 LOC (5%)
tools
in 60 files, 65,835 LOC (17%)
kernel
in 25 files, 38,189 LOC (18%)
scripts
in 17 files, 7,305 LOC (5%)
lib
in 4 files, 3,461 LOC (3%)
mm
in 23 files, 38,834 LOC (43%)
security
in 23 files, 10,628 LOC (16%)
crypto
in 3 files, 1,475 LOC (2%)
block
in 5 files, 5,477 LOC (15%)
virt
in 1 file 3,482 LOC (19%)
ipc
in 1 file 1,312 LOC (19%)