apache / iceberg-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.

main6878 LOC (65%) 70 files
test2328 LOC (22%) 22 files
generated0 LOC (0%) 0 files
build and deployment54 LOC (<1%) 2 files
other1295 LOC (12%) 23 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 ".*".
  • 70 files match defined criteria (6,878 LOC, 100.0% vs. main code):
    • 42 *.h files (3,632 LOC)
    • 24 *.cc files (2,675 LOC)
    • 2 *.cmake files (467 LOC)
    • 1 *.in files (89 LOC)
    • 1 *.py files (15 LOC)
  • " *.h" is biggest, containing 52.81% of LOC.
  • " *.py" is smallest, containing 0.22% of LOC.


*.h3632 LOC (52%) 42 files
*.cc2675 LOC (38%) 24 files
*.cmake467 LOC (6%) 2 files
*.in89 LOC (1%) 1 file
*.py15 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test_.*".
  • 22 files match defined criteria (2,328 LOC, 33.8% vs. main code):
    • 19 *.cc files (2,087 LOC)
    • 2 *.h files (221 LOC)
    • 1 *.in files (20 LOC)
  • " *.cc" is biggest, containing 89.65% of LOC.
  • " *.in" is smallest, containing 0.86% of LOC.


*.cc2087 LOC (89%) 19 files
*.h221 LOC (9%) 2 files
*.in20 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (54 LOC, 0.8% vs. main code). All matches are in *.sh files.


*.sh54 LOC (100%) 2 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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
  • 23 files match defined criteria (1,295 LOC, 18.8% vs. main code):
    • 13 *.json files (868 LOC)
    • 9 *.txt files (354 LOC)
    • 1 *.md files (73 LOC)
  • " *.json" is biggest, containing 67.03% of LOC.
  • " *.md" is smallest, containing 5.64% of LOC.


*.json868 LOC (67%) 13 files
*.txt354 LOC (27%) 9 files
*.md73 LOC (5%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 21:04