mozilla / jira-bugzilla-integration
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.

main3471 LOC (44%) 30 files
test4154 LOC (53%) 21 files
generated0 LOC (0%) 0 files
build and deployment19 LOC (<1%) 1 file
other103 LOC (1%) 6 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 ".*".
  • 30 files match defined criteria (3,471 LOC, 100.0% vs. main code):
    • 24 *.py files (2,376 LOC)
    • 3 *.yaml files (887 LOC)
    • 1 *.toml files (109 LOC)
    • 1 *.css files (54 LOC)
    • 1 *.html files (45 LOC)
  • " *.py" is biggest, containing 68.45% of LOC.
  • " *.html" is smallest, containing 1.3% of LOC.


*.py2376 LOC (68%) 24 files
*.yaml887 LOC (25%) 3 files
*.toml109 LOC (3%) 1 file
*.css54 LOC (1%) 1 file
*.html45 LOC (1%) 1 file
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[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
  • 21 files match defined criteria (4,154 LOC, 119.7% vs. main code):
    • 20 *.py files (4,148 LOC)
    • 1 *.yaml files (6 LOC)
  • " *.py" is biggest, containing 99.86% of LOC.
  • " *.yaml" is smallest, containing 0.14% of LOC.


*.py4148 LOC (99%) 20 files
*.yaml6 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/docker[-]compose[.]yaml".
  • 1 file matches defined criteria (19 LOC, 0.5% vs. main code). All matches are in *.yaml files.


*.yaml19 LOC (100%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • 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".
  • 6 files match defined criteria (103 LOC, 3.0% vs. main code):
    • 5 *.md files (96 LOC)
    • 1 *.json files (7 LOC)
  • " *.md" is biggest, containing 93.2% of LOC.
  • " *.json" is smallest, containing 6.8% of LOC.


*.md96 LOC (93%) 5 files
*.json7 LOC (6%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-11 19:55