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

main6031 LOC (42%) 102 files
test4439 LOC (31%) 55 files
generated0 LOC (0%) 0 files
build and deployment391 LOC (2%) 10 files
other3381 LOC (23%) 31 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 ".*".
  • 102 files match defined criteria (6,031 LOC, 100.0% vs. main code):
    • 79 *.scala files (5,336 LOC)
    • 12 *.sbt files (358 LOC)
    • 8 *.yml files (302 LOC)
    • 2 *.xml files (24 LOC)
    • 1 *.java files (11 LOC)
  • " *.scala" is biggest, containing 88.48% of LOC.
  • " *.java" is smallest, containing 0.18% of LOC.


*.scala5336 LOC (88%) 79 files
*.sbt358 LOC (5%) 12 files
*.yml302 LOC (5%) 8 files
*.xml24 LOC (<1%) 2 files
*.java11 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 ".*[-]test[-].*".
    • files with paths like ".*[-]tests[-].*".
  • 55 files match defined criteria (4,439 LOC, 73.6% vs. main code):
    • 42 *.scala files (4,025 LOC)
    • 10 *.java files (274 LOC)
    • 2 *.yaml files (128 LOC)
    • 1 *.sh files (12 LOC)
  • " *.scala" is biggest, containing 90.67% of LOC.
  • " *.sh" is smallest, containing 0.27% of LOC.


*.scala4025 LOC (90%) 42 files
*.java274 LOC (6%) 10 files
*.yaml128 LOC (2%) 2 files
*.sh12 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 10 files match defined criteria (391 LOC, 6.5% vs. main code):
    • 9 *.sh files (224 LOC)
    • 1 *.xml files (167 LOC)
  • " *.sh" is biggest, containing 57.29% of LOC.
  • " *.xml" is smallest, containing 42.71% of LOC.


*.sh224 LOC (57%) 9 files
*.xml167 LOC (42%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 31 files match defined criteria (3,381 LOC, 56.1% vs. main code):
    • 10 *.json files (2,679 LOC)
    • 11 *.md files (470 LOC)
    • 1 *.txt files (169 LOC)
    • 2 *.java files (56 LOC)
    • 7 *.properties files (7 LOC)
  • " *.json" is biggest, containing 79.24% of LOC.
  • " *.properties" is smallest, containing 0.21% of LOC.


*.json2679 LOC (79%) 10 files
*.md470 LOC (13%) 11 files
*.txt169 LOC (4%) 1 file
*.java56 LOC (1%) 2 files
*.properties7 LOC (<1%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:35