apache / incubator-pekko-persistence-jdbc
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
gitattributes
txt
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.

main4408 LOC (44%) 108 files
test5276 LOC (52%) 68 files
generated0 LOC (0%) 0 files
build and deployment154 LOC (1%) 11 files
other167 LOC (1%) 4 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 ".*".
  • 108 files match defined criteria (4,408 LOC, 100.0% vs. main code):
    • 86 *.scala files (3,882 LOC)
    • 20 *.sql files (418 LOC)
    • 2 *.sbt files (108 LOC)
  • " *.scala" is biggest, containing 88.07% of LOC.
  • " *.sbt" is smallest, containing 2.45% of LOC.


*.scala3882 LOC (88%) 86 files
*.sql418 LOC (9%) 20 files
*.sbt108 LOC (2%) 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/.*".
  • 68 files match defined criteria (5,276 LOC, 119.7% vs. main code):
    • 45 *.scala files (4,676 LOC)
    • 20 *.sql files (418 LOC)
    • 2 *.java files (166 LOC)
    • 1 *.xml files (16 LOC)
  • " *.scala" is biggest, containing 88.63% of LOC.
  • " *.xml" is smallest, containing 0.3% of LOC.


*.scala4676 LOC (88%) 45 files
*.sql418 LOC (7%) 20 files
*.java166 LOC (3%) 2 files
*.xml16 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/docker[-]compose[.]yml".
    • files with paths like ".*/[.]gitattributes".
  • 11 files match defined criteria (154 LOC, 3.5% vs. main code):
    • 10 *.sh files (117 LOC)
    • 1 *.yml files (37 LOC)
  • " *.sh" is biggest, containing 75.97% of LOC.
  • " *.yml" is smallest, containing 24.03% of LOC.


*.sh117 LOC (75%) 10 files
*.yml37 LOC (24%) 1 file
Other Code
properties
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 ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 4 files match defined criteria (167 LOC, 3.8% vs. main code):
    • 3 *.md files (151 LOC)
    • 1 *.properties files (16 LOC)
  • " *.md" is biggest, containing 90.42% of LOC.
  • " *.properties" is smallest, containing 9.58% of LOC.


*.md151 LOC (90%) 3 files
*.properties16 LOC (9%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:35