apache / pekko-projection
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
proto
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.

main10034 LOC (41%) 110 files
test5704 LOC (23%) 34 files
generated5531 LOC (23%) 1 file
build and deployment4 LOC (<1%) 1 file
other2752 LOC (11%) 40 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 ".*".
  • 110 files match defined criteria (10,034 LOC, 100.0% vs. main code):
    • 100 *.scala files (9,284 LOC)
    • 1 *.java files (324 LOC)
    • 2 *.sbt files (211 LOC)
    • 1 *.yaml files (91 LOC)
    • 4 *.xml files (78 LOC)
    • 1 *.proto files (45 LOC)
    • 1 *.sql files (1 LOC)
  • " *.scala" is biggest, containing 92.53% of LOC.
  • " *.sql" is smallest, containing 0.01% of LOC.


*.scala9284 LOC (92%) 100 files
*.java324 LOC (3%) 1 file
*.sbt211 LOC (2%) 2 files
*.yaml91 LOC (<1%) 1 file
*.xml78 LOC (<1%) 4 files
*.proto45 LOC (<1%) 1 file
*.sql1 LOC (<1%) 1 file
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/.*".
    • files with paths like ".*/testing[.].*".
  • 34 files match defined criteria (5,704 LOC, 56.8% vs. main code):
    • 25 *.scala files (4,968 LOC)
    • 3 *.java files (631 LOC)
    • 6 *.xml files (105 LOC)
  • " *.scala" is biggest, containing 87.1% of LOC.
  • " *.xml" is smallest, containing 1.84% of LOC.


*.scala4968 LOC (87%) 25 files
*.java631 LOC (11%) 3 files
*.xml105 LOC (1%) 6 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "//[ ]*Generated by .*".
  • 1 file matches defined criteria (5,531 LOC, 55.1% vs. main code). All matches are in *.java files.


*.java5531 LOC (100%) 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".
  • 1 file matches defined criteria (4 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh4 LOC (100%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
  • 40 files match defined criteria (2,752 LOC, 27.4% vs. main code):
    • 25 *.java files (2,547 LOC)
    • 6 *.sql files (126 LOC)
    • 3 *.xml files (54 LOC)
    • 2 *.md files (19 LOC)
    • 2 *.scala files (4 LOC)
    • 1 *.txt files (1 LOC)
    • 1 *.properties files (1 LOC)
  • " *.java" is biggest, containing 92.55% of LOC.
  • " *.properties" is smallest, containing 0.04% of LOC.


*.java2547 LOC (92%) 25 files
*.sql126 LOC (4%) 6 files
*.xml54 LOC (1%) 3 files
*.md19 LOC (<1%) 2 files
*.scala4 LOC (<1%) 2 files
*.txt1 LOC (<1%) 1 file
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:43