facebook / fbghc
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
175,522 LOC (36%)
203 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
175,522 LOC (36%)
203 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
203
files match defined criteria (
175,522
lines of code,
36.8%
vs. main code):
165
*.hs files (
146,042
lines of code)
19
*.c files (
14,643
lines of code)
2
*.y files (
4,623
lines of code)
1
*.pp files (
2,787
lines of code)
1
*.x files (
2,737
lines of code)
8
*.h files (
2,049
lines of code)
2
*.py files (
1,389
lines of code)
1
*.in files (
746
lines of code)
2
*.hsc files (
432
lines of code)
1
*.d files (
58
lines of code)
1
*.yaml files (
16
lines of code)
364
lines match the content pattern.
details...
per component - primary logical decomposition
compiler
in 112 files, 131,821 LOC (42%)
libraries
in 20 files, 11,557 LOC (14%)
rts
in 21 files, 14,853 LOC (30%)
utils
in 4 files, 3,427 LOC (26%)
hadrian
in 34 files, 5,526 LOC (63%)
includes
in 7 files, 2,414 LOC (37%)
ghc
in 1 file 3,489 LOC (63%)
testsuite
in 2 files, 1,389 LOC (46%)
mk
in 1 file 746 LOC (76%)
distrib
in 1 file 300 LOC (37%)