mozilla / bigquery-backfill
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
diff
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.

main13656 LOC (72%) 143 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment797 LOC (4%) 24 files
other4483 LOC (23%) 49 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 ".*".
  • 143 files match defined criteria (13,656 LOC, 100.0% vs. main code):
    • 109 *.sql files (7,930 LOC)
    • 24 *.yaml files (3,353 LOC)
    • 10 *.py files (2,373 LOC)
  • " *.sql" is biggest, containing 58.07% of LOC.
  • " *.py" is smallest, containing 17.38% of LOC.


*.sql7930 LOC (58%) 109 files
*.yaml3353 LOC (24%) 24 files
*.py2373 LOC (17%) 10 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".
  • 24 files match defined criteria (797 LOC, 5.8% vs. main code). All matches are in *.sh files.


*.sh797 LOC (100%) 24 files
Other Code
txt
diff
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]diff".
  • 49 files match defined criteria (4,483 LOC, 32.8% vs. main code):
    • 41 *.md files (4,140 LOC)
    • 6 *.txt files (321 LOC)
    • 1 *.diff files (21 LOC)
    • 1 *.json files (1 LOC)
  • " *.md" is biggest, containing 92.35% of LOC.
  • " *.json" is smallest, containing 0.02% of LOC.


*.md4140 LOC (92%) 41 files
*.txt321 LOC (7%) 6 files
*.diff21 LOC (<1%) 1 file
*.json1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-11 19:51