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

main24286 LOC (47%) 488 files
test9743 LOC (19%) 240 files
generated0 LOC (0%) 0 files
build and deployment3713 LOC (7%) 51 files
other13273 LOC (26%) 278 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 ".*".
  • 488 files match defined criteria (24,286 LOC, 100.0% vs. main code):
    • 458 *.java files (23,708 LOC)
    • 28 *.xml files (312 LOC)
    • 1 *.js files (135 LOC)
    • 1 *.html files (131 LOC)
  • " *.java" is biggest, containing 97.62% of LOC.
  • " *.html" is smallest, containing 0.54% of LOC.


*.java23708 LOC (97%) 458 files
*.xml312 LOC (1%) 28 files
*.js135 LOC (<1%) 1 file
*.html131 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 ".*[-]test[-].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 240 files match defined criteria (9,743 LOC, 40.1% vs. main code):
    • 194 *.java files (8,452 LOC)
    • 19 *.xml files (720 LOC)
    • 26 *.xhtml files (544 LOC)
    • 1 *.js files (27 LOC)
  • " *.java" is biggest, containing 86.75% of LOC.
  • " *.js" is smallest, containing 0.28% of LOC.


*.java8452 LOC (86%) 194 files
*.xml720 LOC (7%) 19 files
*.xhtml544 LOC (5%) 26 files
*.js27 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 ".*/pom[.]xml".
  • 51 files match defined criteria (3,713 LOC, 15.3% vs. main code). All matches are in *.xml files.


*.xml3713 LOC (100%) 51 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 ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 278 files match defined criteria (13,273 LOC, 54.7% vs. main code):
    • 91 *.txt files (6,312 LOC)
    • 91 *.java files (2,793 LOC)
    • 31 *.xml files (2,144 LOC)
    • 24 *.xhtml files (767 LOC)
    • 4 *.css files (557 LOC)
    • 17 *.properties files (337 LOC)
    • 19 *.jsp files (336 LOC)
    • 1 *.js files (27 LOC)
  • " *.txt" is biggest, containing 47.56% of LOC.
  • " *.js" is smallest, containing 0.2% of LOC.


*.txt6312 LOC (47%) 91 files
*.java2793 LOC (21%) 91 files
*.xml2144 LOC (16%) 31 files
*.xhtml767 LOC (5%) 24 files
*.css557 LOC (4%) 4 files
*.properties337 LOC (2%) 17 files
*.jsp336 LOC (2%) 19 files
*.js27 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:00