apache / parquet-cpp
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
in
clang-format
clang-tidy
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.

main25710 LOC (89%) 113 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment453 LOC (1%) 11 files
other2629 LOC (9%) 25 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 113 files match defined criteria (25,710 LOC, 100.0% vs. main code):
    • 46 *.cc files (15,247 LOC)
    • 43 *.h files (5,142 LOC)
    • 4 *.py files (3,293 LOC)
    • 14 *.cmake files (1,614 LOC)
    • 1 *.thrift files (273 LOC)
    • 3 *.in files (57 LOC)
    • 1 *.yml files (43 LOC)
    • 1 *.pl files (41 LOC)
  • " *.cc" is biggest, containing 59.3% of LOC.
  • " *.pl" is smallest, containing 0.16% of LOC.


*.cc15247 LOC (59%) 46 files
*.h5142 LOC (20%) 43 files
*.py3293 LOC (12%) 4 files
*.cmake1614 LOC (6%) 14 files
*.thrift273 LOC (1%) 1 file
*.in57 LOC (<1%) 3 files
*.yml43 LOC (<1%) 1 file
*.pl41 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 ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 11 files match defined criteria (453 LOC, 1.8% vs. main code):
    • 9 *.sh files (347 LOC)
    • 2 *.bat files (106 LOC)
  • " *.sh" is biggest, containing 76.6% of LOC.
  • " *.bat" is smallest, containing 23.4% of LOC.


*.sh347 LOC (76%) 9 files
*.bat106 LOC (23%) 2 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 25 files match defined criteria (2,629 LOC, 10.2% vs. main code):
    • 13 *.txt files (1,289 LOC)
    • 3 *.cc files (603 LOC)
    • 5 *.md files (398 LOC)
    • 3 *.cmake files (307 LOC)
    • 1 *.h files (32 LOC)
  • " *.txt" is biggest, containing 49.03% of LOC.
  • " *.h" is smallest, containing 1.22% of LOC.


*.txt1289 LOC (49%) 13 files
*.cc603 LOC (22%) 3 files
*.md398 LOC (15%) 5 files
*.cmake307 LOC (11%) 3 files
*.h32 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:16