epam / jsdmx
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
properties
xsl
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.

main7804 LOC (81%) 304 files
test1478 LOC (15%) 20 files
generated0 LOC (0%) 0 files
build and deployment193 LOC (2%) 4 files
other153 LOC (1%) 4 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 ".*".
  • 304 files match defined criteria (7,804 LOC, 100.0% vs. main code). All matches are in *.java files.


*.java7804 LOC (100%) 304 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 20 files match defined criteria (1,478 LOC, 18.9% vs. main code). All matches are in *.java files.


*.java1478 LOC (100%) 20 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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 4 files match defined criteria (193 LOC, 2.5% vs. main code):
    • 3 *.gradle files (125 LOC)
    • 1 *.bat files (68 LOC)
  • " *.gradle" is biggest, containing 64.77% of LOC.
  • " *.bat" is smallest, containing 35.23% of LOC.


*.gradle125 LOC (64%) 3 files
*.bat68 LOC (35%) 1 file
Other Code
xsl
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/config/checkstyle/.*".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
    • 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 (153 LOC, 2.0% vs. main code):
    • 1 *.xsl files (66 LOC)
    • 1 *.xml files (53 LOC)
    • 1 *.md files (26 LOC)
    • 1 *.properties files (8 LOC)
  • " *.xsl" is biggest, containing 43.14% of LOC.
  • " *.properties" is smallest, containing 5.23% of LOC.


*.xsl66 LOC (43%) 1 file
*.xml53 LOC (34%) 1 file
*.md26 LOC (16%) 1 file
*.properties8 LOC (5%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:34