apache / orc
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
orc
txt
properties
in
htaccess
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.

main71318 LOC (41%) 420 files
test55892 LOC (32%) 193 files
generated26 LOC (<1%) 1 file
build and deployment2226 LOC (1%) 14 files
other43411 LOC (25%) 244 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 ".*".
  • 420 files match defined criteria (71,318 LOC, 100.0% vs. main code):
    • 263 *.java files (40,943 LOC)
    • 51 *.cc files (20,539 LOC)
    • 51 *.hh files (5,573 LOC)
    • 12 *.cmake files (1,451 LOC)
    • 4 *.scss files (988 LOC)
    • 4 *.py files (854 LOC)
    • 21 *.html files (440 LOC)
    • 3 *.in files (249 LOC)
    • 5 *.xml files (130 LOC)
    • 5 *.h files (95 LOC)
    • 1 *.rdf files (56 LOC)
  • " *.java" is biggest, containing 57.41% of LOC.
  • " *.rdf" is smallest, containing 0.08% of LOC.


*.java40943 LOC (57%) 263 files
*.cc20539 LOC (28%) 51 files
*.hh5573 LOC (7%) 51 files
*.cmake1451 LOC (2%) 12 files
*.scss988 LOC (1%) 4 files
*.py854 LOC (1%) 4 files
*.html440 LOC (<1%) 21 files
*.in249 LOC (<1%) 3 files
*.xml130 LOC (<1%) 5 files
*.h95 LOC (<1%) 5 files
*.rdf56 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
orc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
  • 193 files match defined criteria (55,892 LOC, 78.4% vs. main code):
    • 132 *.java files (32,338 LOC)
    • 45 *.cc files (22,730 LOC)
    • 8 *.orc files (660 LOC)
    • 6 *.hh files (137 LOC)
    • 1 *.py files (20 LOC)
    • 1 *.cpp files (7 LOC)
  • " *.java" is biggest, containing 57.86% of LOC.
  • " *.cpp" is smallest, containing 0.01% of LOC.


*.java32338 LOC (57%) 132 files
*.cc22730 LOC (40%) 45 files
*.orc660 LOC (1%) 8 files
*.hh137 LOC (<1%) 6 files
*.py20 LOC (<1%) 1 file
*.cpp7 LOC (<1%) 1 file
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 ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 1 file matches defined criteria (26 LOC, 0.0% vs. main code). All matches are in *.html files.


*.html26 LOC (100%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 14 files match defined criteria (2,226 LOC, 3.1% vs. main code):
    • 9 *.xml files (2,125 LOC)
    • 5 *.sh files (101 LOC)
  • " *.xml" is biggest, containing 95.46% of LOC.
  • " *.sh" is smallest, containing 4.54% of LOC.


*.xml2125 LOC (95%) 9 files
*.sh101 LOC (4%) 5 files
Other Code
orc
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[.]htaccess".
  • 244 files match defined criteria (43,411 LOC, 60.9% vs. main code):
    • 46 *.orc files (30,711 LOC)
    • 168 *.md files (9,622 LOC)
    • 2 *.json files (1,495 LOC)
    • 11 *.txt files (886 LOC)
    • 8 *.java files (402 LOC)
    • 4 *.xml files (210 LOC)
    • 5 *.properties files (85 LOC)
  • " *.orc" is biggest, containing 70.74% of LOC.
  • " *.properties" is smallest, containing 0.2% of LOC.


*.orc30711 LOC (70%) 46 files
*.md9622 LOC (22%) 168 files
*.json1495 LOC (3%) 2 files
*.txt886 LOC (2%) 11 files
*.java402 LOC (<1%) 8 files
*.xml210 LOC (<1%) 4 files
*.properties85 LOC (<1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:49