apache / 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
cfg
npmignore
in
xsd
nuspec
xslt
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.

main163190 LOC (54%) 1,684 files
test102048 LOC (34%) 937 files
generated10039 LOC (3%) 2 files
build and deployment7353 LOC (2%) 38 files
other15628 LOC (5%) 196 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
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1684 files match defined criteria (163,190 LOC, 100.0% vs. main code):
    • 1,211 *.java files (126,364 LOC)
    • 229 *.cs files (10,444 LOC)
    • 28 *.go files (5,781 LOC)
    • 31 *.py files (5,306 LOC)
    • 46 *.ts files (4,717 LOC)
    • 38 *.js files (3,095 LOC)
    • 1 *.g4 files (2,724 LOC)
    • 50 *.groovy files (2,568 LOC)
    • 26 *.xml files (887 LOC)
    • 2 *.asciidoc files (728 LOC)
    • 18 *.yaml files (503 LOC)
    • 1 *.xslt files (35 LOC)
    • 1 *.in files (18 LOC)
    • 1 *.cjs files (15 LOC)
    • 1 *.cfg files (5 LOC)
  • " *.java" is biggest, containing 77.43% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java126364 LOC (77%) 1,211 files
*.cs10444 LOC (6%) 229 files
*.go5781 LOC (3%) 28 files
*.py5306 LOC (3%) 31 files
*.ts4717 LOC (2%) 46 files
*.js3095 LOC (1%) 38 files
*.g42724 LOC (1%) 1 file
*.groovy2568 LOC (1%) 50 files
*.xml887 LOC (<1%) 26 files
*.asciidoc728 LOC (<1%) 2 files
*.yaml503 LOC (<1%) 18 files
*.xslt35 LOC (<1%) 1 file
*.in18 LOC (<1%) 1 file
*.cjs15 LOC (<1%) 1 file
*.cfg5 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]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*[.]feature".
    • files with paths like ".*[-]test[-].*".
  • 937 files match defined criteria (102,048 LOC, 62.5% vs. main code):
    • 540 *.java files (49,370 LOC)
    • 141 *.feature files (25,314 LOC)
    • 80 *.cs files (10,180 LOC)
    • 61 *.js files (6,245 LOC)
    • 16 *.go files (4,292 LOC)
    • 29 *.py files (3,241 LOC)
    • 14 *.ts files (2,275 LOC)
    • 26 *.xml files (482 LOC)
    • 13 *.groovy files (346 LOC)
    • 11 *.yaml files (181 LOC)
    • 4 *.csproj files (84 LOC)
    • 1 *.sh files (33 LOC)
    • 1 *.cfg files (5 LOC)
  • " *.java" is biggest, containing 48.38% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java49370 LOC (48%) 540 files
*.feature25314 LOC (24%) 141 files
*.cs10180 LOC (9%) 80 files
*.js6245 LOC (6%) 61 files
*.go4292 LOC (4%) 16 files
*.py3241 LOC (3%) 29 files
*.ts2275 LOC (2%) 14 files
*.xml482 LOC (<1%) 26 files
*.groovy346 LOC (<1%) 13 files
*.yaml181 LOC (<1%) 11 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".
  • 2 files match defined criteria (10,039 LOC, 6.2% vs. main code). All matches are in *.json files.


*.json10039 LOC (100%) 2 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 ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]nuspec".
  • 38 files match defined criteria (7,353 LOC, 4.5% vs. main code):
    • 26 *.xml files (6,880 LOC)
    • 9 *.sh files (380 LOC)
    • 2 *.csproj files (70 LOC)
    • 1 *.nuspec files (23 LOC)
  • " *.xml" is biggest, containing 93.57% of LOC.
  • " *.nuspec" is smallest, containing 0.31% of LOC.


*.xml6880 LOC (93%) 26 files
*.sh380 LOC (5%) 9 files
*.csproj70 LOC (<1%) 2 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 ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[.]dockerignore".
  • 196 files match defined criteria (15,628 LOC, 9.6% vs. main code):
    • 117 *.json files (12,374 LOC)
    • 9 *.md files (787 LOC)
    • 30 *.properties files (669 LOC)
    • 9 *.txt files (506 LOC)
    • 1 *.xsd files (269 LOC)
    • 3 *.java files (124 LOC)
    • 4 *.asciidoc files (119 LOC)
    • 2 *.ts files (119 LOC)
    • 3 *.go files (112 LOC)
    • 3 *.py files (97 LOC)
    • 3 *.cs files (97 LOC)
    • 1 *.rst files (93 LOC)
    • 3 *.js files (78 LOC)
    • 1 *.xml files (65 LOC)
    • 2 *.mod files (63 LOC)
    • 3 *.csproj files (33 LOC)
    • 1 *.html files (13 LOC)
    • 1 *.css files (10 LOC)
  • " *.json" is biggest, containing 79.18% of LOC.
  • " *.css" is smallest, containing 0.06% of LOC.


*.json12374 LOC (79%) 117 files
*.md787 LOC (5%) 9 files
*.properties669 LOC (4%) 30 files
*.txt506 LOC (3%) 9 files
*.xsd269 LOC (1%) 1 file
*.java124 LOC (<1%) 3 files
*.asciidoc119 LOC (<1%) 4 files
*.ts119 LOC (<1%) 2 files
*.go112 LOC (<1%) 3 files
*.py97 LOC (<1%) 3 files
*.cs97 LOC (<1%) 3 files
*.rst93 LOC (<1%) 1 file
*.js78 LOC (<1%) 3 files
*.xml65 LOC (<1%) 1 file
*.mod63 LOC (<1%) 2 files
*.csproj33 LOC (<1%) 3 files
*.html13 LOC (<1%) 1 file
*.css10 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:46