azure / gpt-rag-frontend
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
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.

main2371 LOC (21%) 61 files
test0 LOC (0%) 0 files
generated4109 LOC (37%) 1 file
build and deployment109 LOC (<1%) 4 files
other4376 LOC (39%) 10 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 ".*".
  • 61 files match defined criteria (2,371 LOC, 100.0% vs. main code):
    • 29 *.tsx files (1,077 LOC)
    • 5 *.py files (483 LOC)
    • 11 *.css files (451 LOC)
    • 12 *.ts files (242 LOC)
    • 2 *.ps1 files (77 LOC)
    • 1 *.yaml files (28 LOC)
    • 1 *.html files (13 LOC)
  • " *.tsx" is biggest, containing 45.42% of LOC.
  • " *.html" is smallest, containing 0.55% of LOC.


*.tsx1077 LOC (45%) 29 files
*.py483 LOC (20%) 5 files
*.css451 LOC (19%) 11 files
*.ts242 LOC (10%) 12 files
*.ps177 LOC (3%) 2 files
*.yaml28 LOC (1%) 1 file
*.html13 LOC (<1%) 1 file
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 ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (4,109 LOC, 173.3% vs. main code). All matches are in *.json files.


*.json4109 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
  • 4 files match defined criteria (109 LOC, 4.6% vs. main code). All matches are in *.sh files.


*.sh109 LOC (100%) 4 files
Other Code
txt
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
  • 10 files match defined criteria (4,376 LOC, 184.6% vs. main code):
    • 3 *.json files (4,168 LOC)
    • 4 *.md files (196 LOC)
    • 1 *.txt files (10 LOC)
    • 2 *.svg files (2 LOC)
  • " *.json" is biggest, containing 95.25% of LOC.
  • " *.svg" is smallest, containing 0.05% of LOC.


*.json4168 LOC (95%) 3 files
*.md196 LOC (4%) 4 files
*.txt10 LOC (<1%) 1 file
*.svg2 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:55