facebookincubator / oculus-linux-kernel
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,098,300 LOC (23%)
3299 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
3,098,300 LOC (23%)
3299 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
3299
files match defined criteria (
3,098,300
lines of code,
23.1%
vs. main code):
2,908
*.c files (
2,955,892
lines of code)
388
*.h files (
140,722
lines of code)
1
*.cc files (
1,529
lines of code)
1
*.pl files (
104
lines of code)
1
*.py files (
53
lines of code)
6,722
lines match the content pattern.
details...
per component - primary logical decomposition
drivers
in 2090 files, 2,146,035 LOC (25%)
arch
in 450 files, 205,577 LOC (11%)
fs
in 186 files, 246,125 LOC (30%)
sound
in 204 files, 224,979 LOC (28%)
net
in 164 files, 149,398 LOC (24%)
include
in 86 files, 31,674 LOC (6%)
kernel
in 28 files, 34,609 LOC (23%)
tools
in 31 files, 24,223 LOC (20%)
mm
in 11 files, 11,407 LOC (16%)
lib
in 6 files, 3,966 LOC (5%)
security
in 17 files, 4,631 LOC (8%)
scripts
in 13 files, 5,406 LOC (11%)
crypto
in 2 files, 459 LOC (1%)
block
in 8 files, 7,573 LOC (30%)
virt
in 2 files, 1,097 LOC (13%)
ipc
in 1 file 1,141 LOC (17%)