facebook / flow
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
134,321 LOC (55%)
132 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
134,321 LOC (55%)
132 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
132
files match defined criteria (
134,321
lines of code,
55.6%
vs. main code):
115
*.ml files (
120,075
lines of code)
11
*.js files (
12,862
lines of code)
3
*.c files (
1,142
lines of code)
2
*.mli files (
156
lines of code)
1
*.h files (
86
lines of code)
568
lines match the content pattern.
details...
per component - primary logical decomposition
src/typing
in 33 files, 52,018 LOC (80%)
src/parser
in 11 files, 11,978 LOC (57%)
src/parser_utils
in 11 files, 12,769 LOC (63%)
src/hack_forked
in 5 files, 3,509 LOC (19%)
src/services
in 19 files, 10,443 LOC (59%)
src/common
in 9 files, 6,909 LOC (43%)
newtests/lsp
in 2 files, 2,430 LOC (15%)
lib
in 4 files, 9,090 LOC (88%)
src/commands
in 8 files, 2,715 LOC (27%)
src/analysis
in 6 files, 6,711 LOC (72%)
src/server
in 3 files, 2,921 LOC (50%)
src/lsp
in 4 files, 3,572 LOC (92%)
src/codemods
in 5 files, 1,922 LOC (54%)
src/monitor
in 2 files, 1,251 LOC (38%)
packages/flow-dev-tools
in 1 file 220 LOC (7%)
src/heap
in 2 files, 2,325 LOC (84%)
website/_webpack
in 1 file 489 LOC (20%)
src/state
in 1 file 1,172 LOC (69%)
src/parsing
in 1 file 830 LOC (85%)
new_website/src
in 1 file 257 LOC (32%)
src
in 1 file 414 LOC (76%)
newtests/shadow
in 1 file 317 LOC (99%)
newtests/declare_module_imports
in 1 file 59 LOC (100%)