azure / slm-innovator-lab
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
jsonl
jinja2
prettierignore
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.

main16047 LOC (77%) 73 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment80 LOC (<1%) 7 files
other4698 LOC (22%) 94 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
jinja2
jsonl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 73 files match defined criteria (16,047 LOC, 100.0% vs. main code):
    • 22 *.ipynb files (12,064 LOC)
    • 29 *.py files (3,352 LOC)
    • 12 *.yaml files (489 LOC)
    • 4 *.jinja2 files (64 LOC)
    • 5 *.jsonl files (56 LOC)
    • 1 *.html files (22 LOC)
  • " *.ipynb" is biggest, containing 75.18% of LOC.
  • " *.html" is smallest, containing 0.14% of LOC.


*.ipynb12064 LOC (75%) 22 files
*.py3352 LOC (20%) 29 files
*.yaml489 LOC (3%) 12 files
*.jinja264 LOC (<1%) 4 files
*.jsonl56 LOC (<1%) 5 files
*.html22 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".
  • 7 files match defined criteria (80 LOC, 0.5% vs. main code). All matches are in *.sh files.


*.sh80 LOC (100%) 7 files
Other Code
txt
jsonl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
  • 94 files match defined criteria (4,698 LOC, 29.3% vs. main code):
    • 45 *.md files (3,046 LOC)
    • 33 *.txt files (920 LOC)
    • 14 *.json files (699 LOC)
    • 2 *.jsonl files (33 LOC)
  • " *.md" is biggest, containing 64.84% of LOC.
  • " *.jsonl" is smallest, containing 0.7% of LOC.


*.md3046 LOC (64%) 45 files
*.txt920 LOC (19%) 33 files
*.json699 LOC (14%) 14 files
*.jsonl33 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:14