azure / cyclecloud-hpcpack
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
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.

main1320 LOC (16%) 12 files
test4817 LOC (59%) 74 files
generated0 LOC (0%) 0 files
build and deployment42 LOC (<1%) 3 files
other1933 LOC (23%) 13 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 ".*".
  • 12 files match defined criteria (1,320 LOC, 100.0% vs. main code):
    • 9 *.py files (1,242 LOC)
    • 2 *.ps1 files (71 LOC)
    • 1 *.cfg files (7 LOC)
  • " *.py" is biggest, containing 94.09% of LOC.
  • " *.cfg" is smallest, containing 0.53% of LOC.


*.py1242 LOC (94%) 9 files
*.ps171 LOC (5%) 2 files
*.cfg7 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 ".*/[Ss]pecs/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 74 files match defined criteria (4,817 LOC, 364.9% vs. main code):
    • 61 *.rb files (3,337 LOC)
    • 11 *.ps1 files (1,093 LOC)
    • 1 *.psm1 files (338 LOC)
    • 1 *.py files (49 LOC)
  • " *.rb" is biggest, containing 69.28% of LOC.
  • " *.py" is smallest, containing 1.02% of LOC.


*.rb3337 LOC (69%) 61 files
*.ps11093 LOC (22%) 11 files
*.psm1338 LOC (7%) 1 file
*.py49 LOC (1%) 1 file
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".
  • 3 files match defined criteria (42 LOC, 3.2% vs. main code). All matches are in *.sh files.


*.sh42 LOC (100%) 3 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 ".*[.]json".
  • 13 files match defined criteria (1,933 LOC, 146.4% vs. main code):
    • 7 *.md files (1,270 LOC)
    • 3 *.txt files (581 LOC)
    • 1 *.json files (61 LOC)
    • 2 *.ini files (21 LOC)
  • " *.md" is biggest, containing 65.7% of LOC.
  • " *.ini" is smallest, containing 1.09% of LOC.


*.md1270 LOC (65%) 7 files
*.txt581 LOC (30%) 3 files
*.json61 LOC (3%) 1 file
*.ini21 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:35