apache / servicecomb-saga-actuator
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
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.

main5700 LOC (37%) 152 files
test5205 LOC (34%) 60 files
generated0 LOC (0%) 0 files
build and deployment2871 LOC (18%) 35 files
other1429 LOC (9%) 27 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 ".*".
  • 152 files match defined criteria (5,700 LOC, 100.0% vs. main code):
    • 131 *.java files (4,105 LOC)
    • 3 *.js files (931 LOC)
    • 4 *.html files (413 LOC)
    • 8 *.yaml files (104 LOC)
    • 3 *.xml files (74 LOC)
    • 2 *.css files (65 LOC)
    • 1 *.sql files (8 LOC)
  • " *.java" is biggest, containing 72.02% of LOC.
  • " *.sql" is smallest, containing 0.14% of LOC.


*.java4105 LOC (72%) 131 files
*.js931 LOC (16%) 3 files
*.html413 LOC (7%) 4 files
*.yaml104 LOC (1%) 8 files
*.xml74 LOC (1%) 3 files
*.css65 LOC (1%) 2 files
*.sql8 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 ".*[-]tests/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
  • 60 files match defined criteria (5,205 LOC, 91.3% vs. main code):
    • 47 *.java files (4,422 LOC)
    • 10 *.xml files (759 LOC)
    • 2 *.yaml files (14 LOC)
    • 1 *.sql files (10 LOC)
  • " *.java" is biggest, containing 84.96% of LOC.
  • " *.sql" is smallest, containing 0.19% of LOC.


*.java4422 LOC (84%) 47 files
*.xml759 LOC (14%) 10 files
*.yaml14 LOC (<1%) 2 files
*.sql10 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/docker[-]compose[.]yaml".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*/assembly[.]xml".
  • 35 files match defined criteria (2,871 LOC, 50.4% vs. main code):
    • 29 *.xml files (2,647 LOC)
    • 2 *.yaml files (128 LOC)
    • 4 *.sh files (96 LOC)
  • " *.xml" is biggest, containing 92.2% of LOC.
  • " *.sh" is smallest, containing 3.34% of LOC.


*.xml2647 LOC (92%) 29 files
*.yaml128 LOC (4%) 2 files
*.sh96 LOC (3%) 4 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 27 files match defined criteria (1,429 LOC, 25.1% vs. main code):
    • 20 *.java files (828 LOC)
    • 5 *.md files (423 LOC)
    • 2 *.txt files (178 LOC)
  • " *.java" is biggest, containing 57.94% of LOC.
  • " *.txt" is smallest, containing 12.46% of LOC.


*.java828 LOC (57%) 20 files
*.md423 LOC (29%) 5 files
*.txt178 LOC (12%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:00