apache / solr-operator
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
tpl
mod
props
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.

main23099 LOC (62%) 85 files
test12091 LOC (32%) 46 files
generated0 LOC (0%) 0 files
build and deployment1081 LOC (2%) 23 files
other882 LOC (2%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 85 files match defined criteria (23,099 LOC, 100.0% vs. main code):
    • 47 *.yaml files (10,966 LOC)
    • 31 *.go files (9,815 LOC)
    • 2 *.py files (1,792 LOC)
    • 4 *.tpl files (525 LOC)
    • 1 *.props files (1 LOC)
  • " *.yaml" is biggest, containing 47.47% of LOC.
  • " *.props" is smallest, containing 0% of LOC.


*.yaml10966 LOC (47%) 47 files
*.go9815 LOC (42%) 31 files
*.py1792 LOC (7%) 2 files
*.tpl525 LOC (2%) 4 files
*.props1 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 ".*_test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/e2e/.*".
  • 46 files match defined criteria (12,091 LOC, 52.3% vs. main code):
    • 33 *.go files (11,309 LOC)
    • 4 *.sh files (553 LOC)
    • 9 *.yaml files (229 LOC)
  • " *.go" is biggest, containing 93.53% of LOC.
  • " *.yaml" is smallest, containing 1.89% of LOC.


*.go11309 LOC (93%) 33 files
*.sh553 LOC (4%) 4 files
*.yaml229 LOC (1%) 9 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".
  • 23 files match defined criteria (1,081 LOC, 4.7% vs. main code). All matches are in *.sh files.


*.sh1081 LOC (100%) 23 files
Other Code
mod
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/go[.]mod".
  • 17 files match defined criteria (882 LOC, 3.8% vs. main code):
    • 8 *.md files (650 LOC)
    • 1 *.mod files (166 LOC)
    • 8 *.txt files (66 LOC)
  • " *.md" is biggest, containing 73.7% of LOC.
  • " *.txt" is smallest, containing 7.48% of LOC.


*.md650 LOC (73%) 8 files
*.mod166 LOC (18%) 1 file
*.txt66 LOC (7%) 8 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:54