microsoft / Windows-driver-samples
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
170,412 LOC (16%)
215 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
170,412 LOC (16%)
215 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
215
files match defined criteria (
170,412
lines of code,
16.9%
vs. main code):
81
*.c files (
128,288
lines of code)
69
*.cpp files (
24,812
lines of code)
63
*.h files (
15,874
lines of code)
2
*.cxx files (
1,438
lines of code)
610
lines match the content pattern.
details...
per component - primary logical decomposition
network
in 66 files, 115,363 LOC (37%)
storage
in 2 files, 1,239 LOC (1%)
usb
in 40 files, 18,388 LOC (22%)
filesys
in 10 files, 7,620 LOC (9%)
general
in 29 files, 4,246 LOC (6%)
audio
in 4 files, 799 LOC (1%)
avstream
in 13 files, 8,946 LOC (24%)
wpd
in 7 files, 1,580 LOC (4%)
wia
in 1 file 561 LOC (2%)
serial
in 4 files, 692 LOC (4%)
sensors
in 5 files, 2,113 LOC (13%)
hid
in 2 files, 410 LOC (2%)
pofx
in 1 file 38 LOC (<1%)
bluetooth
in 2 files, 451 LOC (4%)
spb
in 5 files, 1,563 LOC (20%)
video
in 4 files, 1,981 LOC (35%)
input
in 1 file 156 LOC (3%)
biometrics
in 5 files, 1,224 LOC (28%)
nfp
in 1 file 94 LOC (2%)
sd
in 1 file 1,488 LOC (46%)
pos
in 12 files, 1,460 LOC (63%)