epam / checkstyle
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
txt
gitattributes
prefs
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.

main39531 LOC (23%) 65 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment2294 LOC (1%) 3 files
other128388 LOC (75%) 1,882 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
prefs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 65 files match defined criteria (39,531 LOC, 100.0% vs. main code):
    • 61 *.xml files (39,368 LOC)
    • 1 *.prefs files (85 LOC)
    • 1 *.css files (52 LOC)
    • 2 *.js files (26 LOC)
  • " *.xml" is biggest, containing 99.59% of LOC.
  • " *.js" is smallest, containing 0.07% of LOC.


*.xml39368 LOC (99%) 61 files
*.prefs85 LOC (<1%) 1 file
*.css52 LOC (<1%) 1 file
*.js26 LOC (<1%) 2 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 3 files match defined criteria (2,294 LOC, 5.8% vs. main code):
    • 2 *.xml files (2,259 LOC)
    • 1 *.sh files (35 LOC)
  • " *.xml" is biggest, containing 98.47% of LOC.
  • " *.sh" is smallest, containing 1.53% of LOC.


*.xml2259 LOC (98%) 2 files
*.sh35 LOC (1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 1882 files match defined criteria (128,388 LOC, 324.8% vs. main code):
    • 1,588 *.java files (117,768 LOC)
    • 32 *.txt files (5,114 LOC)
    • 168 *.properties files (2,096 LOC)
    • 1 *.g files (1,794 LOC)
    • 90 *.xml files (1,534 LOC)
    • 1 *.md files (77 LOC)
    • 1 *.js files (3 LOC)
    • 1 *.sql files (2 LOC)
  • " *.java" is biggest, containing 91.73% of LOC.
  • " *.sql" is smallest, containing 0% of LOC.


*.java117768 LOC (91%) 1,588 files
*.txt5114 LOC (3%) 32 files
*.properties2096 LOC (1%) 168 files
*.g1794 LOC (1%) 1 file
*.xml1534 LOC (1%) 90 files
*.md77 LOC (<1%) 1 file
*.js3 LOC (<1%) 1 file
*.sql2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:11