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.

main585 LOC (15%) 30 files
test1259 LOC (34%) 43 files
generated0 LOC (0%) 0 files
build and deployment876 LOC (23%) 21 files
other950 LOC (25%) 67 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 ".*".
  • 30 files match defined criteria (585 LOC, 100.0% vs. main code):
    • 21 *.java files (390 LOC)
    • 5 *.groovy files (99 LOC)
    • 3 *.xml files (74 LOC)
    • 1 *.cgi files (22 LOC)
  • " *.java" is biggest, containing 66.67% of LOC.
  • " *.cgi" is smallest, containing 3.76% of LOC.


*.java390 LOC (66%) 21 files
*.groovy99 LOC (16%) 5 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[-].*".
  • 43 files match defined criteria (1,259 LOC, 215.2% vs. main code):
    • 31 *.java files (895 LOC)
    • 9 *.xml files (304 LOC)
    • 3 *.groovy files (60 LOC)
  • " *.java" is biggest, containing 71.09% of LOC.
  • " *.groovy" is smallest, containing 4.77% of LOC.


*.java895 LOC (71%) 31 files
*.xml304 LOC (24%) 9 files
*.groovy60 LOC (4%) 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".
  • 21 files match defined criteria (876 LOC, 149.7% vs. main code). All matches are in *.xml files.


*.xml876 LOC (100%) 21 files
Other Code
properties
txt
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]cvsignore".
  • 67 files match defined criteria (950 LOC, 162.4% vs. main code):
    • 50 *.properties files (818 LOC)
    • 1 *.md files (84 LOC)
    • 16 *.txt files (48 LOC)
  • " *.properties" is biggest, containing 86.11% of LOC.
  • " *.txt" is smallest, containing 5.05% of LOC.


*.properties818 LOC (86%) 50 files
*.md84 LOC (8%) 1 file
*.txt48 LOC (5%) 16 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:08