apache / incubator-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.

main44164 LOC (68%) 642 files
test18930 LOC (29%) 227 files
generated0 LOC (0%) 0 files
build and deployment302 LOC (<1%) 7 files
other803 LOC (1%) 13 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 ".*".
  • 642 files match defined criteria (44,164 LOC, 100.0% vs. main code):
    • 612 *.scala files (42,880 LOC)
    • 27 *.java files (854 LOC)
    • 2 *.sbt files (407 LOC)
    • 1 *.xml files (23 LOC)
  • " *.scala" is biggest, containing 97.09% of LOC.
  • " *.xml" is smallest, containing 0.05% of LOC.


*.scala42880 LOC (97%) 612 files
*.java854 LOC (1%) 27 files
*.sbt407 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/.*".
  • 227 files match defined criteria (18,930 LOC, 42.9% vs. main code):
    • 143 *.scala files (14,979 LOC)
    • 29 *.java files (2,634 LOC)
    • 48 *.xml files (1,260 LOC)
    • 1 *.yaml files (38 LOC)
    • 5 *.pub files (15 LOC)
    • 1 *.sh files (4 LOC)
  • " *.scala" is biggest, containing 79.13% of LOC.
  • " *.sh" is smallest, containing 0.02% of LOC.


*.scala14979 LOC (79%) 143 files
*.java2634 LOC (13%) 29 files
*.xml1260 LOC (6%) 48 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".
    • files with paths like ".*/docker[-]compose[.]yml".
  • 7 files match defined criteria (302 LOC, 0.7% vs. main code):
    • 1 *.yml files (246 LOC)
    • 6 *.sh files (56 LOC)
  • " *.yml" is biggest, containing 81.46% of LOC.
  • " *.sh" is smallest, containing 18.54% of LOC.


*.yml246 LOC (81%) 1 file
*.sh56 LOC (18%) 6 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 13 files match defined criteria (803 LOC, 1.8% vs. main code):
    • 5 *.txt files (552 LOC)
    • 4 *.md files (226 LOC)
    • 1 *.json files (21 LOC)
    • 2 *.properties files (3 LOC)
    • 1 *.svg files (1 LOC)
  • " *.txt" is biggest, containing 68.74% of LOC.
  • " *.svg" is smallest, containing 0.12% of LOC.


*.txt552 LOC (68%) 5 files
*.md226 LOC (28%) 4 files
*.json21 LOC (2%) 1 file
*.properties3 LOC (<1%) 2 files
*.svg1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:35