apache / maven-archetype
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
classpath
cgi
xsl
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.

main11545 LOC (58%) 188 files
test3574 LOC (17%) 122 files
generated0 LOC (0%) 0 files
build and deployment2398 LOC (12%) 71 files
other2352 LOC (11%) 130 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 188 files match defined criteria (11,545 LOC, 100.0% vs. main code):
    • 111 *.java files (10,384 LOC)
    • 45 *.xml files (830 LOC)
    • 25 *.groovy files (280 LOC)
    • 1 *.cgi files (22 LOC)
    • 1 *.xsl files (10 LOC)
    • 2 *.jsp files (10 LOC)
    • 3 *.html files (9 LOC)
  • " *.java" is biggest, containing 89.94% of LOC.
  • " *.html" is smallest, containing 0.08% of LOC.


*.java10384 LOC (89%) 111 files
*.xml830 LOC (7%) 45 files
*.groovy280 LOC (2%) 25 files
*.cgi22 LOC (<1%) 1 file
*.xsl10 LOC (<1%) 1 file
*.jsp10 LOC (<1%) 2 files
*.html9 LOC (<1%) 3 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/.*".
    • files with paths like ".*/test[.].*".
  • 122 files match defined criteria (3,574 LOC, 31.0% vs. main code):
    • 57 *.java files (2,219 LOC)
    • 55 *.xml files (1,303 LOC)
    • 7 *.groovy files (27 LOC)
    • 2 *.c files (24 LOC)
    • 1 *.html files (1 LOC)
  • " *.java" is biggest, containing 62.09% of LOC.
  • " *.html" is smallest, containing 0.03% of LOC.


*.java2219 LOC (62%) 57 files
*.xml1303 LOC (36%) 55 files
*.groovy27 LOC (<1%) 7 files
*.c24 LOC (<1%) 2 files
*.html1 LOC (<1%) 1 file
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 ".*[.]sh".
  • 71 files match defined criteria (2,398 LOC, 20.8% vs. main code):
    • 70 *.xml files (2,396 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.92% of LOC.
  • " *.sh" is smallest, containing 0.08% of LOC.


*.xml2396 LOC (99%) 70 files
*.sh2 LOC (<1%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 130 files match defined criteria (2,352 LOC, 20.4% vs. main code):
    • 103 *.properties files (1,934 LOC)
    • 26 *.txt files (347 LOC)
    • 1 *.md files (71 LOC)
  • " *.properties" is biggest, containing 82.23% of LOC.
  • " *.md" is smallest, containing 3.02% of LOC.


*.properties1934 LOC (82%) 103 files
*.txt347 LOC (14%) 26 files
*.md71 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:20