apache / maven-invoker-plugin
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
cmd
cgi
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.

main4529 LOC (32%) 124 files
test1122 LOC (8%) 19 files
generated0 LOC (0%) 0 files
build and deployment6590 LOC (47%) 223 files
other1609 LOC (11%) 87 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cmd
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 124 files match defined criteria (4,529 LOC, 100.0% vs. main code):
    • 30 *.java files (3,150 LOC)
    • 27 *.xml files (662 LOC)
    • 64 *.groovy files (655 LOC)
    • 2 *.cmd files (40 LOC)
    • 1 *.cgi files (22 LOC)
  • " *.java" is biggest, containing 69.55% of LOC.
  • " *.cgi" is smallest, containing 0.49% of LOC.


*.java3150 LOC (69%) 30 files
*.xml662 LOC (14%) 27 files
*.groovy655 LOC (14%) 64 files
*.cmd40 LOC (<1%) 2 files
*.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[.].*".
    • files with paths like ".*[-]test[-].*".
  • 19 files match defined criteria (1,122 LOC, 24.8% vs. main code):
    • 13 *.java files (997 LOC)
    • 6 *.xml files (125 LOC)
  • " *.java" is biggest, containing 88.86% of LOC.
  • " *.xml" is smallest, containing 11.14% of LOC.


*.java997 LOC (88%) 13 files
*.xml125 LOC (11%) 6 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".
  • 223 files match defined criteria (6,590 LOC, 145.5% vs. main code). All matches are in *.xml files.


*.xml6590 LOC (100%) 223 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 ".*[.]properties".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 87 files match defined criteria (1,609 LOC, 35.5% vs. main code):
    • 82 *.properties files (1,514 LOC)
    • 1 *.md files (71 LOC)
    • 3 *.txt files (17 LOC)
    • 1 *.xml files (7 LOC)
  • " *.properties" is biggest, containing 94.1% of LOC.
  • " *.xml" is smallest, containing 0.44% of LOC.


*.properties1514 LOC (94%) 82 files
*.md71 LOC (4%) 1 file
*.txt17 LOC (1%) 3 files
*.xml7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:28