JetBrains / youtrack-mobile
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
patch
plist
properties
gitattributes
watchmanconfig
pro
storyboard
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.

main56802 LOC (65%) 588 files
test9442 LOC (10%) 74 files
generated0 LOC (0%) 0 files
build and deployment492 LOC (<1%) 8 files
other19742 LOC (22%) 105 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 ".*".
  • 588 files match defined criteria (56,802 LOC, 100.0% vs. main code):
    • 335 *.ts files (29,249 LOC)
    • 226 *.tsx files (27,057 LOC)
    • 11 *.js files (217 LOC)
    • 1 *.mm files (84 LOC)
    • 2 *.m files (61 LOC)
    • 8 *.xml files (52 LOC)
    • 2 *.kt files (51 LOC)
    • 1 *.bzl files (17 LOC)
    • 1 *.java files (7 LOC)
    • 1 *.h files (7 LOC)
  • " *.ts" is biggest, containing 51.49% of LOC.
  • " *.h" is smallest, containing 0.01% of LOC.


*.ts29249 LOC (51%) 335 files
*.tsx27057 LOC (47%) 226 files
*.js217 LOC (<1%) 11 files
*.mm84 LOC (<1%) 1 file
*.m61 LOC (<1%) 2 files
*.xml52 LOC (<1%) 8 files
*.kt51 LOC (<1%) 2 files
*.bzl17 LOC (<1%) 1 file
*.java7 LOC (<1%) 1 file
*.h7 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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.]spec[.]tsx".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
  • 74 files match defined criteria (9,442 LOC, 16.6% vs. main code):
    • 39 *.ts files (6,510 LOC)
    • 27 *.tsx files (2,478 LOC)
    • 8 *.js files (454 LOC)
  • " *.ts" is biggest, containing 68.95% of LOC.
  • " *.js" is smallest, containing 4.81% of LOC.


*.ts6510 LOC (68%) 39 files
*.tsx2478 LOC (26%) 27 files
*.js454 LOC (4%) 8 files
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 ".*[.]gradle".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 8 files match defined criteria (492 LOC, 0.9% vs. main code):
    • 2 *.xml files (265 LOC)
    • 5 *.gradle files (154 LOC)
    • 1 *.bat files (73 LOC)
  • " *.xml" is biggest, containing 53.86% of LOC.
  • " *.bat" is smallest, containing 14.84% of LOC.


*.xml265 LOC (53%) 2 files
*.gradle154 LOC (31%) 5 files
*.bat73 LOC (14%) 1 file
Other Code
po
patch
plist
storyboard
properties
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 ".*[.]properties".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]po".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]storyboard".
  • 105 files match defined criteria (19,742 LOC, 34.8% vs. main code):
    • 16 *.po files (18,525 LOC)
    • 63 *.svg files (361 LOC)
    • 12 *.patch files (320 LOC)
    • 7 *.json files (300 LOC)
    • 4 *.plist files (123 LOC)
    • 1 *.storyboard files (47 LOC)
    • 1 *.md files (33 LOC)
    • 1 *.properties files (33 LOC)
  • " *.po" is biggest, containing 93.84% of LOC.
  • " *.properties" is smallest, containing 0.17% of LOC.


*.po18525 LOC (93%) 16 files
*.svg361 LOC (1%) 63 files
*.patch320 LOC (1%) 12 files
*.json300 LOC (1%) 7 files
*.plist123 LOC (<1%) 4 files
*.storyboard47 LOC (<1%) 1 file
*.md33 LOC (<1%) 1 file
*.properties33 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:48