facebook / openbmc-uboot
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
226,482 LOC (10%)
399 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
226,482 LOC (10%)
399 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
399
files match defined criteria (
226,482
lines of code,
10.4%
vs. main code):
310
*.c files (
195,298
lines of code)
77
*.h files (
25,821
lines of code)
9
*.py files (
2,788
lines of code)
1
*.cc files (
1,577
lines of code)
1
*.boot files (
896
lines of code)
1
*.pl files (
102
lines of code)
678
lines match the content pattern.
details...
per component - primary logical decomposition
drivers
in 170 files, 121,468 LOC (15%)
arch
in 71 files, 31,570 LOC (4%)
board
in 44 files, 9,871 LOC (3%)
include
in 35 files, 8,956 LOC (5%)
lib
in 24 files, 12,862 LOC (16%)
fs
in 13 files, 14,367 LOC (27%)
tools
in 11 files, 6,338 LOC (14%)
cmd
in 4 files, 4,212 LOC (10%)
scripts
in 9 files, 4,727 LOC (14%)
common
in 9 files, 8,978 LOC (28%)
net
in 3 files, 1,269 LOC (19%)
disk
in 1 file 765 LOC (28%)
doc
in 4 files, 720 LOC (36%)
api
in 1 file 379 LOC (46%)