apache / echarts-examples
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
babelrc
txt
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.

main11152 LOC (11%) 57 files
test1251 LOC (1%) 8 files
generated0 LOC (0%) 0 files
build and deployment131 LOC (<1%) 1 file
other81669 LOC (86%) 416 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 ".*".
  • 57 files match defined criteria (11,152 LOC, 100.0% vs. main code):
    • 38 *.js files (7,002 LOC)
    • 8 *.vue files (2,839 LOC)
    • 2 *.scss files (683 LOC)
    • 8 *.html files (570 LOC)
    • 1 *.css files (58 LOC)
  • " *.js" is biggest, containing 62.79% of LOC.
  • " *.css" is smallest, containing 0.52% of LOC.


*.js7002 LOC (62%) 38 files
*.vue2839 LOC (25%) 8 files
*.scss683 LOC (6%) 2 files
*.html570 LOC (5%) 8 files
*.css58 LOC (<1%) 1 file
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 ".*/e2e/.*".
  • 8 files match defined criteria (1,251 LOC, 11.2% vs. main code):
    • 5 *.js files (984 LOC)
    • 3 *.html files (267 LOC)
  • " *.js" is biggest, containing 78.66% of LOC.
  • " *.html" is smallest, containing 21.34% of LOC.


*.js984 LOC (78%) 5 files
*.html267 LOC (21%) 3 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".
  • 1 file matches defined criteria (131 LOC, 1.2% vs. main code). All matches are in *.js files.


*.js131 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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
  • 416 files match defined criteria (81,669 LOC, 732.3% vs. main code):
    • 228 *.ts files (24,435 LOC)
    • 17 *.json files (23,232 LOC)
    • 161 *.js files (18,285 LOC)
    • 7 *.svg files (15,563 LOC)
    • 3 *.md files (154 LOC)
  • " *.ts" is biggest, containing 29.92% of LOC.
  • " *.md" is smallest, containing 0.19% of LOC.


*.ts24435 LOC (29%) 228 files
*.json23232 LOC (28%) 17 files
*.js18285 LOC (22%) 161 files
*.svg15563 LOC (19%) 7 files
*.md154 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:06