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

main156355 LOC (59%) 1,422 files
test83151 LOC (31%) 1,347 files
generated0 LOC (0%) 0 files
build and deployment2848 LOC (1%) 13 files
other21333 LOC (8%) 78 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 ".*".
  • 1422 files match defined criteria (156,355 LOC, 100.0% vs. main code):
    • 1,340 *.java files (148,133 LOC)
    • 47 *.ts files (6,673 LOC)
    • 14 *.xml files (929 LOC)
    • 12 *.html files (294 LOC)
    • 7 *.xhtml files (227 LOC)
    • 1 *.rdf files (85 LOC)
    • 1 *.yaml files (14 LOC)
  • " *.java" is biggest, containing 94.74% of LOC.
  • " *.yaml" is smallest, containing 0.01% of LOC.


*.java148133 LOC (94%) 1,340 files
*.ts6673 LOC (4%) 47 files
*.xml929 LOC (<1%) 14 files
*.html294 LOC (<1%) 12 files
*.xhtml227 LOC (<1%) 7 files
*.rdf85 LOC (<1%) 1 file
*.yaml14 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 ".*[-]tests/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/test_.*".
  • 1347 files match defined criteria (83,151 LOC, 53.2% vs. main code):
    • 547 *.java files (63,081 LOC)
    • 584 *.xhtml files (10,165 LOC)
    • 37 *.ts files (7,024 LOC)
    • 144 *.xml files (2,472 LOC)
    • 27 *.js files (377 LOC)
    • 2 *.jsp files (22 LOC)
    • 6 *.css files (10 LOC)
  • " *.java" is biggest, containing 75.86% of LOC.
  • " *.css" is smallest, containing 0.01% of LOC.


*.java63081 LOC (75%) 547 files
*.xhtml10165 LOC (12%) 584 files
*.ts7024 LOC (8%) 37 files
*.xml2472 LOC (2%) 144 files
*.js377 LOC (<1%) 27 files
*.jsp22 LOC (<1%) 2 files
*.css10 LOC (<1%) 6 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[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 13 files match defined criteria (2,848 LOC, 1.8% vs. main code):
    • 11 *.xml files (2,754 LOC)
    • 1 *.sh files (53 LOC)
    • 1 *.ts files (41 LOC)
  • " *.xml" is biggest, containing 96.7% of LOC.
  • " *.ts" is smallest, containing 1.44% of LOC.


*.xml2754 LOC (96%) 11 files
*.sh53 LOC (1%) 1 file
*.ts41 LOC (1%) 1 file
Other Code
xsd
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/resources/.*[.]xsd".
  • 78 files match defined criteria (21,333 LOC, 13.6% vs. main code):
    • 24 *.xsd files (18,253 LOC)
    • 29 *.properties files (2,073 LOC)
    • 13 *.txt files (582 LOC)
    • 5 *.json files (202 LOC)
    • 6 *.md files (157 LOC)
    • 1 *.xml files (66 LOC)
  • " *.xsd" is biggest, containing 85.56% of LOC.
  • " *.xml" is smallest, containing 0.31% of LOC.


*.xsd18253 LOC (85%) 24 files
*.properties2073 LOC (9%) 29 files
*.txt582 LOC (2%) 13 files
*.json202 LOC (<1%) 5 files
*.md157 LOC (<1%) 6 files
*.xml66 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:36