apache / airavata-django-portal
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
prettierignore
txt
npmignore
editorconfig
ini
cfg
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.

main42690 LOC (91%) 587 files
test3144 LOC (6%) 22 files
generated0 LOC (0%) 0 files
build and deployment64 LOC (<1%) 5 files
other807 LOC (1%) 16 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 587 files match defined criteria (42,690 LOC, 100.0% vs. main code):
    • 182 *.vue files (21,288 LOC)
    • 142 *.py files (9,936 LOC)
    • 168 *.js files (7,742 LOC)
    • 4 *.css files (1,886 LOC)
    • 87 *.html files (1,515 LOC)
    • 3 *.scss files (309 LOC)
    • 1 *.cfg files (14 LOC)
  • " *.vue" is biggest, containing 49.87% of LOC.
  • " *.cfg" is smallest, containing 0.03% of LOC.


*.vue21288 LOC (49%) 182 files
*.py9936 LOC (23%) 142 files
*.js7742 LOC (18%) 168 files
*.css1886 LOC (4%) 4 files
*.html1515 LOC (3%) 87 files
*.scss309 LOC (<1%) 3 files
*.cfg14 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 ".*/test_.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*[.]spec[.]js".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
  • 22 files match defined criteria (3,144 LOC, 7.4% vs. main code):
    • 8 *.js files (1,785 LOC)
    • 13 *.py files (1,352 LOC)
    • 1 *.sh files (7 LOC)
  • " *.js" is biggest, containing 56.77% of LOC.
  • " *.sh" is smallest, containing 0.22% of LOC.


*.js1785 LOC (56%) 8 files
*.py1352 LOC (43%) 13 files
*.sh7 LOC (<1%) 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 ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 5 files match defined criteria (64 LOC, 0.1% vs. main code):
    • 1 *.bat files (28 LOC)
    • 3 *.sh files (26 LOC)
    • 1 *.js files (10 LOC)
  • " *.bat" is biggest, containing 43.75% of LOC.
  • " *.js" is smallest, containing 15.62% of LOC.


*.bat28 LOC (43%) 1 file
*.sh26 LOC (40%) 3 files
*.js10 LOC (15%) 1 file
Other Code
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
  • 16 files match defined criteria (807 LOC, 1.9% vs. main code):
    • 8 *.json files (589 LOC)
    • 4 *.md files (166 LOC)
    • 3 *.txt files (41 LOC)
    • 1 *.ini files (11 LOC)
  • " *.json" is biggest, containing 72.99% of LOC.
  • " *.ini" is smallest, containing 1.36% of LOC.


*.json589 LOC (72%) 8 files
*.md166 LOC (20%) 4 files
*.txt41 LOC (5%) 3 files
*.ini11 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:02