apache / causeway
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
xsd
txt
ini
hbs
feature
po
editorconfig
npmrc
gitattributes
dcl
cfg
mjs
xslt
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.

main465772 LOC (70%) 4,486 files
test78699 LOC (11%) 1,160 files
generated0 LOC (0%) 0 files
build and deployment17597 LOC (2%) 258 files
other102687 LOC (15%) 2,541 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
mjs
cfg
dcl
xslt
hbs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 4486 files match defined criteria (465,772 LOC, 100.0% vs. main code):
    • 129 *.xml files (215,955 LOC)
    • 3,935 *.java files (213,718 LOC)
    • 54 *.xsd files (9,607 LOC)
    • 175 *.kt files (8,769 LOC)
    • 27 *.js files (6,907 LOC)
    • 97 *.html files (4,308 LOC)
    • 56 *.css files (4,226 LOC)
    • 1 *.rdf files (888 LOC)
    • 2 *.groovy files (369 LOC)
    • 1 *.mjs files (349 LOC)
    • 1 *.cfg files (207 LOC)
    • 1 *.dcl files (188 LOC)
    • 1 *.htm files (138 LOC)
    • 2 *.kts files (129 LOC)
    • 1 *.xslt files (9 LOC)
    • 3 *.hbs files (5 LOC)
  • " *.xml" is biggest, containing 46.36% of LOC.
  • " *.hbs" is smallest, containing 0% of LOC.


*.xml215955 LOC (46%) 129 files
*.java213718 LOC (45%) 3,935 files
*.xsd9607 LOC (2%) 54 files
*.kt8769 LOC (1%) 175 files
*.js6907 LOC (1%) 27 files
*.html4308 LOC (<1%) 97 files
*.css4226 LOC (<1%) 56 files
*.rdf888 LOC (<1%) 1 file
*.groovy369 LOC (<1%) 2 files
*.mjs349 LOC (<1%) 1 file
*.cfg207 LOC (<1%) 1 file
*.dcl188 LOC (<1%) 1 file
*.htm138 LOC (<1%) 1 file
*.kts129 LOC (<1%) 2 files
*.xslt9 LOC (<1%) 1 file
*.hbs5 LOC (<1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[.]feature".
    • files with paths like ".*/e2e/.*".
  • 1160 files match defined criteria (78,699 LOC, 16.9% vs. main code):
    • 929 *.java files (52,657 LOC)
    • 108 *.kt files (12,985 LOC)
    • 98 *.gql files (7,109 LOC)
    • 21 *.xml files (5,929 LOC)
    • 3 *.feature files (18 LOC)
    • 1 *.js files (1 LOC)
  • " *.java" is biggest, containing 66.91% of LOC.
  • " *.js" is smallest, containing 0% of LOC.


*.java52657 LOC (66%) 929 files
*.kt12985 LOC (16%) 108 files
*.gql7109 LOC (9%) 98 files
*.xml5929 LOC (7%) 21 files
*.feature18 LOC (<1%) 3 files
*.js1 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 258 files match defined criteria (17,597 LOC, 3.8% vs. main code):
    • 211 *.xml files (15,392 LOC)
    • 41 *.sh files (2,097 LOC)
    • 1 *.bat files (68 LOC)
    • 5 *.js files (40 LOC)
  • " *.xml" is biggest, containing 87.47% of LOC.
  • " *.js" is smallest, containing 0.23% of LOC.


*.xml15392 LOC (87%) 211 files
*.sh2097 LOC (11%) 41 files
*.bat68 LOC (<1%) 1 file
*.js40 LOC (<1%) 5 files
Other Code
properties
xsd
txt
ini
po
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]po".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[Mm]an/.*".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]editorconfig".
  • 2541 files match defined criteria (102,687 LOC, 22.0% vs. main code):
    • 2,180 *.adoc files (82,849 LOC)
    • 25 *.svg files (6,983 LOC)
    • 89 *.java files (3,874 LOC)
    • 113 *.json files (3,019 LOC)
    • 71 *.properties files (1,922 LOC)
    • 8 *.xsd files (1,605 LOC)
    • 30 *.txt files (1,395 LOC)
    • 12 *.xml files (508 LOC)
    • 6 *.ini files (230 LOC)
    • 3 *.md files (126 LOC)
    • 3 *.po files (120 LOC)
    • 1 *.css files (56 LOC)
  • " *.adoc" is biggest, containing 80.68% of LOC.
  • " *.css" is smallest, containing 0.05% of LOC.


*.adoc82849 LOC (80%) 2,180 files
*.svg6983 LOC (6%) 25 files
*.java3874 LOC (3%) 89 files
*.json3019 LOC (2%) 113 files
*.properties1922 LOC (1%) 71 files
*.xsd1605 LOC (1%) 8 files
*.txt1395 LOC (1%) 30 files
*.xml508 LOC (<1%) 12 files
*.ini230 LOC (<1%) 6 files
*.md126 LOC (<1%) 3 files
*.po120 LOC (<1%) 3 files
*.css56 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:33