apache / maven-pdf-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
cgi
txt
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.

main3820 LOC (70%) 28 files
test592 LOC (10%) 18 files
generated0 LOC (0%) 0 files
build and deployment703 LOC (12%) 8 files
other296 LOC (5%) 10 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 ".*".
  • 28 files match defined criteria (3,820 LOC, 100.0% vs. main code):
    • 17 *.xml files (2,564 LOC)
    • 7 *.java files (1,215 LOC)
    • 1 *.cgi files (22 LOC)
    • 1 *.xhtml files (12 LOC)
    • 2 *.groovy files (7 LOC)
  • " *.xml" is biggest, containing 67.12% of LOC.
  • " *.groovy" is smallest, containing 0.18% of LOC.


*.xml2564 LOC (67%) 17 files
*.java1215 LOC (31%) 7 files
*.cgi22 LOC (<1%) 1 file
*.xhtml12 LOC (<1%) 1 file
*.groovy7 LOC (<1%) 2 files
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/.*".
  • 18 files match defined criteria (592 LOC, 15.5% vs. main code):
    • 8 *.java files (341 LOC)
    • 10 *.xml files (251 LOC)
  • " *.java" is biggest, containing 57.6% of LOC.
  • " *.xml" is smallest, containing 42.4% of LOC.


*.java341 LOC (57%) 8 files
*.xml251 LOC (42%) 10 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".
  • 8 files match defined criteria (703 LOC, 18.4% vs. main code). All matches are in *.xml files.


*.xml703 LOC (100%) 8 files
Other Code
properties
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".
  • 10 files match defined criteria (296 LOC, 7.7% vs. main code):
    • 8 *.properties files (190 LOC)
    • 2 *.md files (106 LOC)
  • " *.properties" is biggest, containing 64.19% of LOC.
  • " *.md" is smallest, containing 35.81% of LOC.


*.properties190 LOC (64%) 8 files
*.md106 LOC (35%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:05