apache / myfaces-tobago
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
mjs
gitattributes
editorconfig
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.

main70094 LOC (53%) 1,108 files
test19473 LOC (14%) 390 files
generated12791 LOC (9%) 2 files
build and deployment2997 LOC (2%) 25 files
other25847 LOC (19%) 215 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1108 files match defined criteria (70,094 LOC, 100.0% vs. main code):
    • 629 *.java files (38,046 LOC)
    • 323 *.xhtml files (17,508 LOC)
    • 73 *.ts files (5,422 LOC)
    • 14 *.scss files (2,910 LOC)
    • 5 *.css files (2,283 LOC)
    • 33 *.xml files (2,220 LOC)
    • 23 *.js files (1,495 LOC)
    • 3 *.mjs files (144 LOC)
    • 1 *.rdf files (35 LOC)
    • 4 *.html files (31 LOC)
  • " *.java" is biggest, containing 54.28% of LOC.
  • " *.html" is smallest, containing 0.04% of LOC.


*.java38046 LOC (54%) 629 files
*.xhtml17508 LOC (24%) 323 files
*.ts5422 LOC (7%) 73 files
*.scss2910 LOC (4%) 14 files
*.css2283 LOC (3%) 5 files
*.xml2220 LOC (3%) 33 files
*.js1495 LOC (2%) 23 files
*.mjs144 LOC (<1%) 3 files
*.rdf35 LOC (<1%) 1 file
*.html31 LOC (<1%) 4 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[.].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[-]test[-].*".
  • 390 files match defined criteria (19,473 LOC, 27.8% vs. main code):
    • 119 *.js files (10,513 LOC)
    • 102 *.java files (6,834 LOC)
    • 131 *.html files (1,017 LOC)
    • 31 *.xml files (969 LOC)
    • 5 *.ts files (119 LOC)
    • 1 *.xhtml files (20 LOC)
    • 1 *.sh files (1 LOC)
  • " *.js" is biggest, containing 53.99% of LOC.
  • " *.sh" is smallest, containing 0.01% of LOC.


*.js10513 LOC (53%) 119 files
*.java6834 LOC (35%) 102 files
*.html1017 LOC (5%) 131 files
*.xml969 LOC (4%) 31 files
*.ts119 LOC (<1%) 5 files
*.xhtml20 LOC (<1%) 1 file
*.sh1 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 paths like ".*/package[-]lock[.]json".
  • 2 files match defined criteria (12,791 LOC, 18.2% vs. main code). All matches are in *.json files.


*.json12791 LOC (100%) 2 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 ".*/package[-]lock[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 25 files match defined criteria (2,997 LOC, 4.3% vs. main code):
    • 21 *.xml files (2,755 LOC)
    • 4 *.sh files (242 LOC)
  • " *.xml" is biggest, containing 91.93% of LOC.
  • " *.sh" is smallest, containing 8.07% of LOC.


*.xml2755 LOC (91%) 21 files
*.sh242 LOC (8%) 4 files
Other Code
xsd
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]editorconfig".
  • 215 files match defined criteria (25,847 LOC, 36.9% vs. main code):
    • 10 *.json files (14,108 LOC)
    • 153 *.java files (9,024 LOC)
    • 9 *.xsd files (1,357 LOC)
    • 30 *.properties files (609 LOC)
    • 6 *.md files (357 LOC)
    • 6 *.txt files (281 LOC)
    • 1 *.xml files (111 LOC)
  • " *.json" is biggest, containing 54.58% of LOC.
  • " *.xml" is smallest, containing 0.43% of LOC.


*.json14108 LOC (54%) 10 files
*.java9024 LOC (34%) 153 files
*.xsd1357 LOC (5%) 9 files
*.properties609 LOC (2%) 30 files
*.md357 LOC (1%) 6 files
*.txt281 LOC (1%) 6 files
*.xml111 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:01