mozilla / docker-etl
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
ini
in
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.

main13879 LOC (61%) 182 files
test5926 LOC (26%) 50 files
generated0 LOC (0%) 0 files
build and deployment15 LOC (<1%) 1 file
other2640 LOC (11%) 63 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 182 files match defined criteria (13,879 LOC, 100.0% vs. main code):
    • 112 *.py files (11,184 LOC)
    • 2 *.ipynb files (1,125 LOC)
    • 55 *.yaml files (957 LOC)
    • 3 *.html files (248 LOC)
    • 2 *.sql files (174 LOC)
    • 2 *.css files (118 LOC)
    • 1 *.toml files (45 LOC)
    • 5 *.in files (28 LOC)
  • " *.py" is biggest, containing 80.58% of LOC.
  • " *.in" is smallest, containing 0.2% of LOC.


*.py11184 LOC (80%) 112 files
*.ipynb1125 LOC (8%) 2 files
*.yaml957 LOC (6%) 55 files
*.html248 LOC (1%) 3 files
*.sql174 LOC (1%) 2 files
*.css118 LOC (<1%) 2 files
*.toml45 LOC (<1%) 1 file
*.in28 LOC (<1%) 5 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 50 files match defined criteria (5,926 LOC, 42.7% vs. main code):
    • 40 *.py files (5,803 LOC)
    • 8 *.yaml files (104 LOC)
    • 1 *.sh files (15 LOC)
    • 1 *.in files (4 LOC)
  • " *.py" is biggest, containing 97.92% of LOC.
  • " *.in" is smallest, containing 0.07% of LOC.


*.py5803 LOC (97%) 40 files
*.yaml104 LOC (1%) 8 files
*.sh15 LOC (<1%) 1 file
*.in4 LOC (<1%) 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 ".*[.]sh".
  • 1 file matches defined criteria (15 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh15 LOC (100%) 1 file
Other Code
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
  • 63 files match defined criteria (2,640 LOC, 19.0% vs. main code):
    • 23 *.txt files (1,698 LOC)
    • 25 *.md files (897 LOC)
    • 15 *.ini files (45 LOC)
  • " *.txt" is biggest, containing 64.32% of LOC.
  • " *.ini" is smallest, containing 1.7% of LOC.


*.txt1698 LOC (64%) 23 files
*.md897 LOC (33%) 25 files
*.ini45 LOC (1%) 15 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-11 19:52