alibaba / form-driver
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
editorconfig
gitmodules
prettierignore
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.

main5857 LOC (69%) 96 files
test0 LOC (0%) 0 files
generated13 LOC (<1%) 1 file
build and deployment454 LOC (5%) 3 files
other2053 LOC (24%) 31 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 ".*".
  • 96 files match defined criteria (5,857 LOC, 100.0% vs. main code):
    • 49 *.tsx files (3,601 LOC)
    • 30 *.ts files (1,466 LOC)
    • 13 *.less files (419 LOC)
    • 3 *.js files (255 LOC)
    • 1 *.jsx files (116 LOC)
  • " *.tsx" is biggest, containing 61.48% of LOC.
  • " *.jsx" is smallest, containing 1.98% of LOC.


*.tsx3601 LOC (61%) 49 files
*.ts1466 LOC (25%) 30 files
*.less419 LOC (7%) 13 files
*.js255 LOC (4%) 3 files
*.jsx116 LOC (1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (13 LOC, 0.2% vs. main code). All matches are in *.json files.


*.json13 LOC (100%) 1 file
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[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 3 files match defined criteria (454 LOC, 7.8% vs. main code). All matches are in *.js files.


*.js454 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]editorconfig".
  • 31 files match defined criteria (2,053 LOC, 35.1% vs. main code):
    • 9 *.tsx files (881 LOC)
    • 8 *.json files (839 LOC)
    • 4 *.md files (232 LOC)
    • 3 *.js files (44 LOC)
    • 3 *.css files (31 LOC)
    • 3 *.html files (25 LOC)
    • 1 *.txt files (1 LOC)
  • " *.tsx" is biggest, containing 42.91% of LOC.
  • " *.txt" is smallest, containing 0.05% of LOC.


*.tsx881 LOC (42%) 9 files
*.json839 LOC (40%) 8 files
*.md232 LOC (11%) 4 files
*.js44 LOC (2%) 3 files
*.css31 LOC (1%) 3 files
*.html25 LOC (1%) 3 files
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 18:54