apache / myfaces-build-tools
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
xsd
xsl
jsb
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.

main58424 LOC (74%) 585 files
test6441 LOC (8%) 79 files
generated0 LOC (0%) 0 files
build and deployment6176 LOC (7%) 50 files
other7715 LOC (9%) 117 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 585 files match defined criteria (58,424 LOC, 100.0% vs. main code):
    • 473 *.java files (54,371 LOC)
    • 66 *.xml files (2,651 LOC)
    • 2 *.xsl files (717 LOC)
    • 17 *.xhtml files (352 LOC)
    • 14 *.jsp files (211 LOC)
    • 6 *.css files (84 LOC)
    • 7 *.html files (38 LOC)
  • " *.java" is biggest, containing 93.06% of LOC.
  • " *.html" is smallest, containing 0.07% of LOC.


*.java54371 LOC (93%) 473 files
*.xml2651 LOC (4%) 66 files
*.xsl717 LOC (1%) 2 files
*.xhtml352 LOC (<1%) 17 files
*.jsp211 LOC (<1%) 14 files
*.css84 LOC (<1%) 6 files
*.html38 LOC (<1%) 7 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
jsb
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 79 files match defined criteria (6,441 LOC, 11.0% vs. main code):
    • 47 *.java files (4,125 LOC)
    • 18 *.xml files (1,158 LOC)
    • 12 *.js files (1,116 LOC)
    • 1 *.html files (22 LOC)
    • 1 *.jsb files (20 LOC)
  • " *.java" is biggest, containing 64.04% of LOC.
  • " *.jsb" is smallest, containing 0.31% of LOC.


*.java4125 LOC (64%) 47 files
*.xml1158 LOC (17%) 18 files
*.js1116 LOC (17%) 12 files
*.html22 LOC (<1%) 1 file
*.jsb20 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 50 files match defined criteria (6,176 LOC, 10.6% vs. main code):
    • 49 *.xml files (6,172 LOC)
    • 1 *.sh files (4 LOC)
  • " *.xml" is biggest, containing 99.94% of LOC.
  • " *.sh" is smallest, containing 0.06% of LOC.


*.xml6172 LOC (99%) 49 files
*.sh4 LOC (<1%) 1 file
Other Code
txt
properties
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
  • 117 files match defined criteria (7,715 LOC, 13.2% vs. main code):
    • 63 *.txt files (5,403 LOC)
    • 19 *.xml files (1,244 LOC)
    • 9 *.xhtml files (270 LOC)
    • 10 *.properties files (246 LOC)
    • 2 *.xsd files (201 LOC)
    • 7 *.jsp files (159 LOC)
    • 3 *.java files (158 LOC)
    • 1 *.css files (14 LOC)
    • 1 *.scala files (9 LOC)
    • 1 *.groovy files (6 LOC)
    • 1 *.html files (5 LOC)
  • " *.txt" is biggest, containing 70.03% of LOC.
  • " *.html" is smallest, containing 0.06% of LOC.


*.txt5403 LOC (70%) 63 files
*.xml1244 LOC (16%) 19 files
*.xhtml270 LOC (3%) 9 files
*.properties246 LOC (3%) 10 files
*.xsd201 LOC (2%) 2 files
*.jsp159 LOC (2%) 7 files
*.java158 LOC (2%) 3 files
*.css14 LOC (<1%) 1 file
*.scala9 LOC (<1%) 1 file
*.groovy6 LOC (<1%) 1 file
*.html5 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:15