epam / Zstandard
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
txt
csproj
properties
gitattributes
cake
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.

main5403 LOC (90%) 29 files
test144 LOC (2%) 4 files
generated0 LOC (0%) 0 files
build and deployment216 LOC (3%) 6 files
other194 LOC (3%) 4 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cake
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 29 files match defined criteria (5,403 LOC, 100.0% vs. main code):
    • 17 *.cs files (3,413 LOC)
    • 10 *.java files (1,682 LOC)
    • 1 *.ps1 files (242 LOC)
    • 1 *.cake files (66 LOC)
  • " *.cs" is biggest, containing 63.17% of LOC.
  • " *.cake" is smallest, containing 1.22% of LOC.


*.cs3413 LOC (63%) 17 files
*.java1682 LOC (31%) 10 files
*.ps1242 LOC (4%) 1 file
*.cake66 LOC (1%) 1 file
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 ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 4 files match defined criteria (144 LOC, 2.7% vs. main code):
    • 2 *.cs files (113 LOC)
    • 1 *.java files (16 LOC)
    • 1 *.csproj files (15 LOC)
  • " *.cs" is biggest, containing 78.47% of LOC.
  • " *.csproj" is smallest, containing 10.42% of LOC.


*.cs113 LOC (78%) 2 files
*.java16 LOC (11%) 1 file
*.csproj15 LOC (10%) 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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 6 files match defined criteria (216 LOC, 4.0% vs. main code):
    • 1 *.sh files (85 LOC)
    • 1 *.bat files (61 LOC)
    • 3 *.gradle files (44 LOC)
    • 1 *.csproj files (26 LOC)
  • " *.sh" is biggest, containing 39.35% of LOC.
  • " *.csproj" is smallest, containing 12.04% of LOC.


*.sh85 LOC (39%) 1 file
*.bat61 LOC (28%) 1 file
*.gradle44 LOC (20%) 3 files
*.csproj26 LOC (12%) 1 file
Other Code
txt
properties
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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
  • 4 files match defined criteria (194 LOC, 3.6% vs. main code):
    • 2 *.txt files (178 LOC)
    • 1 *.md files (13 LOC)
    • 1 *.properties files (3 LOC)
  • " *.txt" is biggest, containing 91.75% of LOC.
  • " *.properties" is smallest, containing 1.55% of LOC.


*.txt178 LOC (91%) 2 files
*.md13 LOC (6%) 1 file
*.properties3 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:11