apache / velocity-engine
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
gitattributes
mysql
props
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.

main22607 LOC (60%) 229 files
test12695 LOC (34%) 179 files
generated0 LOC (0%) 0 files
build and deployment1165 LOC (3%) 11 files
other841 LOC (2%) 20 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 ".*".
  • 229 files match defined criteria (22,607 LOC, 100.0% vs. main code):
    • 225 *.java files (21,390 LOC)
    • 4 *.xml files (1,217 LOC)
  • " *.java" is biggest, containing 94.62% of LOC.
  • " *.xml" is smallest, containing 5.38% of LOC.


*.java21390 LOC (94%) 225 files
*.xml1217 LOC (5%) 4 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
mysql
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 179 files match defined criteria (12,695 LOC, 56.2% vs. main code):
    • 173 *.java files (12,623 LOC)
    • 1 *.mysql files (25 LOC)
    • 1 *.sql files (25 LOC)
    • 3 *.sh files (18 LOC)
    • 1 *.props files (4 LOC)
  • " *.java" is biggest, containing 99.43% of LOC.
  • " *.props" is smallest, containing 0.03% of LOC.


*.java12623 LOC (99%) 173 files
*.mysql25 LOC (<1%) 1 file
*.sql25 LOC (<1%) 1 file
*.sh18 LOC (<1%) 3 files
*.props4 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".
    • files with paths like ".*/[.]gitattributes".
  • 11 files match defined criteria (1,165 LOC, 5.2% vs. main code):
    • 6 *.xml files (1,104 LOC)
    • 5 *.sh files (61 LOC)
  • " *.xml" is biggest, containing 94.76% of LOC.
  • " *.sh" is smallest, containing 5.24% of LOC.


*.xml1104 LOC (94%) 6 files
*.sh61 LOC (5%) 5 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
  • 20 files match defined criteria (841 LOC, 3.7% vs. main code):
    • 10 *.properties files (676 LOC)
    • 5 *.md files (138 LOC)
    • 5 *.txt files (27 LOC)
  • " *.properties" is biggest, containing 80.38% of LOC.
  • " *.txt" is smallest, containing 3.21% of LOC.


*.properties676 LOC (80%) 10 files
*.md138 LOC (16%) 5 files
*.txt27 LOC (3%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:52