Analysis scope, overview of main, test, generated, deployment, build, and other code.
18 extensions are included in analyses: json, py, rst, yaml, cs, txt, tf, sh, java, csproj, md, css, in, gitignore, js, gradle, bat, xml
7 criteria are used to exclude files from analysis:
exclude files with path like ".*/docs/.* " (Documentation) (19 files).
exclude files with path like ".*/docs?/_?(build|themes?|templates?|static)/.* " (Sphinx) (0 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 ".*/[.][a-zA-Z0-9_]+.* " (Hidden files and folders) (1 file).
exclude files with path like ".*[.]txt " (Text files) (2 files).
exclude files with path like ".*/sokrates_conventions[.]json " (Sokrates scoping conventions) (1 file).
The source code folder contains 137 files:
104 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 81 LOC (<1%) 6 files
The following criteria are used to filter files:
files with paths like ".* ".
33 files match defined criteria (5,791 lines of code, 100.0% vs. main code):
14 *.py files (4,214 lines of code)
7 *.yaml files (578 lines of code)
4 *.tf files (407 lines of code)
4 *.cs files (318 lines of code)
1 *.js files (138 lines of code)
2 *.java files (105 lines of code)
1 *.in files (31 lines of code)
" *.py" is biggest, containing 72.77% of code.
" *.in" is smallest, containing 0.54% of code.
*.py 4214 LOC (72%) 14 files
*.yaml 578 LOC (9%) 7 files
*.tf 407 LOC (7%) 4 files
*.cs 318 LOC (5%) 4 files
*.js 138 LOC (2%) 1 files
*.java 105 LOC (1%) 2 files
*.in 31 LOC (<1%) 1 files
The following criteria are used to filter files:
files with paths like ".*_test[.].* ".
files with paths like ".*/test_.* ".
files with any line of content like ".*/simpletest/.* ".
12 files match defined criteria (662 lines of code, 11.4% vs. main code):
11 *.py files (605 lines of code)
1 *.sh files (57 lines of code)
" *.py" is biggest, containing 91.39% of code.
" *.sh" is smallest, containing 8.61% of code.
*.py 605 LOC (91%) 11 files
*.sh 57 LOC (8%) 1 files
The following criteria are used to filter files:
files with paths like ".*[.]gradle ".
files with paths like ".*[.]csproj ".
files with paths like ".*[.]bat ".
files with paths like ".*[.]sh ".
files with paths like ".*[.]git[a-z]+ ".
files with paths like ".*/[.]gitignore ".
6 files match defined criteria (81 lines of code, 1.4% vs. main code):
2 *.csproj files (46 lines of code)
1 *.gradle files (23 lines of code)
3 *.sh files (12 lines of code)
" *.csproj" is biggest, containing 56.79% of code.
" *.sh" is smallest, containing 14.81% of code.
*.csproj 46 LOC (56%) 2 files
*.gradle 23 LOC (28%) 1 files
*.sh 12 LOC (14%) 3 files
The following criteria are used to filter files:
files with paths like ".*[.]md ".
files with paths like ".*[.]json ".
files with paths like ".*[.]txt ".
files with paths like ".*[.](rst|rest|resttxt|rsttxt) ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*/README[.][a-z0-9]+ ".
53 files match defined criteria (7,628 lines of code, 131.7% vs. main code):
51 *.json files (7,265 lines of code)
2 *.md files (363 lines of code)
" *.json" is biggest, containing 95.24% of code.
" *.md" is smallest, containing 4.76% of code.
*.json 7265 LOC (95%) 51 files
*.md 363 LOC (4%) 2 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
*.yaml files are analyzed with YamlAnalyzer:
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
*.tf files are analyzed with YamlAnalyzer:
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
*.cs files are analyzed with CSharpAnalyzer:
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 (based on namespace heuristics)
*.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
*.java files are analyzed with JavaAnalyzer:
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 (based on package names)
*.in files are analyzed with RustAnalyzer:
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 18:18