apache / karaf-webconsole
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
jade
txt
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.

main12726 LOC (79%) 405 files
test584 LOC (3%) 13 files
generated0 LOC (0%) 0 files
build and deployment1809 LOC (11%) 20 files
other889 LOC (5%) 37 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
jade
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 405 files match defined criteria (12,726 LOC, 100.0% vs. main code):
    • 269 *.java files (6,905 LOC)
    • 20 *.js files (2,682 LOC)
    • 17 *.css files (1,424 LOC)
    • 71 *.html files (1,054 LOC)
    • 22 *.xml files (471 LOC)
    • 4 *.jade files (150 LOC)
    • 2 *.scala files (40 LOC)
  • " *.java" is biggest, containing 54.26% of LOC.
  • " *.scala" is smallest, containing 0.31% of LOC.


*.java6905 LOC (54%) 269 files
*.js2682 LOC (21%) 20 files
*.css1424 LOC (11%) 17 files
*.html1054 LOC (8%) 71 files
*.xml471 LOC (3%) 22 files
*.jade150 LOC (1%) 4 files
*.scala40 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/.*".
  • 13 files match defined criteria (584 LOC, 4.6% vs. main code). All matches are in *.java files.


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


*.xml1809 LOC (100%) 20 files
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
  • 37 files match defined criteria (889 LOC, 7.0% vs. main code):
    • 17 *.properties files (468 LOC)
    • 12 *.xml files (291 LOC)
    • 4 *.java files (85 LOC)
    • 2 *.scala files (33 LOC)
    • 1 *.html files (9 LOC)
    • 1 *.css files (3 LOC)
  • " *.properties" is biggest, containing 52.64% of LOC.
  • " *.css" is smallest, containing 0.34% of LOC.


*.properties468 LOC (52%) 17 files
*.xml291 LOC (32%) 12 files
*.java85 LOC (9%) 4 files
*.scala33 LOC (3%) 2 files
*.html9 LOC (1%) 1 file
*.css3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:15