azure / azure-storage-azcopy
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
mod
editorconfig
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.

main54149 LOC (60%) 334 files
test26812 LOC (29%) 156 files
generated0 LOC (0%) 0 files
build and deployment95 LOC (<1%) 8 files
other8664 LOC (9%) 9 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 334 files match defined criteria (54,149 LOC, 100.0% vs. main code):
    • 325 *.go files (51,761 LOC)
    • 2 *.yaml files (1,196 LOC)
    • 4 *.py files (719 LOC)
    • 1 *.html files (310 LOC)
    • 1 *.js files (138 LOC)
    • 1 *.ps1 files (25 LOC)
  • " *.go" is biggest, containing 95.59% of LOC.
  • " *.ps1" is smallest, containing 0.05% of LOC.


*.go51761 LOC (95%) 325 files
*.yaml1196 LOC (2%) 2 files
*.py719 LOC (1%) 4 files
*.html310 LOC (<1%) 1 file
*.js138 LOC (<1%) 1 file
*.ps125 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 ".*_mock[.][a-zA-Z0-9_\-]+".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
  • 156 files match defined criteria (26,812 LOC, 49.5% vs. main code):
    • 142 *.go files (23,870 LOC)
    • 14 *.py files (2,942 LOC)
  • " *.go" is biggest, containing 89.03% of LOC.
  • " *.py" is smallest, containing 10.97% of LOC.


*.go23870 LOC (89%) 142 files
*.py2942 LOC (10%) 14 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".
  • 8 files match defined criteria (95 LOC, 0.2% vs. main code). All matches are in *.sh files.


*.sh95 LOC (100%) 8 files
Other Code
txt
mod
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 ".*/[.]gitignore".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]editorconfig".
  • 9 files match defined criteria (8,664 LOC, 16.0% vs. main code):
    • 1 *.txt files (7,448 LOC)
    • 7 *.md files (1,121 LOC)
    • 1 *.mod files (95 LOC)
  • " *.txt" is biggest, containing 85.96% of LOC.
  • " *.mod" is smallest, containing 1.1% of LOC.


*.txt7448 LOC (85%) 1 file
*.md1121 LOC (12%) 7 files
*.mod95 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:27