apache / sling-project-archetype
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.

main384 LOC (20%) 18 files
test87 LOC (4%) 4 files
generated0 LOC (0%) 0 files
build and deployment984 LOC (51%) 9 files
other456 LOC (23%) 18 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 ".*".
  • 18 files match defined criteria (384 LOC, 100.0% vs. main code):
    • 5 *.xml files (148 LOC)
    • 1 *.groovy files (90 LOC)
    • 6 *.html files (61 LOC)
    • 5 *.java files (54 LOC)
    • 1 *.css files (31 LOC)
  • " *.xml" is biggest, containing 38.54% of LOC.
  • " *.css" is smallest, containing 8.07% of LOC.


*.xml148 LOC (38%) 5 files
*.groovy90 LOC (23%) 1 file
*.html61 LOC (15%) 6 files
*.java54 LOC (14%) 5 files
*.css31 LOC (8%) 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/.*".
  • 4 files match defined criteria (87 LOC, 22.7% vs. main code):
    • 1 *.sh files (59 LOC)
    • 1 *.xml files (19 LOC)
    • 1 *.groovy files (6 LOC)
    • 1 *.java files (3 LOC)
  • " *.sh" is biggest, containing 67.82% of LOC.
  • " *.java" is smallest, containing 3.45% of LOC.


*.sh59 LOC (67%) 1 file
*.xml19 LOC (21%) 1 file
*.groovy6 LOC (6%) 1 file
*.java3 LOC (3%) 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".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 9 files match defined criteria (984 LOC, 256.2% vs. main code):
    • 8 *.xml files (979 LOC)
    • 1 *.sh files (5 LOC)
  • " *.xml" is biggest, containing 99.49% of LOC.
  • " *.sh" is smallest, containing 0.51% of LOC.


*.xml979 LOC (99%) 8 files
*.sh5 LOC (<1%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 18 files match defined criteria (456 LOC, 118.8% vs. main code):
    • 5 *.md files (233 LOC)
    • 6 *.properties files (204 LOC)
    • 1 *.json files (13 LOC)
    • 6 *.txt files (6 LOC)
  • " *.md" is biggest, containing 51.1% of LOC.
  • " *.txt" is smallest, containing 1.32% of LOC.


*.md233 LOC (51%) 5 files
*.properties204 LOC (44%) 6 files
*.json13 LOC (2%) 1 file
*.txt6 LOC (1%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:11