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.

main23087 LOC (73%) 323 files
test6060 LOC (19%) 112 files
generated0 LOC (0%) 0 files
build and deployment2146 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 ".*".
  • 323 files match defined criteria (23,087 LOC, 100.0% vs. main code):
    • 303 *.java files (20,345 LOC)
    • 17 *.xml files (2,154 LOC)
    • 1 *.launch files (566 LOC)
    • 1 *.html files (17 LOC)
    • 1 *.jsp files (5 LOC)
  • " *.java" is biggest, containing 88.12% of LOC.
  • " *.jsp" is smallest, containing 0.02% of LOC.


*.java20345 LOC (88%) 303 files
*.xml2154 LOC (9%) 17 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,060 LOC, 26.2% vs. main code):
    • 77 *.java files (5,746 LOC)
    • 35 *.xml files (314 LOC)
  • " *.java" is biggest, containing 94.82% of LOC.
  • " *.xml" is smallest, containing 5.18% of LOC.


*.java5746 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 ".*/pom[.]xml".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 29 files match defined criteria (2,146 LOC, 9.3% vs. main code):
    • 25 *.xml files (1,996 LOC)
    • 4 *.sh files (150 LOC)
  • " *.xml" is biggest, containing 93.01% of LOC.
  • " *.sh" is smallest, containing 6.99% of LOC.


*.xml1996 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 ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
  • 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.


2023-08-10 21:02