alibaba / f2e-spec
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
ejs
prettierignore
editorconfig
mjs
txt
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.

main1701 LOC (33%) 37 files
test1351 LOC (26%) 39 files
generated0 LOC (0%) 0 files
build and deployment3 LOC (<1%) 1 file
other1997 LOC (39%) 51 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
ejs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 37 files match defined criteria (1,701 LOC, 100.0% vs. main code):
    • 21 *.ts files (1,341 LOC)
    • 9 *.js files (252 LOC)
    • 1 *.cjs files (90 LOC)
    • 4 *.mjs files (12 LOC)
    • 2 *.ejs files (6 LOC)
  • " *.ts" is biggest, containing 78.84% of LOC.
  • " *.ejs" is smallest, containing 0.35% of LOC.


*.ts1341 LOC (78%) 21 files
*.js252 LOC (14%) 9 files
*.cjs90 LOC (5%) 1 file
*.mjs12 LOC (<1%) 4 files
*.ejs6 LOC (<1%) 2 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 ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/vitest[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 39 files match defined criteria (1,351 LOC, 79.4% vs. main code):
    • 14 *.ts files (651 LOC)
    • 5 *.jsx files (320 LOC)
    • 11 *.js files (199 LOC)
    • 3 *.css files (69 LOC)
    • 2 *.scss files (48 LOC)
    • 3 *.tsx files (42 LOC)
    • 1 *.less files (22 LOC)
  • " *.ts" is biggest, containing 48.19% of LOC.
  • " *.less" is smallest, containing 1.63% of LOC.


*.ts651 LOC (48%) 14 files
*.jsx320 LOC (23%) 5 files
*.js199 LOC (14%) 11 files
*.css69 LOC (5%) 3 files
*.scss48 LOC (3%) 2 files
*.tsx42 LOC (3%) 3 files
*.less22 LOC (1%) 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 ".*/pnpm.*[.]ya?ml".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (3 LOC, 0.2% vs. main code). All matches are in *.yaml files.


*.yaml3 LOC (100%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 51 files match defined criteria (1,997 LOC, 117.4% vs. main code):
    • 21 *.md files (1,041 LOC)
    • 30 *.json files (956 LOC)
  • " *.md" is biggest, containing 52.13% of LOC.
  • " *.json" is smallest, containing 47.87% of LOC.


*.md1041 LOC (52%) 21 files
*.json956 LOC (47%) 30 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 18:53