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
eslintignore
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.

main65078 LOC (61%) 1,018 files
test16456 LOC (15%) 333 files
generated4043 LOC (3%) 1 file
build and deployment3367 LOC (3%) 28 files
other16346 LOC (15%) 209 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 ".*".
  • 1018 files match defined criteria (65,078 LOC, 100.0% vs. main code):
    • 600 *.java files (35,892 LOC)
    • 273 *.xhtml files (15,212 LOC)
    • 62 *.ts files (4,066 LOC)
    • 13 *.scss files (2,536 LOC)
    • 23 *.js files (2,524 LOC)
    • 34 *.xml files (2,367 LOC)
    • 5 *.css files (2,161 LOC)
    • 5 *.html files (209 LOC)
    • 2 *.mjs files (76 LOC)
    • 1 *.rdf files (35 LOC)
  • " *.java" is biggest, containing 55.15% of LOC.
  • " *.rdf" is smallest, containing 0.05% of LOC.


*.java35892 LOC (55%) 600 files
*.xhtml15212 LOC (23%) 273 files
*.ts4066 LOC (6%) 62 files
*.scss2536 LOC (3%) 13 files
*.js2524 LOC (3%) 23 files
*.xml2367 LOC (3%) 34 files
*.css2161 LOC (3%) 5 files
*.html209 LOC (<1%) 5 files
*.mjs76 LOC (<1%) 2 files
*.rdf35 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[-]test[-].*".
  • 333 files match defined criteria (16,456 LOC, 25.3% vs. main code):
    • 82 *.js files (7,857 LOC)
    • 98 *.java files (6,289 LOC)
    • 118 *.html files (1,231 LOC)
    • 31 *.xml files (969 LOC)
    • 4 *.ts files (110 LOC)
  • " *.js" is biggest, containing 47.75% of LOC.
  • " *.ts" is smallest, containing 0.67% of LOC.


*.js7857 LOC (47%) 82 files
*.java6289 LOC (38%) 98 files
*.html1231 LOC (7%) 118 files
*.xml969 LOC (5%) 31 files
*.ts110 LOC (<1%) 4 files
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".
  • 1 file matches defined criteria (4,043 LOC, 6.2% vs. main code). All matches are in *.json files.


*.json4043 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 ".*[.]sh".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/docker[-]compose[.]yml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 28 files match defined criteria (3,367 LOC, 5.2% vs. main code):
    • 21 *.xml files (2,938 LOC)
    • 6 *.sh files (296 LOC)
    • 1 *.yml files (133 LOC)
  • " *.xml" is biggest, containing 87.26% of LOC.
  • " *.yml" is smallest, containing 3.95% of LOC.


*.xml2938 LOC (87%) 21 files
*.sh296 LOC (8%) 6 files
*.yml133 LOC (3%) 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 ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]gitignore".
  • 209 files match defined criteria (16,346 LOC, 25.1% vs. main code):
    • 148 *.java files (8,371 LOC)
    • 9 *.json files (5,364 LOC)
    • 9 *.xsd files (1,357 LOC)
    • 29 *.properties files (564 LOC)
    • 8 *.txt files (478 LOC)
    • 6 *.md files (212 LOC)
  • " *.java" is biggest, containing 51.21% of LOC.
  • " *.md" is smallest, containing 1.3% of LOC.


*.java8371 LOC (51%) 148 files
*.json5364 LOC (32%) 9 files
*.xsd1357 LOC (8%) 9 files
*.properties564 LOC (3%) 29 files
*.txt478 LOC (2%) 8 files
*.md212 LOC (1%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:45