mozilla / argocd-repository-details
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
mod
txt
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.

main1036 LOC (67%) 18 files
test238 LOC (15%) 1 file
generated0 LOC (0%) 0 files
build and deployment82 LOC (5%) 2 files
other174 LOC (11%) 5 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 ".*".
  • 18 files match defined criteria (1,036 LOC, 100.0% vs. main code):
    • 6 *.go files (479 LOC)
    • 3 *.tsx files (359 LOC)
    • 5 *.yaml files (114 LOC)
    • 4 *.ts files (84 LOC)
  • " *.go" is biggest, containing 46.24% of LOC.
  • " *.ts" is smallest, containing 8.11% of LOC.


*.go479 LOC (46%) 6 files
*.tsx359 LOC (34%) 3 files
*.yaml114 LOC (11%) 5 files
*.ts84 LOC (8%) 4 files
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[.].*".
  • 1 file matches defined criteria (238 LOC, 23.0% vs. main code). All matches are in *.go files.


*.go238 LOC (100%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 2 files match defined criteria (82 LOC, 7.9% vs. main code):
    • 1 *.js files (63 LOC)
    • 1 *.sh files (19 LOC)
  • " *.js" is biggest, containing 76.83% of LOC.
  • " *.sh" is smallest, containing 23.17% of LOC.


*.js63 LOC (76%) 1 file
*.sh19 LOC (23%) 1 file
Other Code
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
  • 5 files match defined criteria (174 LOC, 16.8% vs. main code):
    • 2 *.json files (89 LOC)
    • 2 *.md files (70 LOC)
    • 1 *.mod files (15 LOC)
  • " *.json" is biggest, containing 51.15% of LOC.
  • " *.mod" is smallest, containing 8.62% of LOC.


*.json89 LOC (51%) 2 files
*.md70 LOC (40%) 2 files
*.mod15 LOC (8%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-11 19:59