facebook / react
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
58,655 LOC (55%)
117 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
58,655 LOC (55%)
117 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
117
files match defined criteria (
58,655
lines of code,
55.1%
vs. main code):
113
*.js files (
58,004
lines of code)
1
*.html files (
342
lines of code)
2
*.cpp files (
210
lines of code)
1
*.h files (
99
lines of code)
442
lines match the content pattern.
details...
per component - primary logical decomposition
packages/react-reconciler
in 51 files, 41,059 LOC (94%)
fixtures/legacy-jsx-runtimes
in 9 files, 6,069 LOC (99%)
fixtures/dom
in 1 file 223 LOC (4%)
scripts/rollup
in 5 files, 1,911 LOC (53%)
fixtures/attribute-behavior
in 1 file 2,338 LOC (71%)
packages/react
in 10 files, 1,519 LOC (48%)
scripts/release
in 3 files, 224 LOC (11%)
packages/shared
in 8 files, 403 LOC (21%)
packages/eslint-plugin-react-hooks
in 2 files, 1,451 LOC (80%)
scripts/jest
in 7 files, 1,051 LOC (63%)
packages/scheduler
in 3 files, 996 LOC (63%)
scripts/perf-counters
in 3 files, 309 LOC (23%)
fixtures/devtools
in 1 file 342 LOC (26%)
fixtures/concurrent
in 1 file 134 LOC (27%)
fixtures/blocks
in 7 files, 174 LOC (42%)
scripts/flow
in 1 file 60 LOC (24%)
scripts/shared
in 1 file 141 LOC (60%)
packages/use-sync-external-store
in 1 file 67 LOC (30%)
packages/jest-react
in 1 file 102 LOC (47%)
scripts/error-codes
in 1 file 82 LOC (52%)