apache / shardingsphere-elasticjob-ui
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
babelrc
editorconfig
eslintignore
cmd
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.

main14304 LOC (68%) 238 files
test773 LOC (3%) 19 files
generated0 LOC (0%) 0 files
build and deployment1854 LOC (8%) 19 files
other3811 LOC (18%) 56 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 ".*".
  • 238 files match defined criteria (14,304 LOC, 100.0% vs. main code):
    • 46 *.vue files (6,656 LOC)
    • 120 *.java files (4,326 LOC)
    • 57 *.js files (2,905 LOC)
    • 7 *.xml files (217 LOC)
    • 4 *.scss files (156 LOC)
    • 4 *.html files (44 LOC)
  • " *.vue" is biggest, containing 46.53% of LOC.
  • " *.html" is smallest, containing 0.31% of LOC.


*.vue6656 LOC (46%) 46 files
*.java4326 LOC (30%) 120 files
*.js2905 LOC (20%) 57 files
*.xml217 LOC (1%) 7 files
*.scss156 LOC (1%) 4 files
*.html44 LOC (<1%) 4 files
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 ".*/[Ss]pecs/.*".
    • files with paths like ".*[.]spec[.]js".
    • files with paths like ".*/karma[.]conf[.]js".
  • 19 files match defined criteria (773 LOC, 5.4% vs. main code):
    • 14 *.js files (388 LOC)
    • 5 *.java files (385 LOC)
  • " *.js" is biggest, containing 50.19% of LOC.
  • " *.java" is smallest, containing 49.81% of LOC.


*.js388 LOC (50%) 14 files
*.java385 LOC (49%) 5 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
  • 19 files match defined criteria (1,854 LOC, 13.0% vs. main code):
    • 11 *.xml files (1,102 LOC)
    • 8 *.js files (752 LOC)
  • " *.xml" is biggest, containing 59.44% of LOC.
  • " *.js" is smallest, containing 40.56% of LOC.


*.xml1102 LOC (59%) 11 files
*.js752 LOC (40%) 8 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 ".*[.]properties".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]txt".
  • 56 files match defined criteria (3,811 LOC, 26.6% vs. main code):
    • 43 *.txt files (3,294 LOC)
    • 2 *.json files (213 LOC)
    • 4 *.properties files (155 LOC)
    • 7 *.md files (149 LOC)
  • " *.txt" is biggest, containing 86.43% of LOC.
  • " *.md" is smallest, containing 3.91% of LOC.


*.txt3294 LOC (86%) 43 files
*.json213 LOC (5%) 2 files
*.properties155 LOC (4%) 4 files
*.md149 LOC (3%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:47