facebookincubator / Glean
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
24,075 LOC (35%)
63 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
24,075 LOC (35%)
63 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
63
files match defined criteria (
24,075
lines of code,
35.8%
vs. main code):
40
*.hs files (
14,265
lines of code)
9
*.cpp files (
5,960
lines of code)
1
*.cabal files (
1,695
lines of code)
8
*.h files (
1,440
lines of code)
1
*.thrift files (
526
lines of code)
4
*.rs files (
189
lines of code)
122
lines match the content pattern.
details...
per component - primary logical decomposition
glean/db
in 19 files, 7,848 LOC (52%)
glean/rts
in 11 files, 2,935 LOC (35%)
glean/hs
in 5 files, 1,347 LOC (17%)
glean/lang
in 4 files, 2,826 LOC (44%)
glean/glass
in 8 files, 2,372 LOC (37%)
glean/lib
in 2 files, 791 LOC (15%)
glean/schema
in 2 files, 976 LOC (38%)
glean/tools
in 1 file 165 LOC (8%)
glean/rocksdb
in 1 file 1,282 LOC (71%)
ROOT
in 1 file 1,695 LOC (98%)
glean/client
in 2 files, 575 LOC (48%)
glean/if
in 1 file 526 LOC (71%)
glean/bench
in 1 file 191 LOC (30%)
glean/cpp
in 1 file 357 LOC (59%)
glean/config
in 4 files, 189 LOC (43%)