epam / miew
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
frag
vert
mjs
editorconfig
jison
hbs
npmignore
ejs
txt
eslintignore
properties
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.

main30976 LOC (69%) 310 files
test6625 LOC (14%) 65 files
generated0 LOC (0%) 0 files
build and deployment389 LOC (<1%) 3 files
other6779 LOC (15%) 66 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
frag
jison
vert
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 310 files match defined criteria (30,976 LOC, 100.0% vs. main code):
    • 250 *.js files (27,496 LOC)
    • 13 *.frag files (1,121 LOC)
    • 18 *.jsx files (938 LOC)
    • 2 *.jison files (436 LOC)
    • 12 *.scss files (382 LOC)
    • 6 *.py files (295 LOC)
    • 5 *.vert files (254 LOC)
    • 3 *.mjs files (36 LOC)
    • 1 *.html files (18 LOC)
  • " *.js" is biggest, containing 88.77% of LOC.
  • " *.html" is smallest, containing 0.06% of LOC.


*.js27496 LOC (88%) 250 files
*.frag1121 LOC (3%) 13 files
*.jsx938 LOC (3%) 18 files
*.jison436 LOC (1%) 2 files
*.scss382 LOC (1%) 12 files
*.py295 LOC (<1%) 6 files
*.vert254 LOC (<1%) 5 files
*.mjs36 LOC (<1%) 3 files
*.html18 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
hbs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*__test__.*".
  • 65 files match defined criteria (6,625 LOC, 21.4% vs. main code):
    • 62 *.js files (6,479 LOC)
    • 2 *.hbs files (136 LOC)
    • 1 *.jsx files (10 LOC)
  • " *.js" is biggest, containing 97.8% of LOC.
  • " *.jsx" is smallest, containing 0.15% of LOC.


*.js6479 LOC (97%) 62 files
*.hbs136 LOC (2%) 2 files
*.jsx10 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 3 files match defined criteria (389 LOC, 1.3% vs. main code). All matches are in *.js files.


*.js389 LOC (100%) 3 files
Other Code
ejs
properties
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 ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]txt".
  • 66 files match defined criteria (6,779 LOC, 21.9% vs. main code):
    • 18 *.js files (2,475 LOC)
    • 22 *.html files (1,487 LOC)
    • 14 *.md files (1,050 LOC)
    • 6 *.json files (878 LOC)
    • 1 *.scss files (550 LOC)
    • 3 *.svg files (314 LOC)
    • 1 *.ejs files (13 LOC)
    • 1 *.properties files (12 LOC)
  • " *.js" is biggest, containing 36.51% of LOC.
  • " *.properties" is smallest, containing 0.18% of LOC.


*.js2475 LOC (36%) 18 files
*.html1487 LOC (21%) 22 files
*.md1050 LOC (15%) 14 files
*.json878 LOC (12%) 6 files
*.scss550 LOC (8%) 1 file
*.svg314 LOC (4%) 3 files
*.ejs13 LOC (<1%) 1 file
*.properties12 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:07