Analysis scope, overview of main, test, generated, deployment, build, and other code.
11 extensions are included in analyses: py, md, html, ipynb, js, css, gitignore, json, txt, sh, yml
5 criteria are used to exclude files from analysis:
exclude files with path like ".*/docs/.* " (Documentation) (14 files).
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 ".*[.]txt " (Text files) (0 files).
The source code folder contains 130 files:
97 files are included in analyses.
33 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 9 LOC (<1%) 1 files
The following criteria are used to filter files:
files with paths like ".* ".
65 files match defined criteria (4,324 lines of code, 100.0% vs. main code):
49 *.py files (2,907 lines of code)
11 *.html files (1,168 lines of code)
3 *.js files (207 lines of code)
2 *.css files (42 lines of code)
" *.py" is biggest, containing 67.23% of code.
" *.css" is smallest, containing 0.97% of code.
*.py 2907 LOC (67%) 49 files
*.html 1168 LOC (27%) 11 files
*.js 207 LOC (4%) 3 files
*.css 42 LOC (<1%) 2 files
The following criteria are used to filter files:
files with paths like ".*/[Tt]ests/.* ".
files with paths like ".*/test_.* ".
26 files match defined criteria (268 lines of code, 6.2% vs. main code). All matches are in *.py files.
*.py 268 LOC (100%) 26 files
The following criteria are used to filter files:
files with paths like ".*[.]git[a-z]+ ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*/package[.]json ".
files with paths like ".*[.]sh ".
1 file matches defined criteria (9 lines of code, 0.2% vs. main code). All matches are in *.sh 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 ".*/[.]gitignore ".
files with paths like ".*[.]json ".
files with paths like ".*[.]txt ".
5 files match defined criteria (158 lines of code, 3.7% vs. main code):
4 *.md files (127 lines of code)
1 *.json files (31 lines of code)
" *.md" is biggest, containing 80.38% of code.
" *.json" is smallest, containing 19.62% of code.
*.md 127 LOC (80%) 4 files
*.json 31 LOC (19%) 1 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
*.html files are analyzed with HtmlAnalyzer:
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
Advanced 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
*.css files are analyzed with CssAnalyzer:
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)
No unit size analysis
No conditional complexity analysis
No dependency analysis
2022-01-25 19:45