apache / phoenix-queryserver
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
properties
ini
cfg
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.

main5757 LOC (51%) 56 files
test2100 LOC (18%) 20 files
generated0 LOC (0%) 0 files
build and deployment2434 LOC (21%) 15 files
other824 LOC (7%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 56 files match defined criteria (5,757 LOC, 100.0% vs. main code):
    • 39 *.java files (4,142 LOC)
    • 12 *.py files (1,494 LOC)
    • 4 *.xml files (109 LOC)
    • 1 *.cfg files (12 LOC)
  • " *.java" is biggest, containing 71.95% of LOC.
  • " *.cfg" is smallest, containing 0.21% of LOC.


*.java4142 LOC (71%) 39 files
*.py1494 LOC (25%) 12 files
*.xml109 LOC (1%) 4 files
*.cfg12 LOC (<1%) 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/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 20 files match defined criteria (2,100 LOC, 36.5% vs. main code):
    • 8 *.py files (1,583 LOC)
    • 12 *.java files (517 LOC)
  • " *.py" is biggest, containing 75.38% of LOC.
  • " *.java" is smallest, containing 24.62% of LOC.


*.py1583 LOC (75%) 8 files
*.java517 LOC (24%) 12 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".
  • 15 files match defined criteria (2,434 LOC, 42.3% vs. main code):
    • 7 *.xml files (2,156 LOC)
    • 8 *.sh files (278 LOC)
  • " *.xml" is biggest, containing 88.58% of LOC.
  • " *.sh" is smallest, containing 11.42% of LOC.


*.xml2156 LOC (88%) 7 files
*.sh278 LOC (11%) 8 files
Other Code
properties
ini
txt
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 ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]ini".
  • 17 files match defined criteria (824 LOC, 14.3% vs. main code):
    • 6 *.rst files (337 LOC)
    • 5 *.md files (270 LOC)
    • 2 *.properties files (142 LOC)
    • 1 *.ini files (41 LOC)
    • 2 *.txt files (25 LOC)
    • 1 *.py files (9 LOC)
  • " *.rst" is biggest, containing 40.9% of LOC.
  • " *.py" is smallest, containing 1.09% of LOC.


*.rst337 LOC (40%) 6 files
*.md270 LOC (32%) 5 files
*.properties142 LOC (17%) 2 files
*.ini41 LOC (4%) 1 file
*.txt25 LOC (3%) 2 files
*.py9 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:45