facebookresearch / ParlAI
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
19,848 LOC (22%)
52 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
19,848 LOC (22%)
52 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
52
files match defined criteria (
19,848
lines of code,
22.2%
vs. main code):
48
*.py files (
18,624
lines of code)
2
*.jsx files (
794
lines of code)
2
*.js files (
430
lines of code)
97
lines match the content pattern.
details...
per component - primary logical decomposition
parlai/tasks
in 6 files, 1,697 LOC (5%)
parlai/crowdsourcing
in 15 files, 4,639 LOC (37%)
parlai/agents
in 12 files, 2,580 LOC (21%)
parlai/core
in 9 files, 8,000 LOC (71%)
parlai/scripts
in 1 file 743 LOC (16%)
parlai/utils
in 1 file 481 LOC (14%)
parlai/chat_service
in 3 files, 415 LOC (14%)
projects/blenderbot2
in 1 file 622 LOC (39%)
projects/image_chat
in 1 file 271 LOC (42%)
parlai/torchscript
in 1 file 34 LOC (5%)
parlai/nn
in 1 file 295 LOC (97%)
ROOT
in 1 file 71 LOC (56%)