apache / maven-source-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
cvsignore
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.

main616 LOC (18%) 34 files
test762 LOC (23%) 36 files
generated0 LOC (0%) 0 files
build and deployment919 LOC (27%) 22 files
other989 LOC (30%) 70 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 34 files match defined criteria (616 LOC, 100.0% vs. main code):
    • 23 *.java files (416 LOC)
    • 7 *.groovy files (104 LOC)
    • 3 *.xml files (74 LOC)
    • 1 *.cgi files (22 LOC)
  • " *.java" is biggest, containing 67.53% of LOC.
  • " *.cgi" is smallest, containing 3.57% of LOC.


*.java416 LOC (67%) 23 files
*.groovy104 LOC (16%) 7 files
*.xml74 LOC (12%) 3 files
*.cgi22 LOC (3%) 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[-].*".
  • 36 files match defined criteria (762 LOC, 123.7% vs. main code):
    • 24 *.java files (422 LOC)
    • 9 *.xml files (280 LOC)
    • 3 *.groovy files (60 LOC)
  • " *.java" is biggest, containing 55.38% of LOC.
  • " *.groovy" is smallest, containing 7.87% of LOC.


*.java422 LOC (55%) 24 files
*.xml280 LOC (36%) 9 files
*.groovy60 LOC (7%) 3 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 ".*[.]cvsignore".
  • 22 files match defined criteria (919 LOC, 149.2% vs. main code). All matches are in *.xml files.


*.xml919 LOC (100%) 22 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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]cvsignore".
  • 70 files match defined criteria (989 LOC, 160.6% vs. main code):
    • 53 *.properties files (870 LOC)
    • 1 *.md files (71 LOC)
    • 16 *.txt files (48 LOC)
  • " *.properties" is biggest, containing 87.97% of LOC.
  • " *.txt" is smallest, containing 4.85% of LOC.


*.properties870 LOC (87%) 53 files
*.md71 LOC (7%) 1 file
*.txt48 LOC (4%) 16 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:30