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

main19442 LOC (69%) 297 files
test1512 LOC (5%) 23 files
generated0 LOC (0%) 0 files
build and deployment2627 LOC (9%) 23 files
other4550 LOC (16%) 48 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 297 files match defined criteria (19,442 LOC, 100.0% vs. main code):
    • 288 *.java files (18,496 LOC)
    • 4 *.xml files (355 LOC)
    • 2 *.js files (340 LOC)
    • 1 *.yml files (204 LOC)
    • 2 *.cfg files (47 LOC)
  • " *.java" is biggest, containing 95.13% of LOC.
  • " *.cfg" is smallest, containing 0.24% of LOC.


*.java18496 LOC (95%) 288 files
*.xml355 LOC (1%) 4 files
*.js340 LOC (1%) 2 files
*.yml204 LOC (1%) 1 file
*.cfg47 LOC (<1%) 2 files
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/.*".
  • 23 files match defined criteria (1,512 LOC, 7.8% vs. main code):
    • 22 *.java files (1,498 LOC)
    • 1 *.xml files (14 LOC)
  • " *.java" is biggest, containing 99.07% of LOC.
  • " *.xml" is smallest, containing 0.93% of LOC.


*.java1498 LOC (99%) 22 files
*.xml14 LOC (<1%) 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".
  • 23 files match defined criteria (2,627 LOC, 13.5% vs. main code). All matches are in *.xml files.


*.xml2627 LOC (100%) 23 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 48 files match defined criteria (4,550 LOC, 23.4% vs. main code):
    • 1 *.css files (2,018 LOC)
    • 19 *.adoc files (1,449 LOC)
    • 13 *.xml files (440 LOC)
    • 3 *.txt files (365 LOC)
    • 10 *.java files (194 LOC)
    • 1 *.md files (58 LOC)
    • 1 *.properties files (26 LOC)
  • " *.css" is biggest, containing 44.35% of LOC.
  • " *.properties" is smallest, containing 0.57% of LOC.


*.css2018 LOC (44%) 1 file
*.adoc1449 LOC (31%) 19 files
*.xml440 LOC (9%) 13 files
*.txt365 LOC (8%) 3 files
*.java194 LOC (4%) 10 files
*.md58 LOC (1%) 1 file
*.properties26 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:04