apache / sling-ide-tooling
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
project
txt
prefs
launch
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.

main23234 LOC (73%) 328 files
test6046 LOC (19%) 112 files
generated0 LOC (0%) 0 files
build and deployment2160 LOC (6%) 29 files
other320 LOC (1%) 39 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
launch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 328 files match defined criteria (23,234 LOC, 100.0% vs. main code):
    • 307 *.java files (20,406 LOC)
    • 18 *.xml files (2,240 LOC)
    • 1 *.launch files (566 LOC)
    • 1 *.html files (17 LOC)
    • 1 *.jsp files (5 LOC)
  • " *.java" is biggest, containing 87.83% of LOC.
  • " *.jsp" is smallest, containing 0.02% of LOC.


*.java20406 LOC (87%) 307 files
*.xml2240 LOC (9%) 18 files
*.launch566 LOC (2%) 1 file
*.html17 LOC (<1%) 1 file
*.jsp5 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/.*".
  • 112 files match defined criteria (6,046 LOC, 26.0% vs. main code):
    • 77 *.java files (5,732 LOC)
    • 35 *.xml files (314 LOC)
  • " *.java" is biggest, containing 94.81% of LOC.
  • " *.xml" is smallest, containing 5.19% of LOC.


*.java5732 LOC (94%) 77 files
*.xml314 LOC (5%) 35 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/assembly[.]xml".
  • 29 files match defined criteria (2,160 LOC, 9.3% vs. main code):
    • 25 *.xml files (2,010 LOC)
    • 4 *.sh files (150 LOC)
  • " *.xml" is biggest, containing 93.06% of LOC.
  • " *.sh" is smallest, containing 6.94% of LOC.


*.xml2010 LOC (93%) 25 files
*.sh150 LOC (6%) 4 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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
  • 39 files match defined criteria (320 LOC, 1.4% vs. main code):
    • 22 *.md files (129 LOC)
    • 13 *.properties files (105 LOC)
    • 4 *.txt files (86 LOC)
  • " *.md" is biggest, containing 40.31% of LOC.
  • " *.txt" is smallest, containing 26.88% of LOC.


*.md129 LOC (40%) 22 files
*.properties105 LOC (32%) 13 files
*.txt86 LOC (26%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:19