mozilla / process-top-crashes
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
gitattributes
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.

main6651 LOC (35%) 15 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other12297 LOC (64%) 1,172 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 ".*".
  • 15 files match defined criteria (6,651 LOC, 100.0% vs. main code):
    • 8 *.css files (2,657 LOC)
    • 3 *.js files (2,480 LOC)
    • 3 *.py files (1,263 LOC)
    • 1 *.html files (251 LOC)
  • " *.css" is biggest, containing 39.95% of LOC.
  • " *.html" is smallest, containing 3.77% of LOC.


*.css2657 LOC (39%) 8 files
*.js2480 LOC (37%) 3 files
*.py1263 LOC (18%) 3 files
*.html251 LOC (3%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 1172 files match defined criteria (12,297 LOC, 184.9% vs. main code):
    • 1,166 *.svg files (10,715 LOC)
    • 4 *.txt files (1,454 LOC)
    • 1 *.json files (116 LOC)
    • 1 *.md files (12 LOC)
  • " *.svg" is biggest, containing 87.14% of LOC.
  • " *.md" is smallest, containing 0.1% of LOC.


*.svg10715 LOC (87%) 1,166 files
*.txt1454 LOC (11%) 4 files
*.json116 LOC (<1%) 1 file
*.md12 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-11 19:56