apache / dubbo-integration-cases
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
editorconfig
txt
cmd
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.

main1059 LOC (2%) 67 files
test13845 LOC (36%) 203 files
generated0 LOC (0%) 0 files
build and deployment4016 LOC (10%) 56 files
other19225 LOC (50%) 591 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 ".*".
  • 67 files match defined criteria (1,059 LOC, 100.0% vs. main code):
    • 59 *.xml files (926 LOC)
    • 6 *.java files (90 LOC)
    • 2 *.sql files (43 LOC)
  • " *.xml" is biggest, containing 87.44% of LOC.
  • " *.sql" is smallest, containing 4.06% of LOC.


*.xml926 LOC (87%) 59 files
*.java90 LOC (8%) 6 files
*.sql43 LOC (4%) 2 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 ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
  • 203 files match defined criteria (13,845 LOC, 1307.4% vs. main code):
    • 144 *.xml files (7,092 LOC)
    • 43 *.java files (5,897 LOC)
    • 16 *.sh files (856 LOC)
  • " *.xml" is biggest, containing 51.22% of LOC.
  • " *.sh" is smallest, containing 6.18% of LOC.


*.xml7092 LOC (51%) 144 files
*.java5897 LOC (42%) 43 files
*.sh856 LOC (6%) 16 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".
  • 56 files match defined criteria (4,016 LOC, 379.2% vs. main code). All matches are in *.xml files.


*.xml4016 LOC (100%) 56 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 ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
  • 591 files match defined criteria (19,225 LOC, 1815.4% vs. main code):
    • 542 *.java files (17,383 LOC)
    • 10 *.md files (1,038 LOC)
    • 37 *.properties files (776 LOC)
    • 2 *.xml files (28 LOC)
  • " *.java" is biggest, containing 90.42% of LOC.
  • " *.xml" is smallest, containing 0.15% of LOC.


*.java17383 LOC (90%) 542 files
*.md1038 LOC (5%) 10 files
*.properties776 LOC (4%) 37 files
*.xml28 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:55