aliyun / tea-fileform
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
csproj
mod
tea
podspec
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.

main1898 LOC (45%) 32 files
test998 LOC (24%) 20 files
generated0 LOC (0%) 0 files
build and deployment418 LOC (10%) 9 files
other832 LOC (20%) 37 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tea
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 32 files match defined criteria (1,898 LOC, 100.0% vs. main code):
    • 10 *.py files (396 LOC)
    • 4 *.cs files (288 LOC)
    • 3 *.php files (272 LOC)
    • 3 *.swift files (209 LOC)
    • 1 *.cmake files (170 LOC)
    • 2 *.go files (151 LOC)
    • 3 *.java files (131 LOC)
    • 1 *.ts files (83 LOC)
    • 1 *.hpp files (79 LOC)
    • 1 *.cpp files (66 LOC)
    • 1 *.xml files (27 LOC)
    • 1 *.tea files (23 LOC)
    • 1 *.in files (3 LOC)
  • " *.py" is biggest, containing 20.86% of LOC.
  • " *.in" is smallest, containing 0.16% of LOC.


*.py396 LOC (20%) 10 files
*.cs288 LOC (15%) 4 files
*.php272 LOC (14%) 3 files
*.swift209 LOC (11%) 3 files
*.cmake170 LOC (8%) 1 file
*.go151 LOC (7%) 2 files
*.java131 LOC (6%) 3 files
*.ts83 LOC (4%) 1 file
*.hpp79 LOC (4%) 1 file
*.cpp66 LOC (3%) 1 file
*.xml27 LOC (1%) 1 file
*.tea23 LOC (1%) 1 file
*.in3 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*[.]spec[.]ts".
  • 20 files match defined criteria (998 LOC, 52.6% vs. main code):
    • 7 *.py files (362 LOC)
    • 3 *.cs files (203 LOC)
    • 3 *.java files (93 LOC)
    • 1 *.cpp files (88 LOC)
    • 1 *.ts files (77 LOC)
    • 2 *.php files (66 LOC)
    • 1 *.go files (47 LOC)
    • 1 *.swift files (41 LOC)
    • 1 *.csproj files (21 LOC)
  • " *.py" is biggest, containing 36.27% of LOC.
  • " *.csproj" is smallest, containing 2.1% of LOC.


*.py362 LOC (36%) 7 files
*.cs203 LOC (20%) 3 files
*.java93 LOC (9%) 3 files
*.cpp88 LOC (8%) 1 file
*.ts77 LOC (7%) 1 file
*.php66 LOC (6%) 2 files
*.go47 LOC (4%) 1 file
*.swift41 LOC (4%) 1 file
*.csproj21 LOC (2%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
podspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]podspec".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/package[.]json".
  • 9 files match defined criteria (418 LOC, 22.0% vs. main code):
    • 6 *.sh files (214 LOC)
    • 1 *.xml files (145 LOC)
    • 1 *.csproj files (42 LOC)
    • 1 *.podspec files (17 LOC)
  • " *.sh" is biggest, containing 51.2% of LOC.
  • " *.podspec" is smallest, containing 4.07% of LOC.


*.sh214 LOC (51%) 6 files
*.xml145 LOC (34%) 1 file
*.csproj42 LOC (10%) 1 file
*.podspec17 LOC (4%) 1 file
Other Code
txt
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/go[.]mod".
  • 37 files match defined criteria (832 LOC, 43.8% vs. main code):
    • 23 *.md files (543 LOC)
    • 8 *.txt files (178 LOC)
    • 5 *.json files (105 LOC)
    • 1 *.mod files (6 LOC)
  • " *.md" is biggest, containing 65.26% of LOC.
  • " *.mod" is smallest, containing 0.72% of LOC.


*.md543 LOC (65%) 23 files
*.txt178 LOC (21%) 8 files
*.json105 LOC (12%) 5 files
*.mod6 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:01