apache / tomcat-maven-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
txt
properties
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.

main16958 LOC (75%) 104 files
test1556 LOC (6%) 57 files
generated0 LOC (0%) 0 files
build and deployment2710 LOC (12%) 18 files
other1131 LOC (5%) 28 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 104 files match defined criteria (16,958 LOC, 100.0% vs. main code):
    • 81 *.java files (8,607 LOC)
    • 20 *.xml files (8,309 LOC)
    • 1 *.html files (40 LOC)
    • 2 *.jsp files (2 LOC)
  • " *.java" is biggest, containing 50.75% of LOC.
  • " *.jsp" is smallest, containing 0.01% of LOC.


*.java8607 LOC (50%) 81 files
*.xml8309 LOC (48%) 20 files
*.html40 LOC (<1%) 1 file
*.jsp2 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/.*".
  • 57 files match defined criteria (1,556 LOC, 9.2% vs. main code):
    • 30 *.xml files (1,153 LOC)
    • 19 *.java files (355 LOC)
    • 8 *.jsp files (48 LOC)
  • " *.xml" is biggest, containing 74.1% of LOC.
  • " *.jsp" is smallest, containing 3.08% of LOC.


*.xml1153 LOC (74%) 30 files
*.java355 LOC (22%) 19 files
*.jsp48 LOC (3%) 8 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 18 files match defined criteria (2,710 LOC, 16.0% vs. main code):
    • 16 *.xml files (2,705 LOC)
    • 2 *.sh files (5 LOC)
  • " *.xml" is biggest, containing 99.82% of LOC.
  • " *.sh" is smallest, containing 0.18% of LOC.


*.xml2705 LOC (99%) 16 files
*.sh5 LOC (<1%) 2 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 28 files match defined criteria (1,131 LOC, 6.7% vs. main code):
    • 15 *.properties files (673 LOC)
    • 13 *.txt files (458 LOC)
  • " *.properties" is biggest, containing 59.5% of LOC.
  • " *.txt" is smallest, containing 40.5% of LOC.


*.properties673 LOC (59%) 15 files
*.txt458 LOC (40%) 13 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:07