facebookincubator / BOLT
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
2,521,498 LOC (56%)
3614 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
2,521,498 LOC (56%)
3614 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
3614
files match defined criteria (
2,521,498
lines of code,
57.0%
vs. main code):
2,571
*.cpp files (
2,157,356
lines of code)
845
*.h files (
292,627
lines of code)
64
*.py files (
17,731
lines of code)
28
*.inc files (
12,989
lines of code)
27
*.cmake files (
8,990
lines of code)
3
*.hpp files (
6,046
lines of code)
13
*.c files (
5,460
lines of code)
2
*.mm files (
3,989
lines of code)
2
*.awk files (
3,625
lines of code)
31
*.gn files (
2,434
lines of code)
3
*.html files (
2,278
lines of code)
2
*.js files (
1,502
lines of code)
1
*.natvis files (
1,003
lines of code)
1
*.pyi files (
821
lines of code)
1
*.css files (
777
lines of code)
3
*.cu files (
574
lines of code)
1
*.cc files (
567
lines of code)
3
*.f90 files (
537
lines of code)
2
*.yml files (
425
lines of code)
1
*.i files (
403
lines of code)
1
*.cs files (
358
lines of code)
1
*.xml files (
298
lines of code)
3
*.gni files (
241
lines of code)
2
*.bzl files (
165
lines of code)
1
*.pl files (
163
lines of code)
1
*.cl files (
129
lines of code)
1
*.in files (
10
lines of code)
13,489
lines match the content pattern.
details...
per component - primary logical decomposition
llvm
in 1583 files, 1,180,094 LOC (62%)
clang
in 708 files, 619,801 LOC (71%)
lldb
in 273 files, 207,623 LOC (42%)
mlir
in 273 files, 124,087 LOC (59%)
polly
in 43 files, 26,195 LOC (15%)
clang-tools-extra
in 234 files, 88,194 LOC (54%)
compiler-rt
in 135 files, 57,772 LOC (35%)
flang
in 129 files, 65,477 LOC (50%)
openmp
in 59 files, 61,458 LOC (67%)
libcxx
in 40 files, 16,927 LOC (25%)
lld
in 41 files, 27,442 LOC (47%)
bolt
in 23 files, 24,037 LOC (46%)
libc
in 38 files, 2,317 LOC (9%)
libclc
in 10 files, 348 LOC (1%)
libunwind
in 5 files, 7,370 LOC (52%)
libcxxabi
in 4 files, 5,693 LOC (54%)
pstl
in 11 files, 6,285 LOC (64%)
utils
in 4 files, 279 LOC (14%)
cmake
in 1 file 99 LOC (51%)