aliyun / dingtalk-sdk
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
mod
csproj
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.

main2533332 LOC (99%) 36,817 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment243 LOC (<1%) 2 files
other463 LOC (<1%) 19 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 36817 files match defined criteria (2,533,332 LOC, 100.0% vs. main code):
    • 14,466 *.php files (795,149 LOC)
    • 10,875 *.java files (636,642 LOC)
    • 10,866 *.cs files (399,984 LOC)
    • 319 *.py files (374,370 LOC)
    • 89 *.go files (182,914 LOC)
    • 89 *.ts files (144,156 LOC)
    • 109 *.js files (109 LOC)
    • 2 *.in files (4 LOC)
    • 2 *.cfg files (4 LOC)
  • " *.php" is biggest, containing 31.39% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.php795149 LOC (31%) 14,466 files
*.java636642 LOC (25%) 10,875 files
*.cs399984 LOC (15%) 10,866 files
*.py374370 LOC (14%) 319 files
*.go182914 LOC (7%) 89 files
*.ts144156 LOC (5%) 89 files
*.js109 LOC (<1%) 109 files
*.in4 LOC (<1%) 2 files
*.cfg4 LOC (<1%) 2 files
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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/package[.]json".
  • 2 files match defined criteria (243 LOC, 0.0% vs. main code):
    • 1 *.xml files (196 LOC)
    • 1 *.csproj files (47 LOC)
  • " *.xml" is biggest, containing 80.66% of LOC.
  • " *.csproj" is smallest, containing 19.34% of LOC.


*.xml196 LOC (80%) 1 file
*.csproj47 LOC (19%) 1 file
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/go[.]mod".
  • 19 files match defined criteria (463 LOC, 0.0% vs. main code):
    • 15 *.md files (260 LOC)
    • 3 *.json files (194 LOC)
    • 1 *.mod files (9 LOC)
  • " *.md" is biggest, containing 56.16% of LOC.
  • " *.mod" is smallest, containing 1.94% of LOC.


*.md260 LOC (56%) 15 files
*.json194 LOC (41%) 3 files
*.mod9 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:28