apache / pekko-connectors
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
pub
properties
gitattributes
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.

main49713 LOC (68%) 715 files
test21514 LOC (29%) 257 files
generated0 LOC (0%) 0 files
build and deployment35 LOC (<1%) 5 files
other1184 LOC (1%) 17 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 ".*".
  • 715 files match defined criteria (49,713 LOC, 100.0% vs. main code):
    • 681 *.scala files (48,242 LOC)
    • 31 *.java files (1,003 LOC)
    • 2 *.sbt files (445 LOC)
    • 1 *.xml files (23 LOC)
  • " *.scala" is biggest, containing 97.04% of LOC.
  • " *.xml" is smallest, containing 0.05% of LOC.


*.scala48242 LOC (97%) 681 files
*.java1003 LOC (2%) 31 files
*.sbt445 LOC (<1%) 2 files
*.xml23 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
pub
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/e2e/.*".
  • 257 files match defined criteria (21,514 LOC, 43.3% vs. main code):
    • 167 *.scala files (17,003 LOC)
    • 31 *.java files (3,085 LOC)
    • 52 *.xml files (1,369 LOC)
    • 1 *.yaml files (38 LOC)
    • 5 *.pub files (15 LOC)
    • 1 *.sh files (4 LOC)
  • " *.scala" is biggest, containing 79.03% of LOC.
  • " *.sh" is smallest, containing 0.02% of LOC.


*.scala17003 LOC (79%) 167 files
*.java3085 LOC (14%) 31 files
*.xml1369 LOC (6%) 52 files
*.yaml38 LOC (<1%) 1 file
*.pub15 LOC (<1%) 5 files
*.sh4 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 5 files match defined criteria (35 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh35 LOC (100%) 5 files
Other Code
txt
properties
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 ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
  • 17 files match defined criteria (1,184 LOC, 2.4% vs. main code):
    • 8 *.txt files (918 LOC)
    • 5 *.md files (241 LOC)
    • 1 *.json files (21 LOC)
    • 2 *.properties files (3 LOC)
    • 1 *.svg files (1 LOC)
  • " *.txt" is biggest, containing 77.53% of LOC.
  • " *.svg" is smallest, containing 0.08% of LOC.


*.txt918 LOC (77%) 8 files
*.md241 LOC (20%) 5 files
*.json21 LOC (1%) 1 file
*.properties3 LOC (<1%) 2 files
*.svg1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:43