epam / java-cme-mdp3-handler
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
feature
txt
properties
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.

main7053 LOC (12%) 116 files
test50138 LOC (85%) 134 files
generated713 LOC (1%) 12 files
build and deployment238 LOC (<1%) 6 files
other398 LOC (<1%) 1 file
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 ".*".
  • 116 files match defined criteria (7,053 LOC, 100.0% vs. main code). All matches are in *.java files.


*.java7053 LOC (100%) 116 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]feature".
  • 134 files match defined criteria (50,138 LOC, 710.9% vs. main code):
    • 123 *.java files (36,543 LOC)
    • 6 *.xml files (13,539 LOC)
    • 5 *.feature files (56 LOC)
  • " *.java" is biggest, containing 72.88% of LOC.
  • " *.feature" is smallest, containing 0.11% of LOC.


*.java36543 LOC (72%) 123 files
*.xml13539 LOC (27%) 6 files
*.feature56 LOC (<1%) 5 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "// This file was generated .*".
  • 12 files match defined criteria (713 LOC, 10.1% vs. main code). All matches are in *.java files.


*.java713 LOC (100%) 12 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".
  • 6 files match defined criteria (238 LOC, 3.4% vs. main code):
    • 5 *.gradle files (162 LOC)
    • 1 *.bat files (76 LOC)
  • " *.gradle" is biggest, containing 68.07% of LOC.
  • " *.bat" is smallest, containing 31.93% of LOC.


*.gradle162 LOC (68%) 5 files
*.bat76 LOC (31%) 1 file
Other Code
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".
  • 1 file matches defined criteria (398 LOC, 5.6% vs. main code). All matches are in *.md files.


*.md398 LOC (100%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:07