facebookresearch / fairscale
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
5,521 LOC (30%)
18 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
5,521 LOC (30%)
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 (
5,521
lines of code,
30.7%
vs. main code):
12
*.py files (
3,459
lines of code)
5
*.pyi files (
1,951
lines of code)
1
*.cuh files (
111
lines of code)
28
lines match the content pattern.
details...
per component - primary logical decomposition
fairscale/nn
in 2 files, 1,397 LOC (23%)
fairscale/experimental
in 5 files, 796 LOC (20%)
stubs/torch
in 5 files, 1,951 LOC (53%)
fairscale/optim
in 3 files, 665 LOC (57%)
fairscale/utils
in 2 files, 601 LOC (70%)
fairscale/clib
in 1 file 111 LOC (30%)