Analysis scope, overview of main, test, generated, deployment, build, and other code.
11 extensions are included in analyses: sql, tab, rb, md, vw, txt, sh, js, ddl, pls, json
4 criteria are used to exclude files from analysis:
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) (3 files).
exclude files with path like ".*/sokrates_conventions[.]json " (Sokrates scoping conventions) (1 file).
The source code folder contains 200 files:
189 files are included in analyses.
11 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 18 LOC (<1%) 2 files
The following criteria are used to filter files:
files with paths like ".* ".
31 files match defined criteria (962 lines of code, 100.0% vs. main code):
21 *.rb files (706 lines of code)
7 *.vw files (128 lines of code)
1 *.ddl files (90 lines of code)
1 *.pls files (32 lines of code)
1 *.js files (6 lines of code)
" *.rb" is biggest, containing 73.39% of code.
" *.js" is smallest, containing 0.62% of code.
*.rb 706 LOC (73%) 21 files
*.vw 128 LOC (13%) 7 files
*.ddl 90 LOC (9%) 1 files
*.pls 32 LOC (3%) 1 files
*.js 6 LOC (<1%) 1 files
The following criteria are used to filter files:
files with paths like ".*[.]sh ".
2 files match defined criteria (18 lines of code, 1.9% vs. main code). All matches are in *.sh files.
*.sh 18 LOC (100%) 2 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 ".*[.]tab ".
files with paths like ".*[.]txt ".
files with paths like ".*[.]json ".
files with paths like ".*[.](xml|xsd|robot|sql|pgsql|dashboard|profile|ipynb|raml|avsc|al) ".
156 files match defined criteria (50,068 lines of code, 5204.6% vs. main code):
100 *.sql files (47,167 lines of code)
48 *.tab files (2,073 lines of code)
8 *.md files (828 lines of code)
" *.sql" is biggest, containing 94.21% of code.
" *.md" is smallest, containing 1.65% of code.
*.sql 47167 LOC (94%) 100 files
*.tab 2073 LOC (4%) 48 files
*.md 828 LOC (1%) 8 files
*.rb files are analyzed with RubyAnalyzer:
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
Basic heuristic dependency analysis
*.vw files are analyzed with SqlAnalyzer:
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
*.ddl files are analyzed with SqlAnalyzer:
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
*.pls files are analyzed with PlSqlAnalyzer:
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)
*.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 15:40