apache / ignite-3
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
ini
txt
properties
editorconfig
csproj
gitattributes
clang-format
props
cmd
clang-tidy
dotsettings
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.

main318234 LOC (68%) 3,864 files
test137375 LOC (29%) 1,031 files
generated323 LOC (<1%) 5 files
build and deployment3486 LOC (<1%) 88 files
other5777 LOC (1%) 128 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3864 files match defined criteria (318,234 LOC, 100.0% vs. main code):
    • 3,490 *.java files (284,121 LOC)
    • 164 *.cs files (12,447 LOC)
    • 69 *.cpp files (12,072 LOC)
    • 129 *.h files (6,644 LOC)
    • 3 *.cmake files (1,067 LOC)
    • 1 *.yaml files (973 LOC)
    • 1 *.ftl files (606 LOC)
    • 1 *.toml files (190 LOC)
    • 3 *.xml files (49 LOC)
    • 1 *.props files (36 LOC)
    • 1 *.cmd files (23 LOC)
    • 1 *.yml files (6 LOC)
  • " *.java" is biggest, containing 89.28% of LOC.
  • " *.yml" is smallest, containing 0% of LOC.


*.java284121 LOC (89%) 3,490 files
*.cs12447 LOC (3%) 164 files
*.cpp12072 LOC (3%) 69 files
*.h6644 LOC (2%) 129 files
*.cmake1067 LOC (<1%) 3 files
*.yaml973 LOC (<1%) 1 file
*.ftl606 LOC (<1%) 1 file
*.toml190 LOC (<1%) 1 file
*.xml49 LOC (<1%) 3 files
*.props36 LOC (<1%) 1 file
*.cmd23 LOC (<1%) 1 file
*.yml6 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_tests[.].*".
  • 1031 files match defined criteria (137,375 LOC, 43.2% vs. main code):
    • 859 *.java files (112,870 LOC)
    • 99 *.cs files (13,010 LOC)
    • 34 *.cpp files (10,036 LOC)
    • 11 *.h files (716 LOC)
    • 25 *.sql files (670 LOC)
    • 1 *.cmake files (37 LOC)
    • 1 *.csproj files (28 LOC)
    • 1 *.gradle files (8 LOC)
  • " *.java" is biggest, containing 82.16% of LOC.
  • " *.gradle" is smallest, containing 0.01% of LOC.


*.java112870 LOC (82%) 859 files
*.cs13010 LOC (9%) 99 files
*.cpp10036 LOC (7%) 34 files
*.h716 LOC (<1%) 11 files
*.sql670 LOC (<1%) 25 files
*.cmake37 LOC (<1%) 1 file
*.csproj28 LOC (<1%) 1 file
*.gradle8 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 any line of content like "//[ ]*Generated by .*".
  • 5 files match defined criteria (323 LOC, 0.1% vs. main code). All matches are in *.java files.


*.java323 LOC (100%) 5 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*/docker[-]compose[.]yml".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]csproj".
  • 88 files match defined criteria (3,486 LOC, 1.1% vs. main code):
    • 64 *.gradle files (3,090 LOC)
    • 18 *.sh files (216 LOC)
    • 2 *.bat files (83 LOC)
    • 3 *.csproj files (71 LOC)
    • 1 *.yml files (26 LOC)
  • " *.gradle" is biggest, containing 88.64% of LOC.
  • " *.yml" is smallest, containing 0.75% of LOC.


*.gradle3090 LOC (88%) 64 files
*.sh216 LOC (6%) 18 files
*.bat83 LOC (2%) 2 files
*.csproj71 LOC (2%) 3 files
*.yml26 LOC (<1%) 1 file
Other Code
txt
properties
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]editorconfig".
  • 128 files match defined criteria (5,777 LOC, 1.8% vs. main code):
    • 58 *.md files (3,243 LOC)
    • 18 *.java files (927 LOC)
    • 13 *.txt files (642 LOC)
    • 4 *.xml files (409 LOC)
    • 13 *.properties files (405 LOC)
    • 6 *.json files (69 LOC)
    • 15 *.ini files (60 LOC)
    • 1 *.gradle files (22 LOC)
  • " *.md" is biggest, containing 56.14% of LOC.
  • " *.gradle" is smallest, containing 0.38% of LOC.


*.md3243 LOC (56%) 58 files
*.java927 LOC (16%) 18 files
*.txt642 LOC (11%) 13 files
*.xml409 LOC (7%) 4 files
*.properties405 LOC (7%) 13 files
*.json69 LOC (1%) 6 files
*.ini60 LOC (1%) 15 files
*.gradle22 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:05