epam / covid-resistance-back-end
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
csproj
txt
dotsettings
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • 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.

main9000 LOC (83%) 146 files
test72 LOC (<1%) 2 files
generated0 LOC (0%) 0 files
build and deployment303 LOC (2%) 19 files
other1398 LOC (12%) 26 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 146 files match defined criteria (9,000 LOC, 100.0% vs. main code):
    • 126 *.cs files (6,937 LOC)
    • 13 *.xml files (829 LOC)
    • 2 *.ps1 files (625 LOC)
    • 2 *.yaml files (530 LOC)
    • 1 *.py files (41 LOC)
    • 2 *.psd1 files (38 LOC)
  • " *.cs" is biggest, containing 77.08% of LOC.
  • " *.psd1" is smallest, containing 0.42% of LOC.


*.cs6937 LOC (77%) 126 files
*.xml829 LOC (9%) 13 files
*.ps1625 LOC (6%) 2 files
*.yaml530 LOC (5%) 2 files
*.py41 LOC (<1%) 1 file
*.psd138 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]UnitTests/.*".
    • files with paths like ".*UnitTests[.][a-zA-Z0-9_]+".
  • 2 files match defined criteria (72 LOC, 0.8% vs. main code):
    • 1 *.cs files (56 LOC)
    • 1 *.csproj files (16 LOC)
  • " *.cs" is biggest, containing 77.78% of LOC.
  • " *.csproj" is smallest, containing 22.22% of LOC.


*.cs56 LOC (77%) 1 file
*.csproj16 LOC (22%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
  • 19 files match defined criteria (303 LOC, 3.4% vs. main code):
    • 16 *.csproj files (299 LOC)
    • 3 *.sh files (4 LOC)
  • " *.csproj" is biggest, containing 98.68% of LOC.
  • " *.sh" is smallest, containing 1.32% of LOC.


*.csproj299 LOC (98%) 16 files
*.sh4 LOC (1%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 26 files match defined criteria (1,398 LOC, 15.5% vs. main code):
    • 23 *.json files (1,232 LOC)
    • 2 *.md files (164 LOC)
    • 1 *.txt files (2 LOC)
  • " *.json" is biggest, containing 88.13% of LOC.
  • " *.txt" is smallest, containing 0.14% of LOC.


*.json1232 LOC (88%) 23 files
*.md164 LOC (11%) 2 files
*.txt2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:09