twitter / dict_minimize
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
in
cfg
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.

main377 LOC (20%) 16 files
test763 LOC (41%) 7 files
generated0 LOC (0%) 0 files
build and deployment158 LOC (8%) 3 files
other525 LOC (28%) 8 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 ".*".
  • 16 files match defined criteria (377 LOC, 100.0% vs. main code):
    • 9 *.py files (340 LOC)
    • 7 *.in files (37 LOC)
  • " *.py" is biggest, containing 90.19% of LOC.
  • " *.in" is smallest, containing 9.81% of LOC.


*.py340 LOC (90%) 9 files
*.in37 LOC (9%) 7 files
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 ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
  • 7 files match defined criteria (763 LOC, 202.4% vs. main code):
    • 6 *.py files (743 LOC)
    • 1 *.sh files (20 LOC)
  • " *.py" is biggest, containing 97.38% of LOC.
  • " *.sh" is smallest, containing 2.62% of LOC.


*.py743 LOC (97%) 6 files
*.sh20 LOC (2%) 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".
  • 3 files match defined criteria (158 LOC, 41.9% vs. main code). All matches are in *.sh files.


*.sh158 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 8 files match defined criteria (525 LOC, 139.3% vs. main code):
    • 6 *.txt files (321 LOC)
    • 1 *.rst files (201 LOC)
    • 1 *.md files (3 LOC)
  • " *.txt" is biggest, containing 61.14% of LOC.
  • " *.md" is smallest, containing 0.57% of LOC.


*.txt321 LOC (61%) 6 files
*.rst201 LOC (38%) 1 file
*.md3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 12:00