azure / cyclecloud-gridengine
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
ini
x
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.

main4152 LOC (38%) 20 files
test4665 LOC (43%) 59 files
generated0 LOC (0%) 0 files
build and deployment279 LOC (2%) 6 files
other1655 LOC (15%) 16 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
x
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 20 files match defined criteria (4,152 LOC, 100.0% vs. main code):
    • 18 *.py files (4,059 LOC)
    • 1 *.x files (86 LOC)
    • 1 *.cfg files (7 LOC)
  • " *.py" is biggest, containing 97.76% of LOC.
  • " *.cfg" is smallest, containing 0.17% of LOC.


*.py4059 LOC (97%) 18 files
*.x86 LOC (2%) 1 file
*.cfg7 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
x
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
  • 59 files match defined criteria (4,665 LOC, 112.4% vs. main code):
    • 15 *.py files (1,850 LOC)
    • 15 *.erb files (1,756 LOC)
    • 23 *.rb files (891 LOC)
    • 1 *.x files (86 LOC)
    • 5 *.sh files (82 LOC)
  • " *.py" is biggest, containing 39.66% of LOC.
  • " *.sh" is smallest, containing 1.76% of LOC.


*.py1850 LOC (39%) 15 files
*.erb1756 LOC (37%) 15 files
*.rb891 LOC (19%) 23 files
*.x86 LOC (1%) 1 file
*.sh82 LOC (1%) 5 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".
  • 6 files match defined criteria (279 LOC, 6.7% vs. main code). All matches are in *.sh files.


*.sh279 LOC (100%) 6 files
Other Code
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]json".
  • 16 files match defined criteria (1,655 LOC, 39.9% vs. main code):
    • 4 *.txt files (1,102 LOC)
    • 3 *.md files (386 LOC)
    • 1 *.json files (73 LOC)
    • 2 *.py files (46 LOC)
    • 4 *.sh files (26 LOC)
    • 2 *.ini files (22 LOC)
  • " *.txt" is biggest, containing 66.59% of LOC.
  • " *.ini" is smallest, containing 1.33% of LOC.


*.txt1102 LOC (66%) 4 files
*.md386 LOC (23%) 3 files
*.json73 LOC (4%) 1 file
*.py46 LOC (2%) 2 files
*.sh26 LOC (1%) 4 files
*.ini22 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:36