gitlab-org / GitLab_Status_Page
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
snap
txt
eslintignore
prettierignore
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.

main962 LOC (42%) 27 files
test771 LOC (34%) 19 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other510 LOC (22%) 14 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 ".*".
  • 27 files match defined criteria (962 LOC, 100.0% vs. main code):
    • 10 *.vue files (494 LOC)
    • 12 *.js files (426 LOC)
    • 4 *.scss files (21 LOC)
    • 1 *.html files (21 LOC)
  • " *.vue" is biggest, containing 51.35% of LOC.
  • " *.html" is smallest, containing 2.18% of LOC.


*.vue494 LOC (51%) 10 files
*.js426 LOC (44%) 12 files
*.scss21 LOC (2%) 4 files
*.html21 LOC (2%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*[.]snap".
  • 19 files match defined criteria (771 LOC, 80.1% vs. main code):
    • 11 *.js files (463 LOC)
    • 8 *.snap files (308 LOC)
  • " *.js" is biggest, containing 60.05% of LOC.
  • " *.snap" is smallest, containing 39.95% of LOC.


*.js463 LOC (60%) 11 files
*.snap308 LOC (39%) 8 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]eslintignore".
  • 14 files match defined criteria (510 LOC, 53.0% vs. main code):
    • 9 *.json files (203 LOC)
    • 2 *.md files (186 LOC)
    • 3 *.js files (121 LOC)
  • " *.json" is biggest, containing 39.8% of LOC.
  • " *.js" is smallest, containing 23.73% of LOC.


*.json203 LOC (39%) 9 files
*.md186 LOC (36%) 2 files
*.js121 LOC (23%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-16 13:37