openai / mlsh
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
cfg
ini
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.

main12959 LOC (65%) 168 files
test1779 LOC (8%) 40 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other5178 LOC (25%) 21 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 168 files match defined criteria (12,959 LOC, 100.0% vs. main code):
    • 145 *.py files (11,231 LOC)
    • 22 *.xml files (1,718 LOC)
    • 1 *.cfg files (10 LOC)
  • " *.py" is biggest, containing 86.67% of LOC.
  • " *.cfg" is smallest, containing 0.08% of LOC.


*.py11231 LOC (86%) 145 files
*.xml1718 LOC (13%) 22 files
*.cfg10 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 ".*/test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
  • 40 files match defined criteria (1,779 LOC, 13.7% vs. main code):
    • 39 *.py files (1,740 LOC)
    • 1 *.dockerfile files (39 LOC)
  • " *.py" is biggest, containing 97.81% of LOC.
  • " *.dockerfile" is smallest, containing 2.19% of LOC.


*.py1740 LOC (97%) 39 files
*.dockerfile39 LOC (2%) 1 file
Other Code
ini
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
  • 21 files match defined criteria (5,178 LOC, 40.0% vs. main code):
    • 1 *.json files (4,502 LOC)
    • 2 *.rst files (223 LOC)
    • 5 *.py files (210 LOC)
    • 6 *.md files (178 LOC)
    • 1 *.ini files (48 LOC)
    • 6 *.txt files (17 LOC)
  • " *.json" is biggest, containing 86.94% of LOC.
  • " *.txt" is smallest, containing 0.33% of LOC.


*.json4502 LOC (86%) 1 file
*.rst223 LOC (4%) 2 files
*.py210 LOC (4%) 5 files
*.md178 LOC (3%) 6 files
*.ini48 LOC (<1%) 1 file
*.txt17 LOC (<1%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2025-04-14 11:47