epam / Gepard
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
txt
properties
feature
xsl
wsdl
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.

main6090 LOC (47%) 108 files
test1533 LOC (11%) 25 files
generated0 LOC (0%) 0 files
build and deployment353 LOC (2%) 14 files
other4967 LOC (38%) 111 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 108 files match defined criteria (6,090 LOC, 100.0% vs. main code):
    • 102 *.java files (5,527 LOC)
    • 2 *.xml files (289 LOC)
    • 1 *.wsdl files (153 LOC)
    • 3 *.html files (121 LOC)
  • " *.java" is biggest, containing 90.76% of LOC.
  • " *.html" is smallest, containing 1.99% of LOC.


*.java5527 LOC (90%) 102 files
*.xml289 LOC (4%) 2 files
*.wsdl153 LOC (2%) 1 file
*.html121 LOC (1%) 3 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/.*".
    • files with paths like ".*[.]feature".
  • 25 files match defined criteria (1,533 LOC, 25.2% vs. main code). All matches are in *.java files.


*.java1533 LOC (100%) 25 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".
  • 14 files match defined criteria (353 LOC, 5.8% vs. main code):
    • 12 *.gradle files (221 LOC)
    • 2 *.bat files (132 LOC)
  • " *.gradle" is biggest, containing 62.61% of LOC.
  • " *.bat" is smallest, containing 37.39% of LOC.


*.gradle221 LOC (62%) 12 files
*.bat132 LOC (37%) 2 files
Other Code
txt
properties
xsl
feature
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/COPYING[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/config/checkstyle/.*".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
  • 111 files match defined criteria (4,967 LOC, 81.6% vs. main code):
    • 32 *.txt files (2,811 LOC)
    • 49 *.java files (1,256 LOC)
    • 2 *.xml files (341 LOC)
    • 13 *.properties files (243 LOC)
    • 1 *.xsl files (140 LOC)
    • 2 *.md files (105 LOC)
    • 9 *.feature files (53 LOC)
    • 3 *.html files (18 LOC)
  • " *.txt" is biggest, containing 56.59% of LOC.
  • " *.html" is smallest, containing 0.36% of LOC.


*.txt2811 LOC (56%) 32 files
*.java1256 LOC (25%) 49 files
*.xml341 LOC (6%) 2 files
*.properties243 LOC (4%) 13 files
*.xsl140 LOC (2%) 1 file
*.md105 LOC (2%) 2 files
*.feature53 LOC (1%) 9 files
*.html18 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:07