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.

main4357 LOC (32%) 112 files
test1033 LOC (7%) 18 files
generated0 LOC (0%) 0 files
build and deployment6288 LOC (47%) 216 files
other1579 LOC (11%) 84 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 ".*".
  • 112 files match defined criteria (4,357 LOC, 100.0% vs. main code):
    • 29 *.java files (3,039 LOC)
    • 27 *.xml files (662 LOC)
    • 53 *.groovy files (594 LOC)
    • 2 *.cmd files (40 LOC)
    • 1 *.cgi files (22 LOC)
  • " *.java" is biggest, containing 69.75% of LOC.
  • " *.cgi" is smallest, containing 0.5% of LOC.


*.java3039 LOC (69%) 29 files
*.xml662 LOC (15%) 27 files
*.groovy594 LOC (13%) 53 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[-].*".
  • 18 files match defined criteria (1,033 LOC, 23.7% vs. main code):
    • 12 *.java files (908 LOC)
    • 6 *.xml files (125 LOC)
  • " *.java" is biggest, containing 87.9% of LOC.
  • " *.xml" is smallest, containing 12.1% of LOC.


*.java908 LOC (87%) 12 files
*.xml125 LOC (12%) 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".
  • 216 files match defined criteria (6,288 LOC, 144.3% vs. main code). All matches are in *.xml files.


*.xml6288 LOC (100%) 216 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".
  • 84 files match defined criteria (1,579 LOC, 36.2% vs. main code):
    • 80 *.properties files (1,477 LOC)
    • 1 *.md files (85 LOC)
    • 3 *.txt files (17 LOC)
  • " *.properties" is biggest, containing 93.54% of LOC.
  • " *.txt" is smallest, containing 1.08% of LOC.


*.properties1477 LOC (93%) 80 files
*.md85 LOC (5%) 1 file
*.txt17 LOC (1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:07