facebook / kuduraft
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
30,900 LOC (20%)
69 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
30,900 LOC (20%)
69 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
69
files match defined criteria (
30,900
lines of code,
20.4%
vs. main code):
37
*.cc files (
22,096
lines of code)
23
*.h files (
6,687
lines of code)
5
*.proto files (
1,510
lines of code)
3
*.py files (
463
lines of code)
1
*.js files (
144
lines of code)
111
lines match the content pattern.
details...
per component - primary logical decomposition
src/kudu/util
in 29 files, 9,980 LOC (24%)
src/kudu/gutil
in 4 files, 3,721 LOC (13%)
src/kudu/consensus
in 10 files, 10,253 LOC (46%)
src/kudu/rpc
in 13 files, 3,851 LOC (26%)
src/kudu/fs
in 1 file 100 LOC (1%)
src/kudu/common
in 3 files, 1,183 LOC (64%)
src/kudu/tserver
in 2 files, 237 LOC (14%)
src/kudu/server
in 2 files, 808 LOC (54%)
build-support
in 2 files, 309 LOC (25%)
src/kudu/clock
in 1 file 160 LOC (14%)
www
in 1 file 144 LOC (14%)
src/kudu/scripts
in 1 file 154 LOC (19%)