apache / velocity-tools
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
policy
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.

main21343 LOC (54%) 115 files
test5643 LOC (14%) 42 files
generated0 LOC (0%) 0 files
build and deployment549 LOC (1%) 7 files
other11360 LOC (29%) 31 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
policy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 115 files match defined criteria (21,343 LOC, 100.0% vs. main code):
    • 100 *.java files (20,263 LOC)
    • 10 *.xml files (772 LOC)
    • 1 *.css files (129 LOC)
    • 1 *.policy files (117 LOC)
    • 1 *.jsp files (37 LOC)
    • 2 *.html files (25 LOC)
  • " *.java" is biggest, containing 94.94% of LOC.
  • " *.html" is smallest, containing 0.12% of LOC.


*.java20263 LOC (94%) 100 files
*.xml772 LOC (3%) 10 files
*.css129 LOC (<1%) 1 file
*.policy117 LOC (<1%) 1 file
*.jsp37 LOC (<1%) 1 file
*.html25 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/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 42 files match defined criteria (5,643 LOC, 26.4% vs. main code):
    • 35 *.java files (5,576 LOC)
    • 7 *.xml files (67 LOC)
  • " *.java" is biggest, containing 98.81% of LOC.
  • " *.xml" is smallest, containing 1.19% of LOC.


*.java5576 LOC (98%) 35 files
*.xml67 LOC (1%) 7 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".
  • 7 files match defined criteria (549 LOC, 2.6% vs. main code). All matches are in *.xml files.


*.xml549 LOC (100%) 7 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 31 files match defined criteria (11,360 LOC, 53.2% vs. main code):
    • 7 *.txt files (10,249 LOC)
    • 13 *.properties files (693 LOC)
    • 7 *.java files (350 LOC)
    • 1 *.md files (65 LOC)
    • 3 *.json files (3 LOC)
  • " *.txt" is biggest, containing 90.22% of LOC.
  • " *.json" is smallest, containing 0.03% of LOC.


*.txt10249 LOC (90%) 7 files
*.properties693 LOC (6%) 13 files
*.java350 LOC (3%) 7 files
*.md65 LOC (<1%) 1 file
*.json3 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:52