azure / rhel-jboss-templates
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
txt
gitattributes
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.

main1503 LOC (11%) 28 files
test791 LOC (5%) 9 files
generated0 LOC (0%) 0 files
build and deployment4906 LOC (36%) 65 files
other6387 LOC (47%) 21 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 ".*".
  • 28 files match defined criteria (1,503 LOC, 100.0% vs. main code):
    • 4 *.jsp files (502 LOC)
    • 2 *.ps1 files (275 LOC)
    • 6 *.html files (253 LOC)
    • 4 *.java files (219 LOC)
    • 9 *.xml files (140 LOC)
    • 1 *.xhtml files (80 LOC)
    • 1 *.css files (23 LOC)
    • 1 *.yaml files (11 LOC)
  • " *.jsp" is biggest, containing 33.4% of LOC.
  • " *.yaml" is smallest, containing 0.73% of LOC.


*.jsp502 LOC (33%) 4 files
*.ps1275 LOC (18%) 2 files
*.html253 LOC (16%) 6 files
*.java219 LOC (14%) 4 files
*.xml140 LOC (9%) 9 files
*.xhtml80 LOC (5%) 1 file
*.css23 LOC (1%) 1 file
*.yaml11 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[-].*".
  • 9 files match defined criteria (791 LOC, 52.6% vs. main code). All matches are in *.sh files.


*.sh791 LOC (100%) 9 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".
    • files with paths like ".*/[.]gitattributes".
  • 65 files match defined criteria (4,906 LOC, 326.4% vs. main code):
    • 53 *.sh files (4,567 LOC)
    • 12 *.xml files (339 LOC)
  • " *.sh" is biggest, containing 93.09% of LOC.
  • " *.xml" is smallest, containing 6.91% of LOC.


*.sh4567 LOC (93%) 53 files
*.xml339 LOC (6%) 12 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
  • 21 files match defined criteria (6,387 LOC, 425.0% vs. main code):
    • 7 *.json files (5,869 LOC)
    • 9 *.md files (273 LOC)
    • 3 *.properties files (213 LOC)
    • 1 *.java files (30 LOC)
    • 1 *.txt files (2 LOC)
  • " *.json" is biggest, containing 91.89% of LOC.
  • " *.txt" is smallest, containing 0.03% of LOC.


*.json5869 LOC (91%) 7 files
*.md273 LOC (4%) 9 files
*.properties213 LOC (3%) 3 files
*.java30 LOC (<1%) 1 file
*.txt2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:12