apache / myfaces-trinidad
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
xsd
properties
txt
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.

main294005 LOC (23%) 2,209 files
test933746 LOC (75%) 1,076 files
generated0 LOC (0%) 0 files
build and deployment2630 LOC (<1%) 12 files
other4028 LOC (<1%) 47 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2209 files match defined criteria (294,005 LOC, 100.0% vs. main code):
    • 1,532 *.java files (209,900 LOC)
    • 358 *.xml files (48,515 LOC)
    • 31 *.js files (17,601 LOC)
    • 17 *.css files (10,880 LOC)
    • 261 *.xhtml files (5,190 LOC)
    • 2 *.xsd files (1,818 LOC)
    • 3 *.jsp files (73 LOC)
    • 5 *.html files (28 LOC)
  • " *.java" is biggest, containing 71.39% of LOC.
  • " *.html" is smallest, containing 0.01% of LOC.


*.java209900 LOC (71%) 1,532 files
*.xml48515 LOC (16%) 358 files
*.js17601 LOC (5%) 31 files
*.css10880 LOC (3%) 17 files
*.xhtml5190 LOC (1%) 261 files
*.xsd1818 LOC (<1%) 2 files
*.jsp73 LOC (<1%) 3 files
*.html28 LOC (<1%) 5 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/.*".
  • 1076 files match defined criteria (933,746 LOC, 317.6% vs. main code):
    • 899 *.xml files (909,556 LOC)
    • 167 *.java files (21,907 LOC)
    • 10 *.css files (2,283 LOC)
  • " *.xml" is biggest, containing 97.41% of LOC.
  • " *.css" is smallest, containing 0.24% of LOC.


*.xml909556 LOC (97%) 899 files
*.java21907 LOC (2%) 167 files
*.css2283 LOC (<1%) 10 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 12 files match defined criteria (2,630 LOC, 0.9% vs. main code):
    • 10 *.xml files (2,530 LOC)
    • 2 *.sh files (100 LOC)
  • " *.xml" is biggest, containing 96.2% of LOC.
  • " *.sh" is smallest, containing 3.8% of LOC.


*.xml2530 LOC (96%) 10 files
*.sh100 LOC (3%) 2 files
Other Code
xsd
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
  • 47 files match defined criteria (4,028 LOC, 1.4% vs. main code):
    • 10 *.xsd files (1,737 LOC)
    • 9 *.xhtml files (798 LOC)
    • 5 *.java files (380 LOC)
    • 2 *.svg files (327 LOC)
    • 11 *.properties files (312 LOC)
    • 7 *.txt files (301 LOC)
    • 1 *.css files (150 LOC)
    • 1 *.xml files (18 LOC)
    • 1 *.html files (5 LOC)
  • " *.xsd" is biggest, containing 43.12% of LOC.
  • " *.html" is smallest, containing 0.12% of LOC.


*.xsd1737 LOC (43%) 10 files
*.xhtml798 LOC (19%) 9 files
*.java380 LOC (9%) 5 files
*.svg327 LOC (8%) 2 files
*.properties312 LOC (7%) 11 files
*.txt301 LOC (7%) 7 files
*.css150 LOC (3%) 1 file
*.xml18 LOC (<1%) 1 file
*.html5 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:46