facebook / docusaurus
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
8,800 LOC (24%)
60 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
8,800 LOC (24%)
60 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
60
files match defined criteria (
8,800
lines of code,
24.2%
vs. main code):
37
*.ts files (
6,045
lines of code)
14
*.tsx files (
1,306
lines of code)
2
*.js files (
744
lines of code)
6
*.mjs files (
669
lines of code)
1
*.css files (
36
lines of code)
102
lines match the content pattern.
details...
per component - primary logical decomposition
packages/docusaurus-theme-classic
in 13 files, 1,490 LOC (22%)
website/src
in 1 file 168 LOC (2%)
packages/docusaurus
in 8 files, 1,236 LOC (21%)
packages/docusaurus-plugin-content-docs
in 10 files, 2,489 LOC (65%)
packages/docusaurus-theme-common
in 8 files, 889 LOC (31%)
packages/docusaurus-plugin-content-blog
in 1 file 61 LOC (4%)
packages/docusaurus-utils
in 4 files, 510 LOC (43%)
packages/docusaurus-migrate
in 1 file 56 LOC (4%)
website
in 2 files, 599 LOC (64%)
packages/docusaurus-plugin-pwa
in 1 file 231 LOC (34%)
packages/docusaurus-mdx-loader
in 2 files, 324 LOC (52%)
website/_dogfooding
in 1 file 131 LOC (42%)
packages/docusaurus-plugin-content-pages
in 1 file 8 LOC (2%)
admin/scripts
in 2 files, 219 LOC (100%)
packages/docusaurus-utils-validation
in 1 file 77 LOC (44%)
packages/docusaurus-logger
in 1 file 137 LOC (100%)
ROOT
in 1 file 65 LOC (71%)
packages/docusaurus-remark-plugin-npm2yarn
in 1 file 78 LOC (100%)
packages/docusaurus-utils-common
in 1 file 32 LOC (86%)