apache / ignite-extensions
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
txt
properties
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.

main19774 LOC (33%) 291 files
test18528 LOC (31%) 239 files
generated0 LOC (0%) 0 files
build and deployment4662 LOC (7%) 57 files
other16326 LOC (27%) 202 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 ".*".
  • 291 files match defined criteria (19,774 LOC, 100.0% vs. main code):
    • 226 *.java files (15,158 LOC)
    • 37 *.scala files (2,954 LOC)
    • 8 *.js files (819 LOC)
    • 18 *.xml files (611 LOC)
    • 1 *.html files (140 LOC)
    • 1 *.css files (92 LOC)
  • " *.java" is biggest, containing 76.66% of LOC.
  • " *.css" is smallest, containing 0.47% of LOC.


*.java15158 LOC (76%) 226 files
*.scala2954 LOC (14%) 37 files
*.js819 LOC (4%) 8 files
*.xml611 LOC (3%) 18 files
*.html140 LOC (<1%) 1 file
*.css92 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 ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/test_.*".
  • 239 files match defined criteria (18,528 LOC, 93.7% vs. main code):
    • 188 *.java files (14,481 LOC)
    • 20 *.scala files (2,997 LOC)
    • 31 *.xml files (1,050 LOC)
  • " *.java" is biggest, containing 78.16% of LOC.
  • " *.xml" is smallest, containing 5.67% of LOC.


*.java14481 LOC (78%) 188 files
*.scala2997 LOC (16%) 20 files
*.xml1050 LOC (5%) 31 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 ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 57 files match defined criteria (4,662 LOC, 23.6% vs. main code):
    • 47 *.xml files (4,230 LOC)
    • 10 *.sh files (432 LOC)
  • " *.xml" is biggest, containing 90.73% of LOC.
  • " *.sh" is smallest, containing 9.27% of LOC.


*.xml4230 LOC (90%) 47 files
*.sh432 LOC (9%) 10 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • 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 ".*[.]properties".
  • 202 files match defined criteria (16,326 LOC, 82.6% vs. main code):
    • 79 *.txt files (6,597 LOC)
    • 1 *.svg files (4,938 LOC)
    • 67 *.java files (2,486 LOC)
    • 28 *.xml files (1,480 LOC)
    • 5 *.scala files (357 LOC)
    • 12 *.properties files (226 LOC)
    • 5 *.md files (197 LOC)
    • 2 *.yml files (26 LOC)
    • 3 *.json files (19 LOC)
  • " *.txt" is biggest, containing 40.41% of LOC.
  • " *.json" is smallest, containing 0.12% of LOC.


*.txt6597 LOC (40%) 79 files
*.svg4938 LOC (30%) 1 file
*.java2486 LOC (15%) 67 files
*.xml1480 LOC (9%) 28 files
*.scala357 LOC (2%) 5 files
*.properties226 LOC (1%) 12 files
*.md197 LOC (1%) 5 files
*.yml26 LOC (<1%) 2 files
*.json19 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:26