epam / AIRUN-Assistants-Benchmark-CodeBase
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
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.

main3079 LOC (41%) 188 files
test944 LOC (12%) 75 files
generated0 LOC (0%) 0 files
build and deployment2844 LOC (38%) 122 files
other588 LOC (7%) 32 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 ".*".
  • 188 files match defined criteria (3,079 LOC, 100.0% vs. main code):
    • 78 *.java files (1,653 LOC)
    • 103 *.cs files (1,392 LOC)
    • 7 *.ts files (34 LOC)
  • " *.java" is biggest, containing 53.69% of LOC.
  • " *.ts" is smallest, containing 1.1% of LOC.


*.java1653 LOC (53%) 78 files
*.cs1392 LOC (45%) 103 files
*.ts34 LOC (1%) 7 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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
  • 75 files match defined criteria (944 LOC, 30.7% vs. main code):
    • 23 *.csproj files (445 LOC)
    • 29 *.cs files (139 LOC)
    • 14 *.java files (139 LOC)
    • 7 *.js files (119 LOC)
    • 2 *.xml files (102 LOC)
  • " *.csproj" is biggest, containing 47.14% of LOC.
  • " *.xml" is smallest, containing 10.81% of LOC.


*.csproj445 LOC (47%) 23 files
*.cs139 LOC (14%) 29 files
*.java139 LOC (14%) 14 files
*.js119 LOC (12%) 7 files
*.xml102 LOC (10%) 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 ".*/pom[.]xml".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 122 files match defined criteria (2,844 LOC, 92.4% vs. main code):
    • 34 *.xml files (1,581 LOC)
    • 82 *.csproj files (1,123 LOC)
    • 6 *.gradle files (140 LOC)
  • " *.xml" is biggest, containing 55.59% of LOC.
  • " *.gradle" is smallest, containing 4.92% of LOC.


*.xml1581 LOC (55%) 34 files
*.csproj1123 LOC (39%) 82 files
*.gradle140 LOC (4%) 6 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • 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 ".*/[.]gitignore".
  • 32 files match defined criteria (588 LOC, 19.1% vs. main code):
    • 21 *.json files (351 LOC)
    • 1 *.txt files (142 LOC)
    • 2 *.md files (70 LOC)
    • 8 *.properties files (25 LOC)
  • " *.json" is biggest, containing 59.69% of LOC.
  • " *.properties" is smallest, containing 4.25% of LOC.


*.json351 LOC (59%) 21 files
*.txt142 LOC (24%) 1 file
*.md70 LOC (11%) 2 files
*.properties25 LOC (4%) 8 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:36