JetBrains / MPS-Contrib
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
f
gitattributes
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.

main92486 LOC (92%) 1,517 files
test6195 LOC (6%) 112 files
generated0 LOC (0%) 0 files
build and deployment37 LOC (<1%) 1 file
other1124 LOC (1%) 12 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
f
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1517 files match defined criteria (92,486 LOC, 100.0% vs. main code):
    • 1,494 *.java files (84,318 LOC)
    • 22 *.xml files (8,163 LOC)
    • 1 *.f files (5 LOC)
  • " *.java" is biggest, containing 91.17% of LOC.
  • " *.f" is smallest, containing 0.01% of LOC.


*.java84318 LOC (91%) 1,494 files
*.xml8163 LOC (8%) 22 files
*.f5 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 ".*/test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est/.*".
    • files with paths like ".*[.][Tt]ests/.*".
  • 112 files match defined criteria (6,195 LOC, 6.7% vs. main code):
    • 111 *.java files (6,185 LOC)
    • 1 *.xml files (10 LOC)
  • " *.java" is biggest, containing 99.84% of LOC.
  • " *.xml" is smallest, containing 0.16% of LOC.


*.java6185 LOC (99%) 111 files
*.xml10 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 ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 1 file matches defined criteria (37 LOC, 0.0% vs. main code). All matches are in *.xml files.


*.xml37 LOC (100%) 1 file
Other Code
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 ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
  • 12 files match defined criteria (1,124 LOC, 1.2% vs. main code):
    • 10 *.java files (1,101 LOC)
    • 2 *.md files (23 LOC)
  • " *.java" is biggest, containing 97.95% of LOC.
  • " *.md" is smallest, containing 2.05% of LOC.


*.java1101 LOC (97%) 10 files
*.md23 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:38