apache / rocketmq-connect
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
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.

main54500 LOC (71%) 793 files
test11211 LOC (14%) 176 files
generated0 LOC (0%) 0 files
build and deployment8002 LOC (10%) 47 files
other2615 LOC (3%) 40 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 ".*".
  • 793 files match defined criteria (54,500 LOC, 100.0% vs. main code):
    • 770 *.java files (53,245 LOC)
    • 16 *.xml files (1,122 LOC)
    • 1 *.py files (90 LOC)
    • 5 *.yaml files (34 LOC)
    • 1 *.avsc files (9 LOC)
  • " *.java" is biggest, containing 97.7% of LOC.
  • " *.avsc" is smallest, containing 0.02% of LOC.


*.java53245 LOC (97%) 770 files
*.xml1122 LOC (2%) 16 files
*.py90 LOC (<1%) 1 file
*.yaml34 LOC (<1%) 5 files
*.avsc9 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/.*".
  • 176 files match defined criteria (11,211 LOC, 20.6% vs. main code):
    • 175 *.java files (11,202 LOC)
    • 1 *.avsc files (9 LOC)
  • " *.java" is biggest, containing 99.92% of LOC.
  • " *.avsc" is smallest, containing 0.08% of LOC.


*.java11202 LOC (99%) 175 files
*.avsc9 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 ".*/assembly[.]xml".
    • files with paths like ".*[.]sh".
  • 47 files match defined criteria (8,002 LOC, 14.7% vs. main code):
    • 44 *.xml files (7,966 LOC)
    • 3 *.sh files (36 LOC)
  • " *.xml" is biggest, containing 99.55% of LOC.
  • " *.sh" is smallest, containing 0.45% of LOC.


*.xml7966 LOC (99%) 44 files
*.sh36 LOC (<1%) 3 files
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
  • 40 files match defined criteria (2,615 LOC, 4.8% vs. main code):
    • 34 *.md files (2,366 LOC)
    • 2 *.txt files (152 LOC)
    • 4 *.properties files (97 LOC)
  • " *.md" is biggest, containing 90.48% of LOC.
  • " *.properties" is smallest, containing 3.71% of LOC.


*.md2366 LOC (90%) 34 files
*.txt152 LOC (5%) 2 files
*.properties97 LOC (3%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 23:32