JetBrains / ytdb-tinkerpop
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
feature
properties
txt
csproj
mod
npmignore
in
xsd
nuspec
cfg
xslt
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.

main185760 LOC (51%) 1,871 files
test125335 LOC (34%) 1,031 files
generated16492 LOC (4%) 4 files
build and deployment8029 LOC (2%) 50 files
other24902 LOC (6%) 316 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xslt
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1871 files match defined criteria (185,760 LOC, 100.0% vs. main code):
    • 1,336 *.java files (138,878 LOC)
    • 242 *.cs files (10,759 LOC)
    • 33 *.go files (6,617 LOC)
    • 67 *.js files (6,536 LOC)
    • 33 *.py files (6,274 LOC)
    • 2 *.asciidoc files (5,427 LOC)
    • 58 *.groovy files (3,408 LOC)
    • 47 *.ts files (3,371 LOC)
    • 1 *.g4 files (2,873 LOC)
    • 31 *.xml files (983 LOC)
    • 18 *.yaml files (513 LOC)
    • 1 *.toml files (68 LOC)
    • 1 *.xslt files (35 LOC)
    • 1 *.in files (18 LOC)
  • " *.java" is biggest, containing 74.76% of LOC.
  • " *.in" is smallest, containing 0.01% of LOC.


*.java138878 LOC (74%) 1,336 files
*.cs10759 LOC (5%) 242 files
*.go6617 LOC (3%) 33 files
*.js6536 LOC (3%) 67 files
*.py6274 LOC (3%) 33 files
*.asciidoc5427 LOC (2%) 2 files
*.groovy3408 LOC (1%) 58 files
*.ts3371 LOC (1%) 47 files
*.g42873 LOC (1%) 1 file
*.xml983 LOC (<1%) 31 files
*.yaml513 LOC (<1%) 18 files
*.toml68 LOC (<1%) 1 file
*.xslt35 LOC (<1%) 1 file
*.in18 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
csproj
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.]feature".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*[-]test[-].*".
  • 1031 files match defined criteria (125,335 LOC, 67.5% vs. main code):
    • 604 *.java files (65,064 LOC)
    • 158 *.feature files (29,566 LOC)
    • 80 *.cs files (10,338 LOC)
    • 62 *.js files (6,664 LOC)
    • 19 *.go files (5,242 LOC)
    • 26 *.py files (3,584 LOC)
    • 22 *.ts files (3,486 LOC)
    • 13 *.groovy files (557 LOC)
    • 26 *.xml files (497 LOC)
    • 15 *.yaml files (215 LOC)
    • 4 *.csproj files (84 LOC)
    • 1 *.sh files (33 LOC)
    • 1 *.cfg files (5 LOC)
  • " *.java" is biggest, containing 51.91% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java65064 LOC (51%) 604 files
*.feature29566 LOC (23%) 158 files
*.cs10338 LOC (8%) 80 files
*.js6664 LOC (5%) 62 files
*.go5242 LOC (4%) 19 files
*.py3584 LOC (2%) 26 files
*.ts3486 LOC (2%) 22 files
*.groovy557 LOC (<1%) 13 files
*.xml497 LOC (<1%) 26 files
*.yaml215 LOC (<1%) 15 files
*.csproj84 LOC (<1%) 4 files
*.sh33 LOC (<1%) 1 file
*.cfg5 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".
  • 4 files match defined criteria (16,492 LOC, 8.9% vs. main code). All matches are in *.json files.


*.json16492 LOC (100%) 4 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
nuspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • 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 ".*[.]sh".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]bat".
  • 50 files match defined criteria (8,029 LOC, 4.3% vs. main code):
    • 35 *.xml files (7,518 LOC)
    • 9 *.sh files (385 LOC)
    • 5 *.csproj files (103 LOC)
    • 1 *.nuspec files (23 LOC)
  • " *.xml" is biggest, containing 93.64% of LOC.
  • " *.nuspec" is smallest, containing 0.29% of LOC.


*.xml7518 LOC (93%) 35 files
*.sh385 LOC (4%) 9 files
*.csproj103 LOC (1%) 5 files
*.nuspec23 LOC (<1%) 1 file
Other Code
properties
txt
xsd
mod
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]svg".
  • 316 files match defined criteria (24,902 LOC, 13.4% vs. main code):
    • 220 *.json files (20,916 LOC)
    • 11 *.md files (1,236 LOC)
    • 37 *.properties files (791 LOC)
    • 13 *.txt files (510 LOC)
    • 1 *.xsd files (269 LOC)
    • 7 *.asciidoc files (222 LOC)
    • 5 *.js files (194 LOC)
    • 3 *.java files (127 LOC)
    • 3 *.py files (123 LOC)
    • 3 *.go files (113 LOC)
    • 3 *.cs files (97 LOC)
    • 1 *.rst files (93 LOC)
    • 3 *.mod files (90 LOC)
    • 1 *.xml files (65 LOC)
    • 3 *.csproj files (33 LOC)
    • 1 *.html files (13 LOC)
    • 1 *.css files (10 LOC)
  • " *.json" is biggest, containing 83.99% of LOC.
  • " *.css" is smallest, containing 0.04% of LOC.


*.json20916 LOC (83%) 220 files
*.md1236 LOC (4%) 11 files
*.properties791 LOC (3%) 37 files
*.txt510 LOC (2%) 13 files
*.xsd269 LOC (1%) 1 file
*.asciidoc222 LOC (<1%) 7 files
*.js194 LOC (<1%) 5 files
*.java127 LOC (<1%) 3 files
*.py123 LOC (<1%) 3 files
*.go113 LOC (<1%) 3 files
*.cs97 LOC (<1%) 3 files
*.rst93 LOC (<1%) 1 file
*.mod90 LOC (<1%) 3 files
*.xml65 LOC (<1%) 1 file
*.csproj33 LOC (<1%) 3 files
*.html13 LOC (<1%) 1 file
*.css10 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:39