epam / epam-kafka
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
cmd
props
editorconfig
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.

main7219 LOC (46%) 129 files
test5719 LOC (36%) 76 files
generated0 LOC (0%) 0 files
build and deployment236 LOC (1%) 11 files
other2367 LOC (15%) 35 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 129 files match defined criteria (7,219 LOC, 100.0% vs. main code):
    • 127 *.cs files (7,168 LOC)
    • 1 *.props files (40 LOC)
    • 1 *.cmd files (11 LOC)
  • " *.cs" is biggest, containing 99.29% of LOC.
  • " *.cmd" is smallest, containing 0.15% of LOC.


*.cs7168 LOC (99%) 127 files
*.props40 LOC (<1%) 1 file
*.cmd11 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
props
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 76 files match defined criteria (5,719 LOC, 79.2% vs. main code):
    • 67 *.cs files (5,597 LOC)
    • 6 *.csproj files (94 LOC)
    • 1 *.props files (26 LOC)
    • 2 *.cmd files (2 LOC)
  • " *.cs" is biggest, containing 97.87% of LOC.
  • " *.cmd" is smallest, containing 0.03% of LOC.


*.cs5597 LOC (97%) 67 files
*.csproj94 LOC (1%) 6 files
*.props26 LOC (<1%) 1 file
*.cmd2 LOC (<1%) 2 files
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 ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 11 files match defined criteria (236 LOC, 3.3% vs. main code). All matches are in *.csproj files.


*.csproj236 LOC (100%) 11 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 35 files match defined criteria (2,367 LOC, 32.8% vs. main code):
    • 23 *.json files (1,442 LOC)
    • 5 *.txt files (627 LOC)
    • 7 *.md files (298 LOC)
  • " *.json" is biggest, containing 60.92% of LOC.
  • " *.md" is smallest, containing 12.59% of LOC.


*.json1442 LOC (60%) 23 files
*.txt627 LOC (26%) 5 files
*.md298 LOC (12%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:36