Analysis scope, overview of main, test, generated, deployment, build, and other code.
10 extensions are included in analyses: swift, py, txt, md, c, gitignore, h, plist, cfg, json
5 criteria are used to exclude files from analysis:
exclude files with path like ".*/[.][a-zA-Z0-9_]+.* " (Hidden files and folders) (3 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 ".*/sokrates_conventions[.]json " (Sokrates scoping conventions) (1 file).
exclude files with path like ".*[.]txt " (Text files) (11 files).
The source code folder contains 90 files:
68 files are included in analyses.
22 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 0 LOC (0%) 0 files
The following criteria are used to filter files:
files with paths like ".* ".
52 files match defined criteria (588 lines of code, 100.0% vs. main code):
15 *.py files (249 lines of code)
30 *.swift files (164 lines of code)
1 *.cfg files (155 lines of code)
3 *.c files (13 lines of code)
3 *.h files (7 lines of code)
" *.py" is biggest, containing 42.35% of code.
" *.h" is smallest, containing 1.19% of code.
*.py 249 LOC (42%) 15 files
*.swift 164 LOC (27%) 30 files
*.cfg 155 LOC (26%) 1 files
*.c 13 LOC (2%) 3 files
*.h 7 LOC (1%) 3 files
The following criteria are used to filter files:
files with paths like ".*/[Tt]ests/.* ".
files with paths like ".*_test[.].* ".
files with any line of content like ".*/simpletest/.* ".
7 files match defined criteria (50 lines of code, 8.5% vs. main code). All matches are in *.swift files.
*.swift 50 LOC (100%) 7 files
The following criteria are used to filter files:
files with paths like ".*[.]json ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*[.]md ".
files with paths like ".*/README[.][a-z0-9]+ ".
files with paths like ".*[.]txt ".
files with paths like ".*[.]plist ".
9 files match defined criteria (193 lines of code, 32.8% vs. main code):
8 *.md files (131 lines of code)
1 *.plist files (62 lines of code)
" *.md" is biggest, containing 67.88% of code.
" *.plist" is smallest, containing 32.12% of code.
*.md 131 LOC (67%) 8 files
*.plist 62 LOC (32%) 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
*.swift files are analyzed with SwiftAnalyzer:
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
*.cfg files are analyzed with CfgAnalyzer:
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
*.c files are analyzed with CStyleAnalyzer:
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
*.h files are analyzed with CppAnalyzer:
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-30 21:28