openai / tart
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
mod
plist
editorconfig
  • 17 extensions are included in analyses: swift, md, go, py, yaml, sh, txt, css, mod, plist, editorconfig, hcl, json, html, svg, gitignore, g4
  • 4 criteria are used to exclude files from analysis:
    • exclude files with path like ".*/git[-]history[.]txt" (Git history) (1 file).
    • exclude files with path like ".*/git[-][a-zA-Z0-9_]+[.]txt" (Git data exports for sokrates analyses) (0 files).
    • exclude files with path like ".*/docs/.*" (Documentation) (27 files).
    • exclude files with path like ".*/docs?/_?(build|themes?|templates?|static)/.*" (Sphinx) (0 files).
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.

main9837 LOC (86%) 107 files
test895 LOC (7%) 33 files
generated0 LOC (0%) 0 files
build and deployment114 LOC (1%) 11 files
other482 LOC (4%) 8 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 ".*".
  • 107 files match defined criteria (9,837 LOC, 100.0% vs. main code):
    • 93 *.swift files (9,240 LOC)
    • 13 *.go files (584 LOC)
    • 1 *.g4 files (13 LOC)
  • " *.swift" is biggest, containing 93.93% of LOC.
  • " *.g4" is smallest, containing 0.13% of LOC.


*.swift9240 LOC (93%) 93 files
*.go584 LOC (5%) 13 files
*.g413 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test_.*".
  • 33 files match defined criteria (895 LOC, 9.1% vs. main code):
    • 18 *.swift files (562 LOC)
    • 5 *.go files (184 LOC)
    • 9 *.py files (128 LOC)
    • 1 *.mod files (21 LOC)
  • " *.swift" is biggest, containing 62.79% of LOC.
  • " *.mod" is smallest, containing 2.35% of LOC.


*.swift562 LOC (62%) 18 files
*.go184 LOC (20%) 5 files
*.py128 LOC (14%) 9 files
*.mod21 LOC (2%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
mod
editorconfig
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]hcl".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like "(.*/)?[.]editorconfig".
    • files with paths like ".*/requirements[a-zA-Z0-9._-]*[.]txt".
    • files with paths like ".*/go[.]mod".
  • 11 files match defined criteria (114 LOC, 1.2% vs. main code):
    • 6 *.sh files (47 LOC)
    • 1 *.mod files (30 LOC)
    • 1 *.gitignore files (17 LOC)
    • 1 *.hcl files (10 LOC)
    • 2 *.editorconfig files (10 LOC)
  • " *.sh" is biggest, containing 41.23% of LOC.
  • " *.editorconfig" is smallest, containing 8.77% of LOC.


*.sh47 LOC (41%) 6 files
*.mod30 LOC (26%) 1 file
*.gitignore17 LOC (14%) 1 file
*.hcl10 LOC (8%) 1 file
*.editorconfig10 LOC (8%) 2 files
Other Code
plist
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
  • 8 files match defined criteria (482 LOC, 4.9% vs. main code):
    • 4 *.md files (297 LOC)
    • 1 *.json files (140 LOC)
    • 2 *.plist files (39 LOC)
    • 1 *.txt files (6 LOC)
  • " *.md" is biggest, containing 61.62% of LOC.
  • " *.txt" is smallest, containing 1.24% of LOC.


*.md297 LOC (61%) 4 files
*.json140 LOC (29%) 1 file
*.plist39 LOC (8%) 2 files
*.txt6 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.
  • *.swift files are analyzed with SwiftAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • No dependency analysis
  • *.go files are analyzed with GoLangAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Basic heuristic dependency analysis
  • *.g4 files are analyzed with DefaultLanguageAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Basic code cleaning (empty lines removed for LOC calculations and duplication calculations)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis


2026-06-24 10:32