apache / freemarker-generator
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.

main6239 LOC (28%) 120 files
test5143 LOC (23%) 67 files
generated643 LOC (2%) 1 file
build and deployment1142 LOC (5%) 10 files
other8725 LOC (39%) 105 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 ".*".
  • 120 files match defined criteria (6,239 LOC, 100.0% vs. main code):
    • 103 *.java files (5,544 LOC)
    • 14 *.ftl files (631 LOC)
    • 3 *.xml files (64 LOC)
  • " *.java" is biggest, containing 88.86% of LOC.
  • " *.xml" is smallest, containing 1.03% of LOC.


*.java5544 LOC (88%) 103 files
*.ftl631 LOC (10%) 14 files
*.xml64 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[-].*".
  • 67 files match defined criteria (5,143 LOC, 82.4% vs. main code):
    • 55 *.java files (4,145 LOC)
    • 2 *.yaml files (703 LOC)
    • 9 *.ftl files (249 LOC)
    • 1 *.xml files (46 LOC)
  • " *.java" is biggest, containing 80.59% of LOC.
  • " *.xml" is smallest, containing 0.89% of LOC.


*.java4145 LOC (80%) 55 files
*.yaml703 LOC (13%) 2 files
*.ftl249 LOC (4%) 9 files
*.xml46 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 1 file matches defined criteria (643 LOC, 10.3% vs. main code). All matches are in *.html files.


*.html643 LOC (100%) 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 ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 10 files match defined criteria (1,142 LOC, 18.3% vs. main code):
    • 6 *.xml files (849 LOC)
    • 2 *.bat files (188 LOC)
    • 2 *.sh files (105 LOC)
  • " *.xml" is biggest, containing 74.34% of LOC.
  • " *.sh" is smallest, containing 9.19% of LOC.


*.xml849 LOC (74%) 6 files
*.bat188 LOC (16%) 2 files
*.sh105 LOC (9%) 2 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • 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 ".*/[.]gitignore".
  • 105 files match defined criteria (8,725 LOC, 139.8% vs. main code):
    • 29 *.md files (2,810 LOC)
    • 16 *.json files (2,282 LOC)
    • 29 *.ftl files (1,589 LOC)
    • 2 *.yaml files (713 LOC)
    • 1 *.html files (643 LOC)
    • 16 *.txt files (484 LOC)
    • 10 *.properties files (147 LOC)
    • 2 *.xml files (57 LOC)
  • " *.md" is biggest, containing 32.21% of LOC.
  • " *.xml" is smallest, containing 0.65% of LOC.


*.md2810 LOC (32%) 29 files
*.json2282 LOC (26%) 16 files
*.ftl1589 LOC (18%) 29 files
*.yaml713 LOC (8%) 2 files
*.html643 LOC (7%) 1 file
*.txt484 LOC (5%) 16 files
*.properties147 LOC (1%) 10 files
*.xml57 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:21