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

main9531 LOC (77%) 194 files
test758 LOC (6%) 17 files
generated0 LOC (0%) 0 files
build and deployment736 LOC (5%) 9 files
other1255 LOC (10%) 46 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 ".*".
  • 194 files match defined criteria (9,531 LOC, 100.0% vs. main code):
    • 83 *.scala files (4,655 LOC)
    • 48 *.java files (3,762 LOC)
    • 32 *.sbt files (578 LOC)
    • 23 *.xml files (376 LOC)
    • 8 *.proto files (160 LOC)
  • " *.scala" is biggest, containing 48.84% of LOC.
  • " *.proto" is smallest, containing 1.68% of LOC.


*.scala4655 LOC (48%) 83 files
*.java3762 LOC (39%) 48 files
*.sbt578 LOC (6%) 32 files
*.xml376 LOC (3%) 23 files
*.proto160 LOC (1%) 8 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/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/test_.*".
  • 17 files match defined criteria (758 LOC, 8.0% vs. main code):
    • 3 *.java files (332 LOC)
    • 7 *.sh files (273 LOC)
    • 3 *.scala files (113 LOC)
    • 4 *.xml files (40 LOC)
  • " *.java" is biggest, containing 43.8% of LOC.
  • " *.xml" is smallest, containing 5.28% of LOC.


*.java332 LOC (43%) 3 files
*.sh273 LOC (36%) 7 files
*.scala113 LOC (14%) 3 files
*.xml40 LOC (5%) 4 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".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 9 files match defined criteria (736 LOC, 7.7% vs. main code). All matches are in *.xml files.


*.xml736 LOC (100%) 9 files
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
  • 46 files match defined criteria (1,255 LOC, 13.2% vs. main code):
    • 25 *.md files (1,144 LOC)
    • 2 *.java files (74 LOC)
    • 2 *.json files (20 LOC)
    • 17 *.properties files (17 LOC)
  • " *.md" is biggest, containing 91.16% of LOC.
  • " *.properties" is smallest, containing 1.35% of LOC.


*.md1144 LOC (91%) 25 files
*.java74 LOC (5%) 2 files
*.json20 LOC (1%) 2 files
*.properties17 LOC (1%) 17 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:43