aliyun / darabonba-swift-generator
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
podspec
txt
tea
eslintignore
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.

main4487 LOC (54%) 17 files
test3540 LOC (43%) 34 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other194 LOC (2%) 5 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 ".*".
  • 17 files match defined criteria (4,487 LOC, 100.0% vs. main code). All matches are in *.js files.


*.js4487 LOC (100%) 17 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
podspec
tea
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.]tests[.].*".
  • 34 files match defined criteria (3,540 LOC, 78.9% vs. main code):
    • 26 *.swift files (2,515 LOC)
    • 4 *.js files (955 LOC)
    • 3 *.podspec files (53 LOC)
    • 1 *.tea files (17 LOC)
  • " *.swift" is biggest, containing 71.05% of LOC.
  • " *.tea" is smallest, containing 0.48% of LOC.


*.swift2515 LOC (71%) 26 files
*.js955 LOC (26%) 4 files
*.podspec53 LOC (1%) 3 files
*.tea17 LOC (<1%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]eslintignore".
  • 5 files match defined criteria (194 LOC, 4.3% vs. main code):
    • 2 *.md files (116 LOC)
    • 1 *.json files (38 LOC)
    • 1 *.txt files (20 LOC)
    • 1 *.js files (20 LOC)
  • " *.md" is biggest, containing 59.79% of LOC.
  • " *.js" is smallest, containing 10.31% of LOC.


*.md116 LOC (59%) 2 files
*.json38 LOC (19%) 1 file
*.txt20 LOC (10%) 1 file
*.js20 LOC (10%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:06