apache / airavata-custos
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
proto
ini
cfg
hcl
in
tpl
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.

main64463 LOC (75%) 313 files
test615 LOC (<1%) 7 files
generated8149 LOC (9%) 2 files
build and deployment1455 LOC (1%) 18 files
other10892 LOC (12%) 57 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
tpl
cfg
hcl
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 313 files match defined criteria (64,463 LOC, 100.0% vs. main code):
    • 97 *.py files (23,075 LOC)
    • 23 *.js files (18,457 LOC)
    • 133 *.java files (17,552 LOC)
    • 21 *.tsx files (2,097 LOC)
    • 11 *.proto files (1,485 LOC)
    • 14 *.tf files (1,332 LOC)
    • 4 *.xml files (207 LOC)
    • 1 *.tpl files (78 LOC)
    • 1 *.tfvars files (50 LOC)
    • 3 *.ts files (45 LOC)
    • 2 *.cfg files (30 LOC)
    • 1 *.hcl files (26 LOC)
    • 1 *.in files (16 LOC)
    • 1 *.html files (13 LOC)
  • " *.py" is biggest, containing 35.8% of LOC.
  • " *.html" is smallest, containing 0.02% of LOC.


*.py23075 LOC (35%) 97 files
*.js18457 LOC (28%) 23 files
*.java17552 LOC (27%) 133 files
*.tsx2097 LOC (3%) 21 files
*.proto1485 LOC (2%) 11 files
*.tf1332 LOC (2%) 14 files
*.xml207 LOC (<1%) 4 files
*.tpl78 LOC (<1%) 1 file
*.tfvars50 LOC (<1%) 1 file
*.ts45 LOC (<1%) 3 files
*.cfg30 LOC (<1%) 2 files
*.hcl26 LOC (<1%) 1 file
*.in16 LOC (<1%) 1 file
*.html13 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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 7 files match defined criteria (615 LOC, 1.0% vs. main code):
    • 3 *.java files (481 LOC)
    • 3 *.xml files (126 LOC)
    • 1 *.html files (8 LOC)
  • " *.java" is biggest, containing 78.21% of LOC.
  • " *.html" is smallest, containing 1.3% of LOC.


*.java481 LOC (78%) 3 files
*.xml126 LOC (20%) 3 files
*.html8 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".
  • 2 files match defined criteria (8,149 LOC, 12.6% vs. main code). All matches are in *.json files.


*.json8149 LOC (100%) 2 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[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 18 files match defined criteria (1,455 LOC, 2.3% vs. main code):
    • 16 *.xml files (1,428 LOC)
    • 2 *.sh files (27 LOC)
  • " *.xml" is biggest, containing 98.14% of LOC.
  • " *.sh" is smallest, containing 1.86% of LOC.


*.xml1428 LOC (98%) 16 files
*.sh27 LOC (1%) 2 files
Other Code
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
  • 57 files match defined criteria (10,892 LOC, 16.9% vs. main code):
    • 10 *.json files (8,930 LOC)
    • 23 *.py files (1,024 LOC)
    • 14 *.txt files (418 LOC)
    • 6 *.md files (410 LOC)
    • 2 *.svg files (68 LOC)
    • 2 *.ini files (42 LOC)
  • " *.json" is biggest, containing 81.99% of LOC.
  • " *.ini" is smallest, containing 0.39% of LOC.


*.json8930 LOC (81%) 10 files
*.py1024 LOC (9%) 23 files
*.txt418 LOC (3%) 14 files
*.md410 LOC (3%) 6 files
*.svg68 LOC (<1%) 2 files
*.ini42 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:50