JetBrains / svg-sprite-loader
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
npmignore
editorconfig
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.

main1018 LOC (16%) 37 files
test782 LOC (12%) 24 files
generated0 LOC (0%) 0 files
build and deployment50 LOC (<1%) 1 file
other4383 LOC (70%) 79 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 ".*".
  • 37 files match defined criteria (1,018 LOC, 100.0% vs. main code):
    • 36 *.js files (1,008 LOC)
    • 1 *.scss files (10 LOC)
  • " *.js" is biggest, containing 99.02% of LOC.
  • " *.scss" is smallest, containing 0.98% of LOC.


*.js1008 LOC (99%) 36 files
*.scss10 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
ejs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/karma[.]conf[.]js".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 24 files match defined criteria (782 LOC, 76.8% vs. main code):
    • 16 *.js files (746 LOC)
    • 6 *.css files (17 LOC)
    • 1 *.ejs files (10 LOC)
    • 1 *.html files (9 LOC)
  • " *.js" is biggest, containing 95.4% of LOC.
  • " *.html" is smallest, containing 1.15% of LOC.


*.js746 LOC (95%) 16 files
*.css17 LOC (2%) 6 files
*.ejs10 LOC (1%) 1 file
*.html9 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (50 LOC, 4.9% vs. main code). All matches are in *.sh files.


*.sh50 LOC (100%) 1 file
Other Code
ejs
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 ".*[.]editorconfig".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 79 files match defined criteria (4,383 LOC, 430.6% vs. main code):
    • 34 *.js files (2,890 LOC)
    • 11 *.md files (992 LOC)
    • 8 *.json files (212 LOC)
    • 10 *.html files (137 LOC)
    • 11 *.svg files (92 LOC)
    • 2 *.jsx files (28 LOC)
    • 1 *.ejs files (20 LOC)
    • 2 *.css files (12 LOC)
  • " *.js" is biggest, containing 65.94% of LOC.
  • " *.css" is smallest, containing 0.27% of LOC.


*.js2890 LOC (65%) 34 files
*.md992 LOC (22%) 11 files
*.json212 LOC (4%) 8 files
*.html137 LOC (3%) 10 files
*.svg92 LOC (2%) 11 files
*.jsx28 LOC (<1%) 2 files
*.ejs20 LOC (<1%) 1 file
*.css12 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:43