facebook / folly
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,060 LOC (16%)
58 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
30,060 LOC (16%)
58 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
58
files match defined criteria (
30,060
lines of code,
16.8%
vs. main code):
28
*.h files (
16,332
lines of code)
17
*.cpp files (
9,526
lines of code)
8
*.py files (
3,044
lines of code)
3
*.cmake files (
1,078
lines of code)
1
*.pyx files (
46
lines of code)
1
*.pxd files (
34
lines of code)
80
lines match the content pattern.
details...
per component - primary logical decomposition
folly
in 12 files, 9,697 LOC (23%)
folly/experimental
in 9 files, 3,076 LOC (9%)
folly/io
in 7 files, 6,968 LOC (31%)
build/fbcode_builder
in 10 files, 3,825 LOC (43%)
folly/container
in 1 file 1,036 LOC (11%)
folly/synchronization
in 1 file 366 LOC (4%)
folly/fibers
in 1 file 104 LOC (1%)
folly/futures
in 1 file 2,111 LOC (40%)
folly/logging
in 3 files, 342 LOC (7%)
folly/concurrency
in 3 files, 971 LOC (22%)
folly/portability
in 1 file 159 LOC (3%)
folly/detail
in 2 files, 369 LOC (9%)
folly/executors
in 1 file 408 LOC (10%)
folly/lang
in 1 file 16 LOC (<1%)
folly/stats
in 1 file 209 LOC (8%)
CMake
in 1 file 297 LOC (17%)
folly/python
in 3 files, 106 LOC (10%)