apache / causeway-app-referenceapp
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
ini
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.

main69061 LOC (85%) 2,159 files
test1753 LOC (2%) 20 files
generated0 LOC (0%) 0 files
build and deployment1066 LOC (1%) 12 files
other8865 LOC (10%) 100 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 ".*".
  • 2159 files match defined criteria (69,061 LOC, 100.0% vs. main code):
    • 1,415 *.java files (43,122 LOC)
    • 289 *.xml files (14,799 LOC)
    • 446 *.adoc files (10,458 LOC)
    • 2 *.css files (291 LOC)
    • 5 *.html files (235 LOC)
    • 1 *.yml files (142 LOC)
    • 1 *.js files (14 LOC)
  • " *.java" is biggest, containing 62.44% of LOC.
  • " *.js" is smallest, containing 0.02% of LOC.


*.java43122 LOC (62%) 1,415 files
*.xml14799 LOC (21%) 289 files
*.adoc10458 LOC (15%) 446 files
*.css291 LOC (<1%) 2 files
*.html235 LOC (<1%) 5 files
*.yml142 LOC (<1%) 1 file
*.js14 LOC (<1%) 1 file
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 ".*/e2e/.*".
    • files with paths like ".*[.]spec[.]js".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 20 files match defined criteria (1,753 LOC, 2.5% vs. main code):
    • 1 *.yaml files (1,346 LOC)
    • 13 *.java files (324 LOC)
    • 1 *.xml files (58 LOC)
    • 2 *.ts files (20 LOC)
    • 3 *.js files (5 LOC)
  • " *.yaml" is biggest, containing 76.78% of LOC.
  • " *.js" is smallest, containing 0.29% of LOC.


*.yaml1346 LOC (76%) 1 file
*.java324 LOC (18%) 13 files
*.xml58 LOC (3%) 1 file
*.ts20 LOC (1%) 2 files
*.js5 LOC (<1%) 3 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".
    • files with paths like ".*/docker[-]compose[.]yml".
    • files with paths like ".*[.]sh".
  • 12 files match defined criteria (1,066 LOC, 1.5% vs. main code):
    • 10 *.xml files (1,056 LOC)
    • 1 *.yml files (9 LOC)
    • 1 *.sh files (1 LOC)
  • " *.xml" is biggest, containing 99.06% of LOC.
  • " *.sh" is smallest, containing 0.09% of LOC.


*.xml1056 LOC (99%) 10 files
*.yml9 LOC (<1%) 1 file
*.sh1 LOC (<1%) 1 file
Other Code
txt
properties
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/asciidoc/.*".
  • 100 files match defined criteria (8,865 LOC, 12.8% vs. main code):
    • 1 *.xml files (5,968 LOC)
    • 19 *.js files (1,249 LOC)
    • 39 *.java files (643 LOC)
    • 8 *.svg files (395 LOC)
    • 7 *.txt files (223 LOC)
    • 10 *.adoc files (160 LOC)
    • 6 *.properties files (134 LOC)
    • 7 *.md files (60 LOC)
    • 1 *.ini files (25 LOC)
    • 2 *.json files (8 LOC)
  • " *.xml" is biggest, containing 67.32% of LOC.
  • " *.json" is smallest, containing 0.09% of LOC.


*.xml5968 LOC (67%) 1 file
*.js1249 LOC (14%) 19 files
*.java643 LOC (7%) 39 files
*.svg395 LOC (4%) 8 files
*.txt223 LOC (2%) 7 files
*.adoc160 LOC (1%) 10 files
*.properties134 LOC (1%) 6 files
*.md60 LOC (<1%) 7 files
*.ini25 LOC (<1%) 1 file
*.json8 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:46