Analysis scope, overview of main, test, generated, deployment, build, and other code.
9 extensions are included in analyses: js, json, md, txt, sh, css, gitignore, html, yaml
5 criteria are used to exclude files from analysis:
exclude files with path like ".*/[.][a-zA-Z0-9_]+.* " (Hidden files and folders) (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) (3 files).
exclude files with path like ".*/sokrates_conventions[.]json " (Sokrates scoping conventions) (1 file).
The source code folder contains 42 files:
33 files are included in analyses.
9 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 66 LOC (<1%) 2 files
The following criteria are used to filter files:
files with paths like ".* ".
13 files match defined criteria (1,519 lines of code, 100.0% vs. main code):
10 *.js files (787 lines of code)
1 *.yaml files (675 lines of code)
1 *.css files (40 lines of code)
1 *.html files (17 lines of code)
" *.js" is biggest, containing 51.81% of code.
" *.html" is smallest, containing 1.12% of code.
*.js 787 LOC (51%) 10 files
*.yaml 675 LOC (44%) 1 files
*.css 40 LOC (2%) 1 files
*.html 17 LOC (1%) 1 files
The following criteria are used to filter files:
files with paths like ".*[.]spec[.]js ".
files with any line of content like ".*/simpletest/.* ".
4 files match defined criteria (267 lines of code, 17.6% vs. main code). All matches are in *.js files.
*.js 267 LOC (100%) 4 files
The following criteria are used to filter files:
files with paths like ".*/package[-]lock[.]json ".
2 files match defined criteria (17,651 lines of code, 1162.0% vs. main code). All matches are in *.json files.
*.json 17651 LOC (100%) 2 files
The following criteria are used to filter files:
files with paths like ".*/package[.]json ".
files with paths like ".*/package[-]lock[.]json ".
files with paths like ".*[.]git[a-z]+ ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*[.]sh ".
2 files match defined criteria (66 lines of code, 4.3% vs. main code). All matches are in *.sh files.
*.sh 66 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 ".*[.]txt ".
files with paths like ".*[.]json ".
files with paths like ".*/[Dd]emos?/.* ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*/LICENSE[.][a-z0-9]+ ".
14 files match defined criteria (19,217 lines of code, 1265.1% vs. main code):
8 *.json files (18,935 lines of code)
4 *.md files (170 lines of code)
2 *.js files (112 lines of code)
" *.json" is biggest, containing 98.53% of code.
" *.js" is smallest, containing 0.58% of code.
*.json 18935 LOC (98%) 8 files
*.md 170 LOC (<1%) 4 files
*.js 112 LOC (<1%) 2 files
*.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
*.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
*.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
*.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-02-01 01:14