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.

main11871 LOC (59%) 184 files
test3611 LOC (17%) 122 files
generated0 LOC (0%) 0 files
build and deployment2416 LOC (12%) 66 files
other2166 LOC (10%) 119 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 ".*".
  • 184 files match defined criteria (11,871 LOC, 100.0% vs. main code):
    • 111 *.java files (10,796 LOC)
    • 43 *.xml files (765 LOC)
    • 23 *.groovy files (259 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 90.94% of LOC.
  • " *.html" is smallest, containing 0.08% of LOC.


*.java10796 LOC (90%) 111 files
*.xml765 LOC (6%) 43 files
*.groovy259 LOC (2%) 23 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/.*".
  • 122 files match defined criteria (3,611 LOC, 30.4% vs. main code):
    • 57 *.java files (2,256 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.48% of LOC.
  • " *.html" is smallest, containing 0.03% of LOC.


*.java2256 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 66 files match defined criteria (2,416 LOC, 20.4% vs. main code):
    • 65 *.xml files (2,414 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.92% of LOC.
  • " *.sh" is smallest, containing 0.08% of LOC.


*.xml2414 LOC (99%) 65 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 ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 119 files match defined criteria (2,166 LOC, 18.2% vs. main code):
    • 97 *.properties files (1,811 LOC)
    • 21 *.txt files (270 LOC)
    • 1 *.md files (85 LOC)
  • " *.properties" is biggest, containing 83.61% of LOC.
  • " *.md" is smallest, containing 3.92% of LOC.


*.properties1811 LOC (83%) 97 files
*.txt270 LOC (12%) 21 files
*.md85 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:24