apache / hbase-thirdparty
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
patch
txt
properties
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.

main1865 LOC (31%) 27 files
test48 LOC (<1%) 2 files
generated0 LOC (0%) 0 files
build and deployment1742 LOC (29%) 14 files
other2349 LOC (39%) 9 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 ".*".
  • 27 files match defined criteria (1,865 LOC, 100.0% vs. main code):
    • 26 *.java files (1,466 LOC)
    • 1 *.xml files (399 LOC)
  • " *.java" is biggest, containing 78.61% of LOC.
  • " *.xml" is smallest, containing 21.39% of LOC.


*.java1466 LOC (78%) 26 files
*.xml399 LOC (21%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 2 files match defined criteria (48 LOC, 2.6% vs. main code). All matches are in *.java files.


*.java48 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 14 files match defined criteria (1,742 LOC, 93.4% vs. main code):
    • 11 *.xml files (1,626 LOC)
    • 3 *.sh files (116 LOC)
  • " *.xml" is biggest, containing 93.34% of LOC.
  • " *.sh" is smallest, containing 6.66% of LOC.


*.xml1626 LOC (93%) 11 files
*.sh116 LOC (6%) 3 files
Other Code
patch
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]properties".
    • 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 ".*[.]patch".
  • 9 files match defined criteria (2,349 LOC, 126.0% vs. main code):
    • 3 *.patch files (1,317 LOC)
    • 3 *.md files (744 LOC)
    • 2 *.txt files (171 LOC)
    • 1 *.properties files (117 LOC)
  • " *.patch" is biggest, containing 56.07% of LOC.
  • " *.properties" is smallest, containing 4.98% of LOC.


*.patch1317 LOC (56%) 3 files
*.md744 LOC (31%) 3 files
*.txt171 LOC (7%) 2 files
*.properties117 LOC (4%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:58