apache / echarts-website
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
glsl
txt
mjs
htaccess
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.

main40310 LOC (17%) 235 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other196356 LOC (82%) 1,714 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 ".*".
  • 235 files match defined criteria (40,310 LOC, 100.0% vs. main code):
    • 167 *.js files (31,392 LOC)
    • 8 *.css files (6,874 LOC)
    • 59 *.html files (1,996 LOC)
    • 1 *.rdf files (48 LOC)
  • " *.js" is biggest, containing 77.88% of LOC.
  • " *.rdf" is smallest, containing 0.12% of LOC.


*.js31392 LOC (77%) 167 files
*.css6874 LOC (17%) 8 files
*.html1996 LOC (4%) 59 files
*.rdf48 LOC (<1%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • 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".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]htaccess".
  • 1714 files match defined criteria (196,356 LOC, 487.1% vs. main code):
    • 877 *.js files (95,919 LOC)
    • 102 *.json files (48,538 LOC)
    • 228 *.ts files (24,435 LOC)
    • 204 *.svg files (24,340 LOC)
    • 292 *.md files (1,579 LOC)
    • 1 *.css files (1,360 LOC)
    • 10 *.html files (185 LOC)
  • " *.js" is biggest, containing 48.85% of LOC.
  • " *.html" is smallest, containing 0.09% of LOC.


*.js95919 LOC (48%) 877 files
*.json48538 LOC (24%) 102 files
*.ts24435 LOC (12%) 228 files
*.svg24340 LOC (12%) 204 files
*.md1579 LOC (<1%) 292 files
*.css1360 LOC (<1%) 1 file
*.html185 LOC (<1%) 10 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:37