JetBrains / youtrack-apps
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
po
t
mjs
txt
editorconfig
npmrc
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.

main23678 LOC (40%) 324 files
test904 LOC (1%) 24 files
generated6370 LOC (10%) 1 file
build and deployment230 LOC (<1%) 15 files
other27805 LOC (47%) 228 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
t
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 324 files match defined criteria (23,678 LOC, 100.0% vs. main code):
    • 147 *.js files (12,907 LOC)
    • 19 *.css files (3,988 LOC)
    • 50 *.ts files (2,396 LOC)
    • 31 *.tsx files (2,027 LOC)
    • 12 *.scss files (831 LOC)
    • 22 *.t files (501 LOC)
    • 9 *.jsx files (455 LOC)
    • 5 *.mjs files (293 LOC)
    • 29 *.html files (280 LOC)
  • " *.js" is biggest, containing 54.51% of LOC.
  • " *.html" is smallest, containing 1.18% of LOC.


*.js12907 LOC (54%) 147 files
*.css3988 LOC (16%) 19 files
*.ts2396 LOC (10%) 50 files
*.tsx2027 LOC (8%) 31 files
*.scss831 LOC (3%) 12 files
*.t501 LOC (2%) 22 files
*.jsx455 LOC (1%) 9 files
*.mjs293 LOC (1%) 5 files
*.html280 LOC (1%) 29 files
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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/karma[.]conf[.]js".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
  • 24 files match defined criteria (904 LOC, 3.8% vs. main code):
    • 7 *.ts files (386 LOC)
    • 12 *.js files (258 LOC)
    • 4 *.jsx files (257 LOC)
    • 1 *.sh files (3 LOC)
  • " *.ts" is biggest, containing 42.7% of LOC.
  • " *.sh" is smallest, containing 0.33% of LOC.


*.ts386 LOC (42%) 7 files
*.js258 LOC (28%) 12 files
*.jsx257 LOC (28%) 4 files
*.sh3 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (6,370 LOC, 26.9% vs. main code). All matches are in *.json files.


*.json6370 LOC (100%) 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 ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]sh".
  • 15 files match defined criteria (230 LOC, 1.0% vs. main code):
    • 1 *.js files (161 LOC)
    • 14 *.sh files (69 LOC)
  • " *.js" is biggest, containing 70% of LOC.
  • " *.sh" is smallest, containing 30% of LOC.


*.js161 LOC (70%) 1 file
*.sh69 LOC (30%) 14 files
Other Code
po
txt
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 ".*[.]npmrc".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]po".
    • files with paths like ".*[.]txt".
  • 228 files match defined criteria (27,805 LOC, 117.4% vs. main code):
    • 110 *.po files (18,461 LOC)
    • 66 *.json files (8,102 LOC)
    • 26 *.md files (652 LOC)
    • 24 *.svg files (348 LOC)
    • 2 *.txt files (242 LOC)
  • " *.po" is biggest, containing 66.39% of LOC.
  • " *.txt" is smallest, containing 0.87% of LOC.


*.po18461 LOC (66%) 110 files
*.json8102 LOC (29%) 66 files
*.md652 LOC (2%) 26 files
*.svg348 LOC (1%) 24 files
*.txt242 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:33