apache / arrow-flight-sql-postgresql
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
clang-format
editorconfig
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.

main5731 LOC (43%) 25 files
test711 LOC (5%) 4 files
generated0 LOC (0%) 0 files
build and deployment577 LOC (4%) 10 files
other6154 LOC (46%) 22 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 ".*".
  • 25 files match defined criteria (5,731 LOC, 100.0% vs. main code):
    • 6 *.cc files (4,657 LOC)
    • 3 *.c files (525 LOC)
    • 9 *.rb files (357 LOC)
    • 4 *.py files (121 LOC)
    • 1 *.hh files (63 LOC)
    • 1 *.html files (7 LOC)
    • 1 *.sql files (1 LOC)
  • " *.cc" is biggest, containing 81.26% of LOC.
  • " *.sql" is smallest, containing 0.02% of LOC.


*.cc4657 LOC (81%) 6 files
*.c525 LOC (9%) 3 files
*.rb357 LOC (6%) 9 files
*.py121 LOC (2%) 4 files
*.hh63 LOC (1%) 1 file
*.html7 LOC (<1%) 1 file
*.sql1 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 ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 4 files match defined criteria (711 LOC, 12.4% vs. main code):
    • 3 *.rb files (607 LOC)
    • 1 *.sh files (104 LOC)
  • " *.rb" is biggest, containing 85.37% of LOC.
  • " *.sh" is smallest, containing 14.63% of LOC.


*.rb607 LOC (85%) 3 files
*.sh104 LOC (14%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 10 files match defined criteria (577 LOC, 10.1% vs. main code). All matches are in *.sh files.


*.sh577 LOC (100%) 10 files
Other Code
txt
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 ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
  • 22 files match defined criteria (6,154 LOC, 107.4% vs. main code):
    • 4 *.svg files (4,926 LOC)
    • 12 *.md files (968 LOC)
    • 5 *.txt files (243 LOC)
    • 1 *.json files (17 LOC)
  • " *.svg" is biggest, containing 80.05% of LOC.
  • " *.json" is smallest, containing 0.28% of LOC.


*.svg4926 LOC (80%) 4 files
*.md968 LOC (15%) 12 files
*.txt243 LOC (3%) 5 files
*.json17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:46