pytorch / text
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
1,382 LOC (20%)
10 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
1,382 LOC (20%)
10 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
10
files match defined criteria (
1,382
lines of code,
20.4%
vs. main code):
7
*.py files (
755
lines of code)
2
*.cpp files (
549
lines of code)
1
*.h files (
78
lines of code)
11
lines match the content pattern.
details...
per component - primary logical decomposition
torchtext/csrc
in 3 files, 627 LOC (41%)
torchtext/datasets
in 2 files, 76 LOC (6%)
torchtext/data
in 4 files, 580 LOC (96%)
torchtext/models
in 1 file 99 LOC (16%)