alibaba / lowcode-engine-ext
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
stylelintignore
txt
editorconfig
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.

main9801 LOC (88%) 112 files
test14 LOC (<1%) 3 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1247 LOC (11%) 26 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 ".*".
  • 112 files match defined criteria (9,801 LOC, 100.0% vs. main code):
    • 57 *.tsx files (7,325 LOC)
    • 32 *.less files (1,769 LOC)
    • 16 *.ts files (510 LOC)
    • 2 *.scss files (100 LOC)
    • 1 *.html files (49 LOC)
    • 4 *.js files (48 LOC)
  • " *.tsx" is biggest, containing 74.74% of LOC.
  • " *.js" is smallest, containing 0.49% of LOC.


*.tsx7325 LOC (74%) 57 files
*.less1769 LOC (18%) 32 files
*.ts510 LOC (5%) 16 files
*.scss100 LOC (1%) 2 files
*.html49 LOC (<1%) 1 file
*.js48 LOC (<1%) 4 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 3 files match defined criteria (14 LOC, 0.1% vs. main code):
    • 1 *.jsx files (8 LOC)
    • 2 *.js files (6 LOC)
  • " *.jsx" is biggest, containing 57.14% of LOC.
  • " *.js" is smallest, containing 42.86% of LOC.


*.jsx8 LOC (57%) 1 file
*.js6 LOC (42%) 2 files
Other Code
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 ".*[.]json".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]stylelintignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]eslintignore".
  • 26 files match defined criteria (1,247 LOC, 12.7% vs. main code):
    • 24 *.json files (1,178 LOC)
    • 2 *.md files (69 LOC)
  • " *.json" is biggest, containing 94.47% of LOC.
  • " *.md" is smallest, containing 5.53% of LOC.


*.json1178 LOC (94%) 24 files
*.md69 LOC (5%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 18:54