Analysis scope, overview of main, test, generated, deployment, build, and other code.
10 extensions are included in analyses: py, json, ts, md, js, txt, npmignore, gitignore, sh, yml
8 criteria are used to exclude files from analysis:
exclude files with path like ".*/[.][a-zA-Z0-9_]+.* " (Hidden files and folders) (8 files).
exclude files with path like ".*/bin/.* " (Binaries for distribution) (6 files).
exclude files with path like ".*\.d\.ts " (Typescript definition files) (2 files).
exclude files with path like ".*/docs/.* " (Documentation) (4 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 ".*[.]txt " (Text files) (4 files).
exclude files with path like ".*/sokrates_conventions[.]json " (Sokrates scoping conventions) (1 file).
The source code folder contains 130 files:
88 files are included in analyses.
42 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 32 LOC (<1%) 3 files
The following criteria are used to filter files:
files with paths like ".* ".
45 files match defined criteria (3,617 lines of code, 100.0% vs. main code):
35 *.py files (3,037 lines of code)
6 *.ts files (548 lines of code)
4 *.js files (32 lines of code)
" *.py" is biggest, containing 83.96% of code.
" *.js" is smallest, containing 0.88% of code.
*.py 3037 LOC (83%) 35 files
*.ts 548 LOC (15%) 6 files
*.js 32 LOC (<1%) 4 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 any line of content like ".*/simpletest/.* ".
5 files match defined criteria (45 lines of code, 1.2% vs. main code):
4 *.ts files (33 lines of code)
1 *.js files (12 lines of code)
" *.ts" is biggest, containing 73.33% of code.
" *.js" is smallest, containing 26.67% of code.
*.ts 33 LOC (73%) 4 files
*.js 12 LOC (26%) 1 files
The following criteria are used to filter files:
files with paths like ".*[.]sh ".
files with paths like ".*/package[.]json ".
files with paths like ".*[.]git[a-z]+ ".
files with paths like ".*/[.]gitignore ".
3 files match defined criteria (32 lines of code, 0.9% vs. main code). All matches are in *.sh files.
*.sh 32 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 ".*[.]json ".
files with paths like ".*[.]txt ".
files with paths like ".*/[.]npmignore ".
files with paths like ".*/[.]gitignore ".
35 files match defined criteria (12,824 lines of code, 354.5% vs. main code):
24 *.json files (11,886 lines of code)
11 *.md files (938 lines of code)
" *.json" is biggest, containing 92.69% of code.
" *.md" is smallest, containing 7.31% of code.
*.json 11886 LOC (92%) 24 files
*.md 938 LOC (7%) 11 files
*.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
*.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
*.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-01-31 17:52