apache / pulsar-dotpulsar
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
csproj
gitattributes
txt
proto
editorconfig
dotsettings
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.

main13491 LOC (76%) 285 files
test3007 LOC (17%) 37 files
generated0 LOC (0%) 0 files
build and deployment81 LOC (<1%) 2 files
other1021 LOC (5%) 25 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 285 files match defined criteria (13,491 LOC, 100.0% vs. main code):
    • 284 *.cs files (13,466 LOC)
    • 1 *.proto files (25 LOC)
  • " *.cs" is biggest, containing 99.81% of LOC.
  • " *.proto" is smallest, containing 0.19% of LOC.


*.cs13466 LOC (99%) 284 files
*.proto25 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 37 files match defined criteria (3,007 LOC, 22.3% vs. main code):
    • 36 *.cs files (2,962 LOC)
    • 1 *.csproj files (45 LOC)
  • " *.cs" is biggest, containing 98.5% of LOC.
  • " *.csproj" is smallest, containing 1.5% of LOC.


*.cs2962 LOC (98%) 36 files
*.csproj45 LOC (1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 2 files match defined criteria (81 LOC, 0.6% vs. main code). All matches are in *.csproj files.


*.csproj81 LOC (100%) 2 files
Other Code
csproj
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 ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
  • 25 files match defined criteria (1,021 LOC, 7.6% vs. main code):
    • 4 *.md files (587 LOC)
    • 10 *.cs files (296 LOC)
    • 7 *.json files (82 LOC)
    • 4 *.csproj files (56 LOC)
  • " *.md" is biggest, containing 57.49% of LOC.
  • " *.csproj" is smallest, containing 5.48% of LOC.


*.md587 LOC (57%) 4 files
*.cs296 LOC (28%) 10 files
*.json82 LOC (8%) 7 files
*.csproj56 LOC (5%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:45