epam / HdDateTime
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
properties
gitattributes
txt
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.

main7205 LOC (74%) 44 files
test2002 LOC (20%) 12 files
generated0 LOC (0%) 0 files
build and deployment332 LOC (3%) 7 files
other123 LOC (1%) 3 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 ".*".
  • 44 files match defined criteria (7,205 LOC, 100.0% vs. main code):
    • 19 *.cs files (3,540 LOC)
    • 23 *.java files (3,398 LOC)
    • 1 *.ps1 files (163 LOC)
    • 1 *.cake files (104 LOC)
  • " *.cs" is biggest, containing 49.13% of LOC.
  • " *.cake" is smallest, containing 1.44% of LOC.


*.cs3540 LOC (49%) 19 files
*.java3398 LOC (47%) 23 files
*.ps1163 LOC (2%) 1 file
*.cake104 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/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 12 files match defined criteria (2,002 LOC, 27.8% vs. main code):
    • 4 *.cs files (1,241 LOC)
    • 7 *.java files (735 LOC)
    • 1 *.csproj files (26 LOC)
  • " *.cs" is biggest, containing 61.99% of LOC.
  • " *.csproj" is smallest, containing 1.3% of LOC.


*.cs1241 LOC (61%) 4 files
*.java735 LOC (36%) 7 files
*.csproj26 LOC (1%) 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".
  • 7 files match defined criteria (332 LOC, 4.6% vs. main code):
    • 4 *.gradle files (153 LOC)
    • 1 *.sh files (71 LOC)
    • 1 *.bat files (61 LOC)
    • 1 *.csproj files (47 LOC)
  • " *.gradle" is biggest, containing 46.08% of LOC.
  • " *.csproj" is smallest, containing 14.16% of LOC.


*.gradle153 LOC (46%) 4 files
*.sh71 LOC (21%) 1 file
*.bat61 LOC (18%) 1 file
*.csproj47 LOC (14%) 1 file
Other Code
properties
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 ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 3 files match defined criteria (123 LOC, 1.7% vs. main code):
    • 1 *.md files (75 LOC)
    • 1 *.json files (45 LOC)
    • 1 *.properties files (3 LOC)
  • " *.md" is biggest, containing 60.98% of LOC.
  • " *.properties" is smallest, containing 2.44% of LOC.


*.md75 LOC (60%) 1 file
*.json45 LOC (36%) 1 file
*.properties3 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:11