instagram / LibCST
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
16,481 LOC (40%)
19 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
16,481 LOC (40%)
19 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
19
files match defined criteria (
16,481
lines of code,
40.3%
vs. main code):
5
*.rs files (
8,852
lines of code)
14
*.py files (
7,629
lines of code)
40
lines match the content pattern.
details...
per component - primary logical decomposition
native/libcst
in 5 files, 8,852 LOC (69%)
libcst
in 2 files, 178 LOC (2%)
libcst/_parser
in 5 files, 1,715 LOC (30%)
libcst/_nodes
in 3 files, 2,602 LOC (48%)
libcst/codemod
in 2 files, 1,421 LOC (32%)
libcst/matchers
in 1 file 980 LOC (50%)
libcst/metadata
in 1 file 733 LOC (44%)