apache / parquet-mr
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
proto
txt
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.

main63439 LOC (54%) 568 files
test48152 LOC (41%) 272 files
generated0 LOC (0%) 0 files
build and deployment3181 LOC (2%) 26 files
other2545 LOC (2%) 32 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 ".*".
  • 568 files match defined criteria (63,439 LOC, 100.0% vs. main code):
    • 566 *.java files (63,113 LOC)
    • 1 *.py files (275 LOC)
    • 1 *.scala files (51 LOC)
  • " *.java" is biggest, containing 99.49% of LOC.
  • " *.scala" is smallest, containing 0.08% of LOC.


*.java63113 LOC (99%) 566 files
*.py275 LOC (<1%) 1 file
*.scala51 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 272 files match defined criteria (48,152 LOC, 75.9% vs. main code):
    • 250 *.java files (46,890 LOC)
    • 11 *.avsc files (510 LOC)
    • 6 *.proto files (401 LOC)
    • 4 *.thrift files (298 LOC)
    • 1 *.scala files (53 LOC)
  • " *.java" is biggest, containing 97.38% of LOC.
  • " *.scala" is smallest, containing 0.11% of LOC.


*.java46890 LOC (97%) 250 files
*.avsc510 LOC (1%) 11 files
*.proto401 LOC (<1%) 6 files
*.thrift298 LOC (<1%) 4 files
*.scala53 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 26 files match defined criteria (3,181 LOC, 5.0% vs. main code):
    • 20 *.xml files (2,991 LOC)
    • 6 *.sh files (190 LOC)
  • " *.xml" is biggest, containing 94.03% of LOC.
  • " *.sh" is smallest, containing 5.97% of LOC.


*.xml2991 LOC (94%) 20 files
*.sh190 LOC (5%) 6 files
Other Code
properties
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 ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 32 files match defined criteria (2,545 LOC, 4.0% vs. main code):
    • 21 *.md files (2,080 LOC)
    • 7 *.properties files (170 LOC)
    • 2 *.json files (145 LOC)
    • 1 *.java files (140 LOC)
    • 1 *.txt files (10 LOC)
  • " *.md" is biggest, containing 81.73% of LOC.
  • " *.txt" is smallest, containing 0.39% of LOC.


*.md2080 LOC (81%) 21 files
*.properties170 LOC (6%) 7 files
*.json145 LOC (5%) 2 files
*.java140 LOC (5%) 1 file
*.txt10 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:16