Analysis scope, overview of main, test, generated, deployment, build, and other code.
9 extensions are included in analyses: yml, js, json, sh, md, txt, gitignore, html, properties
5 criteria are used to exclude files from analysis:
exclude files with path like ".*/[.][a-zA-Z0-9_]+.* " (Hidden files and folders) (2 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).
exclude files with path like ".*/sokrates_conventions[.]json " (Sokrates scoping conventions) (1 file).
The source code folder contains 46 files:
39 files are included in analyses.
7 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 38 LOC (<1%) 5 files
The following criteria are used to filter files:
files with paths like ".* ".
21 files match defined criteria (2,722 lines of code, 100.0% vs. main code):
14 *.yml files (2,140 lines of code)
6 *.js files (495 lines of code)
1 *.html files (87 lines of code)
" *.yml" is biggest, containing 78.62% of code.
" *.html" is smallest, containing 3.2% of code.
*.yml 2140 LOC (78%) 14 files
*.js 495 LOC (18%) 6 files
*.html 87 LOC (3%) 1 files
The following criteria are used to filter files:
files with paths like ".*[-]test[-].* ".
files with paths like ".*/[Tt]est/.* ".
files with any line of content like ".*/simpletest/.* ".
4 files match defined criteria (104 lines of code, 3.8% vs. main code):
2 *.js files (82 lines of code)
2 *.yml files (22 lines of code)
" *.js" is biggest, containing 78.85% of code.
" *.yml" is smallest, containing 21.15% of code.
*.js 82 LOC (78%) 2 files
*.yml 22 LOC (21%) 2 files
The following criteria are used to filter files:
files with paths like ".*/npm[-]shrinkwrap[.]json ".
1 file matches defined criteria (1,598 lines of code, 58.7% vs. main code). All matches are in *.json files.
*.json 1598 LOC (100%) 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 ".
5 files match defined criteria (38 lines of code, 1.4% vs. main code). All matches are in *.sh files.
*.sh 38 LOC (100%) 5 files
The following criteria are used to filter files:
files with paths like ".*[.]md ".
files with paths like ".*[.]json ".
files with paths like ".*/README[.][a-z0-9]+ ".
files with paths like ".*[.]txt ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*[.]properties ".
9 files match defined criteria (1,782 lines of code, 65.5% vs. main code):
6 *.json files (1,668 lines of code)
2 *.md files (106 lines of code)
1 *.properties files (8 lines of code)
" *.json" is biggest, containing 93.6% of code.
" *.properties" is smallest, containing 0.45% of code.
*.json 1668 LOC (93%) 6 files
*.md 106 LOC (5%) 2 files
*.properties 8 LOC (<1%) 1 files
*.yml 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
*.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
*.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
2022-01-31 15:42