facebookincubator / Portal-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,253,817 LOC (22%)
3434 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
3,253,817 LOC (22%)
3434 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
3434
files match defined criteria (
3,253,817
lines of code,
22.1%
vs. main code):
3,018
*.c files (
3,100,196
lines of code)
413
*.h files (
151,888
lines of code)
1
*.cc files (
1,579
lines of code)
1
*.pl files (
104
lines of code)
1
*.py files (
50
lines of code)
6,968
lines match the content pattern.
details...
per component - primary logical decomposition
drivers
in 2203 files, 2,284,554 LOC (24%)
arch
in 427 files, 193,388 LOC (10%)
sound
in 226 files, 240,383 LOC (26%)
fs
in 191 files, 234,389 LOC (29%)
net
in 175 files, 163,204 LOC (25%)
include
in 88 files, 32,612 LOC (5%)
kernel
in 26 files, 39,272 LOC (23%)
tools
in 40 files, 32,533 LOC (20%)
lib
in 5 files, 3,992 LOC (5%)
mm
in 12 files, 10,435 LOC (14%)
security
in 17 files, 4,764 LOC (8%)
scripts
in 14 files, 5,756 LOC (11%)
crypto
in 2 files, 459 LOC (1%)
block
in 7 files, 6,934 LOC (26%)
ipc
in 1 file 1,142 LOC (18%)