facebook / hhvm
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
279,380 LOC (26%)
325 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
279,380 LOC (26%)
325 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
325
files match defined criteria (
279,380
lines of code,
26.6%
vs. main code):
122
*.ml files (
101,844
lines of code)
85
*.cpp files (
96,809
lines of code)
51
*.rs files (
52,163
lines of code)
27
*.h files (
8,902
lines of code)
8
*.cc files (
7,361
lines of code)
2
*.cmake files (
3,290
lines of code)
11
*.php files (
2,542
lines of code)
3
*.c files (
1,525
lines of code)
5
*.hhi files (
1,410
lines of code)
1
*.mll files (
1,301
lines of code)
1
*.mly files (
1,136
lines of code)
6
*.mli files (
670
lines of code)
1
*.ts files (
237
lines of code)
1
*.hack files (
123
lines of code)
1
*.py files (
67
lines of code)
858
lines match the content pattern.
details...
per component - primary logical decomposition
hphp/runtime
in 103 files, 98,246 LOC (19%)
hphp/hack
in 191 files, 160,132 LOC (38%)
hphp/hhbbc
in 3 files, 5,296 LOC (15%)
hphp/util
in 5 files, 1,360 LOC (3%)
hphp/vixl
in 13 files, 9,956 LOC (79%)
CMake
in 2 files, 3,290 LOC (32%)
hphp/hsl
in 5 files, 333 LOC (4%)
hphp/system
in 1 file 33 LOC (<1%)
hphp/compiler
in 1 file 497 LOC (23%)
hphp/doc
in 1 file 237 LOC (41%)