apache / myfaces-scripting
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
xslt
properties
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.

main18500 LOC (81%) 363 files
test1807 LOC (7%) 54 files
generated0 LOC (0%) 0 files
build and deployment1730 LOC (7%) 21 files
other615 LOC (2%) 24 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 363 files match defined criteria (18,500 LOC, 100.0% vs. main code):
    • 245 *.java files (13,154 LOC)
    • 66 *.xml files (3,642 LOC)
    • 26 *.xhtml files (862 LOC)
    • 4 *.css files (432 LOC)
    • 11 *.groovy files (208 LOC)
    • 3 *.scala files (89 LOC)
    • 2 *.rb files (50 LOC)
    • 1 *.xslt files (38 LOC)
    • 4 *.jsp files (16 LOC)
    • 1 *.js files (9 LOC)
  • " *.java" is biggest, containing 71.1% of LOC.
  • " *.js" is smallest, containing 0.05% of LOC.


*.java13154 LOC (71%) 245 files
*.xml3642 LOC (19%) 66 files
*.xhtml862 LOC (4%) 26 files
*.css432 LOC (2%) 4 files
*.groovy208 LOC (1%) 11 files
*.scala89 LOC (<1%) 3 files
*.rb50 LOC (<1%) 2 files
*.xslt38 LOC (<1%) 1 file
*.jsp16 LOC (<1%) 4 files
*.js9 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/.*".
  • 54 files match defined criteria (1,807 LOC, 9.8% vs. main code):
    • 33 *.java files (1,375 LOC)
    • 14 *.groovy files (236 LOC)
    • 2 *.xml files (122 LOC)
    • 3 *.rb files (66 LOC)
    • 2 *.scala files (8 LOC)
  • " *.java" is biggest, containing 76.09% of LOC.
  • " *.scala" is smallest, containing 0.44% of LOC.


*.java1375 LOC (76%) 33 files
*.groovy236 LOC (13%) 14 files
*.xml122 LOC (6%) 2 files
*.rb66 LOC (3%) 3 files
*.scala8 LOC (<1%) 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 21 files match defined criteria (1,730 LOC, 9.4% vs. main code):
    • 19 *.xml files (1,725 LOC)
    • 2 *.sh files (5 LOC)
  • " *.xml" is biggest, containing 99.71% of LOC.
  • " *.sh" is smallest, containing 0.29% of LOC.


*.xml1725 LOC (99%) 19 files
*.sh5 LOC (<1%) 2 files
Other Code
txt
properties
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 ".*[.]json".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
  • 24 files match defined criteria (615 LOC, 3.3% vs. main code):
    • 20 *.txt files (565 LOC)
    • 1 *.properties files (23 LOC)
    • 1 *.java files (12 LOC)
    • 1 *.scala files (9 LOC)
    • 1 *.groovy files (6 LOC)
  • " *.txt" is biggest, containing 91.87% of LOC.
  • " *.groovy" is smallest, containing 0.98% of LOC.


*.txt565 LOC (91%) 20 files
*.properties23 LOC (3%) 1 file
*.java12 LOC (1%) 1 file
*.scala9 LOC (1%) 1 file
*.groovy6 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:39