DocArchitect
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
cshtml
csproj
razor
mjml
txt
gitattributes
properties
editorconfig
props
mako
ini
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.

main19861 LOC (40%) 123 files
test19243 LOC (39%) 96 files
generated4404 LOC (9%) 17 files
build and deployment600 LOC (1%) 3 files
other4401 LOC (9%) 31 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 ".*".
  • 123 files match defined criteria (19,861 LOC, 100.0% vs. main code):
    • 121 *.java files (19,740 LOC)
    • 1 *.yaml files (105 LOC)
    • 1 *.xml files (16 LOC)
  • " *.java" is biggest, containing 99.39% of LOC.
  • " *.xml" is smallest, containing 0.08% of LOC.


*.java19740 LOC (99%) 121 files
*.yaml105 LOC (<1%) 1 file
*.xml16 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 ".*/IntegrationTests?/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/UnitTests?/.*".
    • files with paths like ".*UnitTests[.][a-zA-Z0-9_]+".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/tests_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/testing[.].*".
  • 96 files match defined criteria (19,243 LOC, 96.9% vs. main code):
    • 84 *.java files (18,913 LOC)
    • 3 *.cs files (131 LOC)
    • 5 *.py files (107 LOC)
    • 2 *.xml files (55 LOC)
    • 1 *.toml files (20 LOC)
    • 1 *.csproj files (17 LOC)
  • " *.java" is biggest, containing 98.29% of LOC.
  • " *.csproj" is smallest, containing 0.09% of LOC.


*.java18913 LOC (98%) 84 files
*.cs131 LOC (<1%) 3 files
*.py107 LOC (<1%) 5 files
*.xml55 LOC (<1%) 2 files
*.toml20 LOC (<1%) 1 file
*.csproj17 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/src/main/antlr4/.*\.java".
    • files with paths like ".*/src/main/antlr4/.*\.g4".
  • 17 files match defined criteria (4,404 LOC, 22.2% vs. main code):
    • 9 *.g4 files (3,828 LOC)
    • 8 *.java files (576 LOC)
  • " *.g4" is biggest, containing 86.92% of LOC.
  • " *.java" is smallest, containing 13.08% of LOC.


*.g43828 LOC (86%) 9 files
*.java576 LOC (13%) 8 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]gradle".
  • 3 files match defined criteria (600 LOC, 3.0% vs. main code). All matches are in *.xml files.


*.xml600 LOC (100%) 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 ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
  • 31 files match defined criteria (4,401 LOC, 22.2% vs. main code):
    • 26 *.sh files (2,432 LOC)
    • 2 *.txt files (1,408 LOC)
    • 3 *.md files (561 LOC)
  • " *.sh" is biggest, containing 55.26% of LOC.
  • " *.md" is smallest, containing 12.75% of LOC.


*.sh2432 LOC (55%) 26 files
*.txt1408 LOC (31%) 2 files
*.md561 LOC (12%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2026-02-09 03:03