apache / hbase-site
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
rss
htaccess
txt
gitattributes
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.

main21939709 LOC (49%) 60,182 files
test442445 LOC (1%) 444 files
generated21616149 LOC (49%) 110,195 files
build and deployment2 LOC (<1%) 2 files
other13237 LOC (<1%) 58 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 ".*".
  • 60182 files match defined criteria (21,939,709 LOC, 100.0% vs. main code):
    • 59,903 *.html files (21,892,745 LOC)
    • 180 *.css files (37,756 LOC)
    • 84 *.js files (8,715 LOC)
    • 11 *.rdf files (451 LOC)
    • 4 *.xml files (42 LOC)
  • " *.html" is biggest, containing 99.79% of LOC.
  • " *.xml" is smallest, containing 0% of LOC.


*.html21892745 LOC (99%) 59,903 files
*.css37756 LOC (<1%) 180 files
*.js8715 LOC (<1%) 84 files
*.rdf451 LOC (<1%) 11 files
*.xml42 LOC (<1%) 4 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 ".*/[Tt]est/.*".
  • 444 files match defined criteria (442,445 LOC, 2.0% vs. main code). All matches are in *.html files.


*.html442445 LOC (100%) 444 files
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" .*".
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*/generated/.*".
  • 110195 files match defined criteria (21,616,149 LOC, 98.5% vs. main code). All matches are in *.html files.


*.html21616149 LOC (100%) 110,195 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 2 files match defined criteria (2 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh2 LOC (100%) 2 files
Other Code
txt
rss
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 58 files match defined criteria (13,237 LOC, 0.1% vs. main code):
    • 4 *.txt files (4,960 LOC)
    • 16 *.svg files (4,651 LOC)
    • 10 *.html files (1,760 LOC)
    • 9 *.rss files (1,109 LOC)
    • 19 *.md files (757 LOC)
  • " *.txt" is biggest, containing 37.47% of LOC.
  • " *.md" is smallest, containing 5.72% of LOC.


*.txt4960 LOC (37%) 4 files
*.svg4651 LOC (35%) 16 files
*.html1760 LOC (13%) 10 files
*.rss1109 LOC (8%) 9 files
*.md757 LOC (5%) 19 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 22:11