apache / pulsar-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
properties
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.

main10857 LOC (54%) 218 files
test7007 LOC (35%) 101 files
generated0 LOC (0%) 0 files
build and deployment1682 LOC (8%) 34 files
other207 LOC (1%) 5 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 ".*".
  • 218 files match defined criteria (10,857 LOC, 100.0% vs. main code):
    • 185 *.java files (10,681 LOC)
    • 33 *.yaml files (176 LOC)
  • " *.java" is biggest, containing 98.38% of LOC.
  • " *.yaml" is smallest, containing 1.62% of LOC.


*.java10681 LOC (98%) 185 files
*.yaml176 LOC (1%) 33 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/.*".
  • 101 files match defined criteria (7,007 LOC, 64.5% vs. main code):
    • 75 *.java files (6,722 LOC)
    • 20 *.yaml files (193 LOC)
    • 6 *.xml files (92 LOC)
  • " *.java" is biggest, containing 95.93% of LOC.
  • " *.xml" is smallest, containing 1.31% of LOC.


*.java6722 LOC (95%) 75 files
*.yaml193 LOC (2%) 20 files
*.xml92 LOC (1%) 6 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".
  • 34 files match defined criteria (1,682 LOC, 15.5% vs. main code). All matches are in *.xml files.


*.xml1682 LOC (100%) 34 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
  • 5 files match defined criteria (207 LOC, 1.9% vs. main code):
    • 3 *.properties files (151 LOC)
    • 1 *.json files (37 LOC)
    • 1 *.txt files (19 LOC)
  • " *.properties" is biggest, containing 72.95% of LOC.
  • " *.txt" is smallest, containing 9.18% of LOC.


*.properties151 LOC (72%) 3 files
*.json37 LOC (17%) 1 file
*.txt19 LOC (9%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:44