facebookincubator / antlir
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
3,488 LOC (8%)
18 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
3,488 LOC (8%)
18 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
18
files match defined criteria (
3,488
lines of code,
8.2%
vs. main code):
8
*.py files (
1,425
lines of code)
6
*.rs files (
1,024
lines of code)
3
*.bzl files (
998
lines of code)
1
*.thrift files (
41
lines of code)
24
lines match the content pattern.
details...
per component - primary logical decomposition
antlir/bzl
in 4 files, 1,209 LOC (12%)
metalos/lib
in 2 files, 143 LOC (1%)
antlir/rpm
in 5 files, 1,095 LOC (22%)
antlir/compiler
in 1 file 223 LOC (7%)
metalos/metalctl
in 2 files, 348 LOC (13%)
antlir/vm
in 1 file 58 LOC (2%)
antlir/nspawn_in_subvol
in 1 file 49 LOC (2%)
metalos/host_configs
in 2 files, 363 LOC (30%)