Analysis scope, overview of main, test, generated, deployment, build, and other code.
11 extensions are included in analyses: cs, cshtml, js, css, md, txt, json, yaml, cfg, gitignore, csproj
12 criteria are used to exclude files from analysis:
exclude files with path like ".*/[.][a-zA-Z0-9_]+.* " (Hidden files and folders) (7 files).
exclude files with path like ".*/docs/.* " (Documentation) (1 file).
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 ".*/dist/.* " (Distributions) (7 files).
exclude files with path like "(?i).*/jquery.*[.]js " (jQuery files) (1 file).
exclude files with path like ".*/bootstrap[.](js|css|less|scss|styl) " (Bootstrap) (0 files).
exclude files with path like ".*/jquery([^.]*)\.validate(\.unobtrusive)?\.js " (jQuery validation plugin (MS bundles this with asp.net mvc)) (0 files).
exclude files with path like ".*jquery[.].*[.]js " (jQuery library) (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).
exclude files with path like ".*/bootstrap[-].* " (Library) (0 files).
The source code folder contains 94 files:
45 files are included in analyses.
49 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 24 LOC (1%) 1 files
The following criteria are used to filter files:
files with paths like ".* ".
37 files match defined criteria (1,582 lines of code, 100.0% vs. main code):
20 *.cs files (1,083 lines of code)
15 *.cshtml files (444 lines of code)
1 *.css files (54 lines of code)
1 *.js files (1 lines of code)
" *.cs" is biggest, containing 68.46% of code.
" *.js" is smallest, containing 0.06% of code.
*.cs 1083 LOC (68%) 20 files
*.cshtml 444 LOC (28%) 15 files
*.css 54 LOC (3%) 1 files
*.js 1 LOC (<1%) 1 files
The following criteria are used to filter files:
files with paths like ".*[.]git[a-z]+ ".
files with paths like ".*/[.]gitignore ".
files with paths like ".*[.]csproj ".
1 file matches defined criteria (24 lines of code, 1.5% vs. main code). All matches are in *.csproj files.
*.csproj 24 LOC (100%) 1 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 ".*/[.]gitignore ".
files with paths like ".*[.]json ".
files with paths like ".*/LICENSE[.][a-z0-9]+ ".
7 files match defined criteria (531 lines of code, 33.6% vs. main code):
4 *.md files (481 lines of code)
3 *.json files (50 lines of code)
" *.md" is biggest, containing 90.58% of code.
" *.json" is smallest, containing 9.42% of code.
*.md 481 LOC (90%) 4 files
*.json 50 LOC (9%) 3 files
*.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)
*.cshtml 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
*.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
*.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 17:19