aliyun / alibabacloud-analyticdb-postgresql-connector
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
proto
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.

main5807 LOC (21%) 29 files
test2487 LOC (9%) 21 files
generated17414 LOC (65%) 51 files
build and deployment256 LOC (<1%) 2 files
other528 LOC (1%) 10 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 ".*".
  • 29 files match defined criteria (5,807 LOC, 100.0% vs. main code):
    • 28 *.java files (5,618 LOC)
    • 1 *.proto files (189 LOC)
  • " *.java" is biggest, containing 96.75% of LOC.
  • " *.proto" is smallest, containing 3.25% of LOC.


*.java5618 LOC (96%) 28 files
*.proto189 LOC (3%) 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/.*".
  • 21 files match defined criteria (2,487 LOC, 42.8% vs. main code). All matches are in *.java files.


*.java2487 LOC (100%) 21 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "//[ ]*Generated by .*".
    • files with paths like ".*[.](py|java|h|cc|cpp|m|rb|php)" AND any line of content like ".*Generated by the protocol buffer compiler[.][ ]+DO NOT EDIT[!].*".
  • 51 files match defined criteria (17,414 LOC, 299.9% vs. main code). All matches are in *.java files.


*.java17414 LOC (100%) 51 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".
  • 2 files match defined criteria (256 LOC, 4.4% vs. main code). All matches are in *.xml files.


*.xml256 LOC (100%) 2 files
Other Code
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 ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
  • 10 files match defined criteria (528 LOC, 9.1% vs. main code):
    • 8 *.md files (345 LOC)
    • 2 *.xml files (183 LOC)
  • " *.md" is biggest, containing 65.34% of LOC.
  • " *.xml" is smallest, containing 34.66% of LOC.


*.md345 LOC (65%) 8 files
*.xml183 LOC (34%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:03