whatsapp / otp
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
180,517 LOC (12%)
178 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
180,517 LOC (12%)
178 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
178
files match defined criteria (
180,517
lines of code,
12.3%
vs. main code):
112
*.erl files (
137,058
lines of code)
29
*.c files (
16,717
lines of code)
8
*.cpp files (
6,028
lines of code)
2
*.el files (
5,917
lines of code)
4
*.in files (
4,950
lines of code)
12
*.h files (
4,543
lines of code)
1
*.yrl files (
1,412
lines of code)
2
*.xml files (
1,122
lines of code)
1
*.hpp files (
978
lines of code)
1
*.inc files (
806
lines of code)
4
*.hrl files (
481
lines of code)
1
*.xsl files (
345
lines of code)
1
*.cocci files (
160
lines of code)
371
lines match the content pattern.
details...
per component - primary logical decomposition
erts/emulator
in 22 files, 18,785 LOC (6%)
lib/stdlib
in 3 files, 4,728 LOC (3%)
lib/hipe
in 29 files, 27,239 LOC (32%)
lib/kernel
in 8 files, 4,237 LOC (5%)
lib/snmp
in 4 files, 3,100 LOC (4%)
lib/compiler
in 4 files, 9,022 LOC (16%)
lib/ssl
in 9 files, 13,463 LOC (32%)
lib/common_test
in 3 files, 2,937 LOC (7%)
lib/tools
in 3 files, 8,324 LOC (23%)
lib/dialyzer
in 13 files, 19,262 LOC (55%)
lib/wx
in 2 files, 541 LOC (1%)
lib/inets
in 1 file 918 LOC (3%)
lib/asn1
in 6 files, 13,339 LOC (44%)
lib/ssh
in 8 files, 10,141 LOC (35%)
lib/diameter
in 3 files, 3,999 LOC (15%)
lib/xmerl
in 4 files, 2,788 LOC (12%)
lib/syntax_tools
in 4 files, 5,294 LOC (26%)
lib/erl_interface
in 27 files, 7,581 LOC (38%)
lib/crypto
in 3 files, 3,439 LOC (19%)
lib/public_key
in 2 files, 2,978 LOC (20%)
erts/preloaded
in 2 files, 6,284 LOC (44%)
lib/runtime_tools
in 2 files, 1,133 LOC (9%)
lib/erl_docgen
in 1 file 345 LOC (3%)
lib/edoc
in 7 files, 4,603 LOC (55%)
lib/eunit
in 5 files, 2,414 LOC (52%)
lib/ftp
in 1 file 186 LOC (4%)
erts
in 1 file 3,273 LOC (100%)
erts/example
in 1 file 164 LOC (12%)