apache / phoenix-omid
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
properties
txt
proto
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.

main12133 LOC (39%) 163 files
test13476 LOC (44%) 82 files
generated0 LOC (0%) 0 files
build and deployment2834 LOC (9%) 18 files
other2020 LOC (6%) 30 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 163 files match defined criteria (12,133 LOC, 100.0% vs. main code):
    • 154 *.java files (11,600 LOC)
    • 7 *.xml files (388 LOC)
    • 1 *.css files (73 LOC)
    • 1 *.proto files (72 LOC)
  • " *.java" is biggest, containing 95.61% of LOC.
  • " *.proto" is smallest, containing 0.59% of LOC.


*.java11600 LOC (95%) 154 files
*.xml388 LOC (3%) 7 files
*.css73 LOC (<1%) 1 file
*.proto72 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/.*".
  • 82 files match defined criteria (13,476 LOC, 111.1% vs. main code). All matches are in *.java files.


*.java13476 LOC (100%) 82 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 ".*/assembly[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 18 files match defined criteria (2,834 LOC, 23.4% vs. main code):
    • 15 *.xml files (2,648 LOC)
    • 3 *.sh files (186 LOC)
  • " *.xml" is biggest, containing 93.44% of LOC.
  • " *.sh" is smallest, containing 6.56% of LOC.


*.xml2648 LOC (93%) 15 files
*.sh186 LOC (6%) 3 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 30 files match defined criteria (2,020 LOC, 16.6% vs. main code):
    • 13 *.md files (1,079 LOC)
    • 5 *.java files (311 LOC)
    • 7 *.properties files (222 LOC)
    • 2 *.txt files (182 LOC)
    • 2 *.xml files (156 LOC)
    • 1 *.sh files (70 LOC)
  • " *.md" is biggest, containing 53.42% of LOC.
  • " *.sh" is smallest, containing 3.47% of LOC.


*.md1079 LOC (53%) 13 files
*.java311 LOC (15%) 5 files
*.properties222 LOC (10%) 7 files
*.txt182 LOC (9%) 2 files
*.xml156 LOC (7%) 2 files
*.sh70 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:00