epam / mriviewer
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
babelrc
webmanifest
txt
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.

main28866 LOC (96%) 281 files
test623 LOC (2%) 12 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other378 LOC (1%) 7 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
frag
vert
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 281 files match defined criteria (28,866 LOC, 100.0% vs. main code):
    • 136 *.js files (20,938 LOC)
    • 75 *.jsx files (3,314 LOC)
    • 10 *.frag files (2,048 LOC)
    • 27 *.css files (1,737 LOC)
    • 20 *.ts files (679 LOC)
    • 10 *.vert files (100 LOC)
    • 1 *.html files (22 LOC)
    • 1 *.webmanifest files (19 LOC)
    • 1 *.xml files (9 LOC)
  • " *.js" is biggest, containing 72.54% of LOC.
  • " *.xml" is smallest, containing 0.03% of LOC.


*.js20938 LOC (72%) 136 files
*.jsx3314 LOC (11%) 75 files
*.frag2048 LOC (7%) 10 files
*.css1737 LOC (6%) 27 files
*.ts679 LOC (2%) 20 files
*.vert100 LOC (<1%) 10 files
*.html22 LOC (<1%) 1 file
*.webmanifest19 LOC (<1%) 1 file
*.xml9 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 12 files match defined criteria (623 LOC, 2.2% vs. main code):
    • 5 *.js files (339 LOC)
    • 7 *.jsx files (284 LOC)
  • " *.js" is biggest, containing 54.41% of LOC.
  • " *.jsx" is smallest, containing 45.59% of LOC.


*.js339 LOC (54%) 5 files
*.jsx284 LOC (45%) 7 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
  • 7 files match defined criteria (378 LOC, 1.3% vs. main code):
    • 3 *.md files (188 LOC)
    • 3 *.json files (152 LOC)
    • 1 *.svg files (38 LOC)
  • " *.md" is biggest, containing 49.74% of LOC.
  • " *.svg" is smallest, containing 10.05% of LOC.


*.md188 LOC (49%) 3 files
*.json152 LOC (40%) 3 files
*.svg38 LOC (10%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:07