alibaba / lowcode-engine
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
eslintignore
stylelintignore
prettierignore
snap
editorconfig
babelrc
txt
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.

main52369 LOC (36%) 820 files
test74954 LOC (51%) 804 files
generated0 LOC (0%) 0 files
build and deployment114 LOC (<1%) 9 files
other17371 LOC (11%) 340 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 ".*".
  • 820 files match defined criteria (52,369 LOC, 100.0% vs. main code):
    • 664 *.ts files (40,348 LOC)
    • 96 *.tsx files (8,572 LOC)
    • 24 *.less files (2,363 LOC)
    • 29 *.js files (704 LOC)
    • 1 *.json5 files (274 LOC)
    • 3 *.scss files (55 LOC)
    • 2 *.css files (33 LOC)
    • 1 *.html files (20 LOC)
  • " *.ts" is biggest, containing 77.05% of LOC.
  • " *.html" is smallest, containing 0.04% of LOC.


*.ts40348 LOC (77%) 664 files
*.tsx8572 LOC (16%) 96 files
*.less2363 LOC (4%) 24 files
*.js704 LOC (1%) 29 files
*.json5274 LOC (<1%) 1 file
*.scss55 LOC (<1%) 3 files
*.css33 LOC (<1%) 2 files
*.html20 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
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 ".*[.]test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]snap".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Ss]pecs/.*".
  • 804 files match defined criteria (74,954 LOC, 143.1% vs. main code):
    • 191 *.ts files (23,089 LOC)
    • 38 *.json5 files (14,979 LOC)
    • 166 *.jsx files (14,791 LOC)
    • 18 *.snap files (11,883 LOC)
    • 208 *.js files (6,694 LOC)
    • 32 *.tsx files (2,271 LOC)
    • 80 *.scss files (906 LOC)
    • 56 *.css files (175 LOC)
    • 13 *.html files (156 LOC)
    • 2 *.less files (10 LOC)
  • " *.ts" is biggest, containing 30.8% of LOC.
  • " *.less" is smallest, containing 0.01% of LOC.


*.ts23089 LOC (30%) 191 files
*.json514979 LOC (19%) 38 files
*.jsx14791 LOC (19%) 166 files
*.snap11883 LOC (15%) 18 files
*.js6694 LOC (8%) 208 files
*.tsx2271 LOC (3%) 32 files
*.scss906 LOC (1%) 80 files
*.css175 LOC (<1%) 56 files
*.html156 LOC (<1%) 13 files
*.less10 LOC (<1%) 2 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 9 files match defined criteria (114 LOC, 0.2% vs. main code):
    • 8 *.sh files (75 LOC)
    • 1 *.js files (39 LOC)
  • " *.sh" is biggest, containing 65.79% of LOC.
  • " *.js" is smallest, containing 34.21% of LOC.


*.sh75 LOC (65%) 8 files
*.js39 LOC (34%) 1 file
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 ".*/[.]prettierignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]stylelintignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]editorconfig".
  • 340 files match defined criteria (17,371 LOC, 33.2% vs. main code):
    • 269 *.json files (14,776 LOC)
    • 63 *.md files (2,444 LOC)
    • 5 *.jsx files (112 LOC)
    • 1 *.tsx files (21 LOC)
    • 2 *.js files (18 LOC)
  • " *.json" is biggest, containing 85.06% of LOC.
  • " *.js" is smallest, containing 0.1% of LOC.


*.json14776 LOC (85%) 269 files
*.md2444 LOC (14%) 63 files
*.jsx112 LOC (<1%) 5 files
*.tsx21 LOC (<1%) 1 file
*.js18 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 18:54