apache / datafusion-ray
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.

main7414 LOC (90%) 55 files
test0 LOC (0%) 0 files
generated41 LOC (<1%) 2 files
build and deployment229 LOC (2%) 5 files
other541 LOC (6%) 8 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 ".*".
  • 55 files match defined criteria (7,414 LOC, 100.0% vs. main code):
    • 13 *.py files (3,182 LOC)
    • 15 *.rs files (1,868 LOC)
    • 3 *.proto files (1,594 LOC)
    • 22 *.sql files (625 LOC)
    • 2 *.toml files (145 LOC)
  • " *.py" is biggest, containing 42.92% of LOC.
  • " *.toml" is smallest, containing 1.96% of LOC.


*.py3182 LOC (42%) 13 files
*.rs1868 LOC (25%) 15 files
*.proto1594 LOC (21%) 3 files
*.sql625 LOC (8%) 22 files
*.toml145 LOC (1%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/generated/.*".
  • 2 files match defined criteria (41 LOC, 0.6% vs. main code). All matches are in *.rs files.


*.rs41 LOC (100%) 2 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 5 files match defined criteria (229 LOC, 3.1% vs. main code). All matches are in *.sh files.


*.sh229 LOC (100%) 5 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
  • 8 files match defined criteria (541 LOC, 7.3% vs. main code):
    • 3 *.md files (289 LOC)
    • 3 *.txt files (220 LOC)
    • 2 *.py files (32 LOC)
  • " *.md" is biggest, containing 53.42% of LOC.
  • " *.py" is smallest, containing 5.91% of LOC.


*.md289 LOC (53%) 3 files
*.txt220 LOC (40%) 3 files
*.py32 LOC (5%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 21:02