apache / maven-plugin-tools
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
cgi
mjs
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.

main9818 LOC (55%) 186 files
test2215 LOC (12%) 46 files
generated0 LOC (0%) 0 files
build and deployment4415 LOC (24%) 57 files
other1348 LOC (7%) 56 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 186 files match defined criteria (9,818 LOC, 100.0% vs. main code):
    • 128 *.java files (8,215 LOC)
    • 35 *.groovy files (894 LOC)
    • 21 *.xml files (651 LOC)
    • 1 *.mjs files (36 LOC)
    • 1 *.cgi files (22 LOC)
  • " *.java" is biggest, containing 83.67% of LOC.
  • " *.cgi" is smallest, containing 0.22% of LOC.


*.java8215 LOC (83%) 128 files
*.groovy894 LOC (9%) 35 files
*.xml651 LOC (6%) 21 files
*.mjs36 LOC (<1%) 1 file
*.cgi22 LOC (<1%) 1 file
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 ".*/test[.].*".
  • 46 files match defined criteria (2,215 LOC, 22.6% vs. main code):
    • 44 *.java files (2,053 LOC)
    • 2 *.xml files (162 LOC)
  • " *.java" is biggest, containing 92.69% of LOC.
  • " *.xml" is smallest, containing 7.31% of LOC.


*.java2053 LOC (92%) 44 files
*.xml162 LOC (7%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 57 files match defined criteria (4,415 LOC, 45.0% vs. main code):
    • 55 *.xml files (4,408 LOC)
    • 2 *.sh files (7 LOC)
  • " *.xml" is biggest, containing 99.84% of LOC.
  • " *.sh" is smallest, containing 0.16% of LOC.


*.xml4408 LOC (99%) 55 files
*.sh7 LOC (<1%) 2 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
  • 56 files match defined criteria (1,348 LOC, 13.7% vs. main code):
    • 48 *.properties files (1,019 LOC)
    • 1 *.svg files (163 LOC)
    • 5 *.txt files (85 LOC)
    • 1 *.md files (72 LOC)
    • 1 *.xml files (9 LOC)
  • " *.properties" is biggest, containing 75.59% of LOC.
  • " *.xml" is smallest, containing 0.67% of LOC.


*.properties1019 LOC (75%) 48 files
*.svg163 LOC (12%) 1 file
*.txt85 LOC (6%) 5 files
*.md72 LOC (5%) 1 file
*.xml9 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:20