huggingface / scheduler-plugins
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
s
proto
txt
in
gitattributes
editorconfig
mod
cfg
tpl
gitmodules
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.

main15621 LOC (33%) 175 files
test22022 LOC (47%) 60 files
generated1768 LOC (3%) 33 files
build and deployment573 LOC (1%) 20 files
other6700 LOC (14%) 51 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 175 files match defined criteria (15,621 LOC, 100.0% vs. main code):
    • 100 *.yaml files (7,815 LOC)
    • 73 *.go files (7,745 LOC)
    • 1 *.tpl files (47 LOC)
    • 1 *.toml files (14 LOC)
  • " *.yaml" is biggest, containing 50.03% of LOC.
  • " *.toml" is smallest, containing 0.09% of LOC.


*.yaml7815 LOC (50%) 100 files
*.go7745 LOC (49%) 73 files
*.tpl47 LOC (<1%) 1 file
*.toml14 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 ".*/test_.*".
    • files with paths like ".*/testing[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*[-]test[-].*".
  • 60 files match defined criteria (22,022 LOC, 141.0% vs. main code). All matches are in *.go files.


*.go22022 LOC (100%) 60 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/generated/.*".
    • files with paths like ".*_generated[.][a-z]+".
    • files with paths like ".*/gen/.*[.]go".
    • files with any line of content like "// This file was generated .*".
  • 33 files match defined criteria (1,768 LOC, 11.3% vs. main code). All matches are in *.go files.


*.go1768 LOC (100%) 33 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".
    • files with paths like ".*/glide[.]yaml".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/[.]gitmodules".
  • 20 files match defined criteria (573 LOC, 3.7% vs. main code). All matches are in *.sh files.


*.sh573 LOC (100%) 20 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 ".*/[.]dockerignore".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]markdown".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/go[.]mod".
  • 51 files match defined criteria (6,700 LOC, 42.9% vs. main code):
    • 38 *.md files (5,716 LOC)
    • 11 *.yaml files (791 LOC)
    • 1 *.mod files (181 LOC)
    • 1 *.txt files (12 LOC)
  • " *.md" is biggest, containing 85.31% of LOC.
  • " *.txt" is smallest, containing 0.18% of LOC.


*.md5716 LOC (85%) 38 files
*.yaml791 LOC (11%) 11 files
*.mod181 LOC (2%) 1 file
*.txt12 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-06-30 09:09