apache / ignite-web-console
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
pug
txt
babelrc
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.

main52033 LOC (65%) 827 files
test5770 LOC (7%) 98 files
generated8115 LOC (10%) 1 file
build and deployment1108 LOC (1%) 9 files
other12634 LOC (15%) 96 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
pug
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 827 files match defined criteria (52,033 LOC, 100.0% vs. main code):
    • 319 *.js files (19,556 LOC)
    • 209 *.pug files (14,910 LOC)
    • 175 *.ts files (8,031 LOC)
    • 101 *.scss files (7,018 LOC)
    • 20 *.java files (2,403 LOC)
    • 2 *.xml files (111 LOC)
    • 1 *.html files (4 LOC)
  • " *.js" is biggest, containing 37.58% of LOC.
  • " *.html" is smallest, containing 0.01% of LOC.


*.js19556 LOC (37%) 319 files
*.pug14910 LOC (28%) 209 files
*.ts8031 LOC (15%) 175 files
*.scss7018 LOC (13%) 101 files
*.java2403 LOC (4%) 20 files
*.xml111 LOC (<1%) 2 files
*.html4 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 ".*[.]spec[.]js".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/karma[.]conf[.]js".
    • files with paths like ".*/e2e/.*".
  • 98 files match defined criteria (5,770 LOC, 11.1% vs. main code):
    • 81 *.js files (4,071 LOC)
    • 7 *.java files (1,202 LOC)
    • 4 *.xml files (279 LOC)
    • 1 *.bat files (100 LOC)
    • 1 *.sh files (62 LOC)
    • 3 *.yml files (39 LOC)
    • 1 *.ts files (17 LOC)
  • " *.js" is biggest, containing 70.55% of LOC.
  • " *.ts" is smallest, containing 0.29% of LOC.


*.js4071 LOC (70%) 81 files
*.java1202 LOC (20%) 7 files
*.xml279 LOC (4%) 4 files
*.bat100 LOC (1%) 1 file
*.sh62 LOC (1%) 1 file
*.yml39 LOC (<1%) 3 files
*.ts17 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".
  • 1 file matches defined criteria (8,115 LOC, 15.6% vs. main code). All matches are in *.json files.


*.json8115 LOC (100%) 1 file
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 ".*/docker[-]compose[.]yml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*[.]bat".
  • 9 files match defined criteria (1,108 LOC, 2.1% vs. main code):
    • 4 *.xml files (836 LOC)
    • 3 *.js files (241 LOC)
    • 1 *.yml files (28 LOC)
    • 1 *.sh files (3 LOC)
  • " *.xml" is biggest, containing 75.45% of LOC.
  • " *.sh" is smallest, containing 0.27% of LOC.


*.xml836 LOC (75%) 4 files
*.js241 LOC (21%) 3 files
*.yml28 LOC (2%) 1 file
*.sh3 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]properties".
  • 96 files match defined criteria (12,634 LOC, 24.3% vs. main code):
    • 27 *.json files (10,141 LOC)
    • 17 *.java files (1,221 LOC)
    • 13 *.txt files (847 LOC)
    • 35 *.svg files (165 LOC)
    • 1 *.js files (111 LOC)
    • 1 *.sql files (73 LOC)
    • 1 *.properties files (46 LOC)
    • 1 *.md files (30 LOC)
  • " *.json" is biggest, containing 80.27% of LOC.
  • " *.md" is smallest, containing 0.24% of LOC.


*.json10141 LOC (80%) 27 files
*.java1221 LOC (9%) 17 files
*.txt847 LOC (6%) 13 files
*.svg165 LOC (1%) 35 files
*.js111 LOC (<1%) 1 file
*.sql73 LOC (<1%) 1 file
*.properties46 LOC (<1%) 1 file
*.md30 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:46