aliyun / darabonba-array
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
csproj
mod
in
tea
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.

main700 LOC (48%) 18 files
test355 LOC (24%) 11 files
generated0 LOC (0%) 0 files
build and deployment155 LOC (10%) 2 files
other219 LOC (15%) 5 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 ".*".
  • 18 files match defined criteria (700 LOC, 100.0% vs. main code):
    • 6 *.py files (219 LOC)
    • 2 *.php files (89 LOC)
    • 1 *.java files (80 LOC)
    • 2 *.cs files (75 LOC)
    • 1 *.go files (71 LOC)
    • 1 *.ts files (63 LOC)
    • 1 *.cpp files (37 LOC)
    • 1 *.hpp files (24 LOC)
    • 1 *.xml files (23 LOC)
    • 1 *.tea files (16 LOC)
    • 1 *.in files (3 LOC)
  • " *.py" is biggest, containing 31.29% of LOC.
  • " *.in" is smallest, containing 0.43% of LOC.


*.py219 LOC (31%) 6 files
*.php89 LOC (12%) 2 files
*.java80 LOC (11%) 1 file
*.cs75 LOC (10%) 2 files
*.go71 LOC (10%) 1 file
*.ts63 LOC (9%) 1 file
*.cpp37 LOC (5%) 1 file
*.hpp24 LOC (3%) 1 file
*.xml23 LOC (3%) 1 file
*.tea16 LOC (2%) 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 11 files match defined criteria (355 LOC, 50.7% vs. main code):
    • 1 *.go files (88 LOC)
    • 2 *.php files (85 LOC)
    • 1 *.ts files (54 LOC)
    • 1 *.cs files (44 LOC)
    • 4 *.py files (36 LOC)
    • 1 *.java files (31 LOC)
    • 1 *.csproj files (17 LOC)
  • " *.go" is biggest, containing 24.79% of LOC.
  • " *.csproj" is smallest, containing 4.79% of LOC.


*.go88 LOC (24%) 1 file
*.php85 LOC (23%) 2 files
*.ts54 LOC (15%) 1 file
*.cs44 LOC (12%) 1 file
*.py36 LOC (10%) 4 files
*.java31 LOC (8%) 1 file
*.csproj17 LOC (4%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/package[.]json".
  • 2 files match defined criteria (155 LOC, 22.1% vs. main code):
    • 1 *.xml files (110 LOC)
    • 1 *.csproj files (45 LOC)
  • " *.xml" is biggest, containing 70.97% of LOC.
  • " *.csproj" is smallest, containing 29.03% of LOC.


*.xml110 LOC (70%) 1 file
*.csproj45 LOC (29%) 1 file
Other Code
txt
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]txt".
  • 5 files match defined criteria (219 LOC, 31.3% vs. main code):
    • 1 *.txt files (123 LOC)
    • 3 *.json files (91 LOC)
    • 1 *.mod files (5 LOC)
  • " *.txt" is biggest, containing 56.16% of LOC.
  • " *.mod" is smallest, containing 2.28% of LOC.


*.txt123 LOC (56%) 1 file
*.json91 LOC (41%) 3 files
*.mod5 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:12