Analysis scope, overview of main, test, generated, deployment, build, and other code.
10 extensions are included in analyses: py, js, json, ts, md, txt, sh, gitignore, snap, ini
6 criteria are used to exclude files from analysis:
exclude files with path like ".*/[.][a-zA-Z0-9_]+.* " (Hidden files and folders) (6 files).
exclude files with path like ".*/git[-]history[.]txt " (Git history) (1 file).
exclude files with path like ".*/git[-][a-zA-Z0-9_]+[.]txt " (Git data exports for sokrates analyses) (0 files).
exclude files with path like ".*/bin/.* " (Binaries for distribution) (1 file).
exclude files with path like ".*[.]txt " (Text files) (6 files).
exclude files with path like ".*/sokrates_conventions[.]json " (Sokrates scoping conventions) (1 file).
The source code folder contains 126 files:
108 files are included in analyses.
18 files are excluded from analyses:
The main category contains all manually created source code files that are being used in the production . Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity. Test source code files are used only for testing of the product. These files are normally not deployed to production.Build and deployment source code files are used to configure or support build and deployment process.Generated source code files are automatically generated files that have not been manually changed after generation.While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers. Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.
build and deployment 287 LOC (<1%) 3 files
The following criteria are used to filter files:
files with paths like ".* ".
49 files match defined criteria (3,749 lines of code, 100.0% vs. main code):
12 *.ts files (1,768 lines of code)
18 *.py files (1,047 lines of code)
19 *.js files (934 lines of code)
" *.ts" is biggest, containing 47.16% of code.
" *.js" is smallest, containing 24.91% of code.
*.ts 1768 LOC (47%) 12 files
*.py 1047 LOC (27%) 18 files
*.js 934 LOC (24%) 19 files
The following criteria are used to filter files:
files with paths like ".*/[Tt]est/.* ".
files with paths like ".*[.][Tt]est[.].* ".
files with paths like ".*[.]test[.].* ".
files with paths like ".*[.]snap ".
files with paths like ".*/test_.* ".
files with paths like ".*[.]spec[.]js ".
files with any line of content like ".*/simpletest/.* ".
33 files match defined criteria (6,264 lines of code, 167.1% vs. main code):
2 *.snap files (3,841 lines of code)
22 *.py files (2,016 lines of code)
7 *.js files (361 lines of code)
2 *.ts files (46 lines of code)
" *.snap" is biggest, containing 61.32% of code.
" *.ts" is smallest, containing 0.73% of code.
*.snap 3841 LOC (61%) 2 files
*.py 2016 LOC (32%) 22 files
*.js 361 LOC (5%) 7 files
*.ts 46 LOC (<1%) 2 files
The following criteria are used to filter files:
files with paths like ".*/npm[-]shrinkwrap[.]json ".
files with paths like ".*/package[-]lock[.]json ".
3 files match defined criteria (13,436 lines of code, 358.4% vs. main code). All matches are in *.json files.
*.json 13436 LOC (100%) 3 files
The following criteria are used to filter files:
files with paths like ".*/package[.]json ".
files with paths like ".*[.]git[a-z]+ ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*/package[-]lock[.]json ".
files with paths like ".*[.]sh ".
3 files match defined criteria (287 lines of code, 7.7% vs. main code). All matches are in *.sh files.
*.sh 287 LOC (100%) 3 files
The following criteria are used to filter files:
files with paths like ".*[.]md ".
files with paths like ".*/README[.][a-z0-9]+ ".
files with paths like ".*[.]txt ".
files with paths like ".*[.]json ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*[.]ini ".
files with paths like ".*/LICENSE[.][a-z0-9]+ ".
23 files match defined criteria (14,770 lines of code, 394.0% vs. main code):
17 *.json files (14,369 lines of code)
5 *.md files (383 lines of code)
1 *.ini files (18 lines of code)
" *.json" is biggest, containing 97.29% of code.
" *.ini" is smallest, containing 0.12% of code.
*.json 14369 LOC (97%) 17 files
*.md 383 LOC (2%) 5 files
*.ini 18 LOC (<1%) 1 files
*.ts files are analyzed with TypeScriptAnalyzer:
All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
Unit size analysis
Conditional complexity analysis
No dependency analysis
*.py files are analyzed with PythonAnalyzer:
All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
Unit size analysis
Conditional complexity analysis
Basic heuristic dependency analysis
*.js files are analyzed with JavaScriptAnalyzer:
All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
Unit size analysis
Conditional complexity analysis
No dependency analysis
2022-02-01 01:24