apache / karaf-cave
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
cfg
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.

main9392 LOC (62%) 113 files
test681 LOC (4%) 8 files
generated0 LOC (0%) 0 files
build and deployment1629 LOC (10%) 13 files
other3284 LOC (21%) 10 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 ".*".
  • 113 files match defined criteria (9,392 LOC, 100.0% vs. main code):
    • 109 *.java files (9,039 LOC)
    • 1 *.yml files (204 LOC)
    • 3 *.xml files (149 LOC)
  • " *.java" is biggest, containing 96.24% of LOC.
  • " *.xml" is smallest, containing 1.59% of LOC.


*.java9039 LOC (96%) 109 files
*.yml204 LOC (2%) 1 file
*.xml149 LOC (1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 8 files match defined criteria (681 LOC, 7.3% vs. main code):
    • 7 *.java files (655 LOC)
    • 1 *.cfg files (26 LOC)
  • " *.java" is biggest, containing 96.18% of LOC.
  • " *.cfg" is smallest, containing 3.82% of LOC.


*.java655 LOC (96%) 7 files
*.cfg26 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 13 files match defined criteria (1,629 LOC, 17.3% vs. main code). All matches are in *.xml files.


*.xml1629 LOC (100%) 13 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 10 files match defined criteria (3,284 LOC, 35.0% vs. main code):
    • 1 *.css files (2,018 LOC)
    • 5 *.adoc files (818 LOC)
    • 2 *.txt files (338 LOC)
    • 2 *.md files (110 LOC)
  • " *.css" is biggest, containing 61.45% of LOC.
  • " *.md" is smallest, containing 3.35% of LOC.


*.css2018 LOC (61%) 1 file
*.adoc818 LOC (24%) 5 files
*.txt338 LOC (10%) 2 files
*.md110 LOC (3%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:14