apple / darwin-xnu
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
360,138 LOC (31%)
220 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
360,138 LOC (31%)
220 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
220
files match defined criteria (
360,138
lines of code,
32.0%
vs. main code):
148
*.c files (
290,521
lines of code)
15
*.cpp files (
45,774
lines of code)
41
*.h files (
15,509
lines of code)
7
*.s files (
4,734
lines of code)
9
*.py files (
3,600
lines of code)
474
lines match the content pattern.
details...
per component - primary logical decomposition
bsd
in 75 files, 157,798 LOC (27%)
osfmk
in 98 files, 142,890 LOC (45%)
iokit
in 16 files, 34,841 LOC (44%)
libkern
in 12 files, 16,070 LOC (28%)
EXTERNAL_HEADERS
in 1 file 102 LOC (<1%)
tools
in 9 files, 3,600 LOC (13%)
pexpert
in 2 files, 968 LOC (7%)
libsyscall
in 4 files, 2,475 LOC (19%)
san
in 2 files, 494 LOC (9%)
libkdd
in 1 file 900 LOC (37%)