facebook / watchman
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
18,394 LOC (34%)
53 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
18,394 LOC (34%)
53 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
53
files match defined criteria (
18,394
lines of code,
34.7%
vs. main code):
25
*.cpp files (
9,264
lines of code)
10
*.py files (
3,324
lines of code)
5
*.rs files (
1,656
lines of code)
1
*.c files (
986
lines of code)
1
*.scss files (
814
lines of code)
2
*.cmake files (
781
lines of code)
3
*.thrift files (
679
lines of code)
3
*.h files (
501
lines of code)
1
*.java files (
212
lines of code)
2
*.html files (
177
lines of code)
75
lines match the content pattern.
details...
per component - primary logical decomposition
watchman
in 11 files, 4,129 LOC (30%)
build/fbcode_builder
in 10 files, 3,825 LOC (43%)
watchman/rust
in 4 files, 1,310 LOC (30%)
watchman/watcher
in 5 files, 2,612 LOC (74%)
watchman/query
in 4 files, 617 LOC (21%)
watchman/python
in 2 files, 1,204 LOC (43%)
watchman/root
in 2 files, 811 LOC (44%)
watchman/java
in 1 file 212 LOC (11%)
watchman/cmds
in 3 files, 832 LOC (48%)
watchman/integration
in 1 file 62 LOC (5%)
watchman/winbuild
in 2 files, 517 LOC (49%)
website/_sass
in 1 file 814 LOC (80%)
website/_includes
in 2 files, 177 LOC (19%)
watchman/scm
in 1 file 247 LOC (32%)
eden/fs
in 3 files, 679 LOC (90%)
watchman/cli
in 1 file 346 LOC (87%)