apache / phoenix-connectors
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
props
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.

main18937 LOC (76%) 164 files
test621 LOC (2%) 16 files
generated0 LOC (0%) 0 files
build and deployment4201 LOC (17%) 16 files
other867 LOC (3%) 8 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 164 files match defined criteria (18,937 LOC, 100.0% vs. main code):
    • 118 *.java files (15,461 LOC)
    • 34 *.scala files (3,186 LOC)
    • 4 *.xml files (134 LOC)
    • 6 *.sql files (104 LOC)
    • 2 *.props files (52 LOC)
  • " *.java" is biggest, containing 81.64% of LOC.
  • " *.props" is smallest, containing 0.27% of LOC.


*.java15461 LOC (81%) 118 files
*.scala3186 LOC (16%) 34 files
*.xml134 LOC (<1%) 4 files
*.sql104 LOC (<1%) 6 files
*.props52 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/.*".
  • 16 files match defined criteria (621 LOC, 3.3% vs. main code):
    • 12 *.java files (449 LOC)
    • 4 *.xml files (172 LOC)
  • " *.java" is biggest, containing 72.3% of LOC.
  • " *.xml" is smallest, containing 27.7% of LOC.


*.java449 LOC (72%) 12 files
*.xml172 LOC (27%) 4 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".
  • 16 files match defined criteria (4,201 LOC, 22.2% vs. main code):
    • 11 *.xml files (3,779 LOC)
    • 5 *.sh files (422 LOC)
  • " *.xml" is biggest, containing 89.95% of LOC.
  • " *.sh" is smallest, containing 10.05% of LOC.


*.xml3779 LOC (89%) 11 files
*.sh422 LOC (10%) 5 files
Other Code
properties
txt
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 ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/config/checkstyle/.*".
    • files with paths like ".*/checkstyle.*".
  • 8 files match defined criteria (867 LOC, 4.6% vs. main code):
    • 4 *.md files (666 LOC)
    • 2 *.xml files (152 LOC)
    • 1 *.properties files (33 LOC)
    • 1 *.txt files (16 LOC)
  • " *.md" is biggest, containing 76.82% of LOC.
  • " *.txt" is smallest, containing 1.85% of LOC.


*.md666 LOC (76%) 4 files
*.xml152 LOC (17%) 2 files
*.properties33 LOC (3%) 1 file
*.txt16 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:00