apache / hbase-operator-tools
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
p
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.

main8840 LOC (58%) 30 files
test2707 LOC (17%) 18 files
generated0 LOC (0%) 0 files
build and deployment2010 LOC (13%) 14 files
other1546 LOC (10%) 13 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
p
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 30 files match defined criteria (8,840 LOC, 100.0% vs. main code):
    • 25 *.java files (8,682 LOC)
    • 3 *.xml files (105 LOC)
    • 2 *.p files (53 LOC)
  • " *.java" is biggest, containing 98.21% of LOC.
  • " *.p" is smallest, containing 0.6% of LOC.


*.java8682 LOC (98%) 25 files
*.xml105 LOC (1%) 3 files
*.p53 LOC (<1%) 2 files
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/.*".
    • files with paths like ".*_test[.].*".
  • 18 files match defined criteria (2,707 LOC, 30.6% vs. main code):
    • 16 *.java files (2,417 LOC)
    • 2 *.sh files (290 LOC)
  • " *.java" is biggest, containing 89.29% of LOC.
  • " *.sh" is smallest, containing 10.71% of LOC.


*.java2417 LOC (89%) 16 files
*.sh290 LOC (10%) 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 (2,010 LOC, 22.7% vs. main code):
    • 5 *.xml files (1,092 LOC)
    • 9 *.sh files (918 LOC)
  • " *.xml" is biggest, containing 54.33% of LOC.
  • " *.sh" is smallest, containing 45.67% of LOC.


*.xml1092 LOC (54%) 5 files
*.sh918 LOC (45%) 9 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 13 files match defined criteria (1,546 LOC, 17.5% vs. main code):
    • 7 *.md files (1,241 LOC)
    • 3 *.txt files (225 LOC)
    • 2 *.properties files (72 LOC)
    • 1 *.xml files (8 LOC)
  • " *.md" is biggest, containing 80.27% of LOC.
  • " *.xml" is smallest, containing 0.52% of LOC.


*.md1241 LOC (80%) 7 files
*.txt225 LOC (14%) 3 files
*.properties72 LOC (4%) 2 files
*.xml8 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:19