apache / daffodil-vscode
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
svelte
xsd
txt
properties
prettierignore
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.

main22494 LOC (86%) 98 files
test1247 LOC (4%) 19 files
generated0 LOC (0%) 0 files
build and deployment292 LOC (1%) 3 files
other1894 LOC (7%) 13 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
svelte
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 98 files match defined criteria (22,494 LOC, 100.0% vs. main code):
    • 56 *.ts files (14,661 LOC)
    • 26 *.svelte files (4,642 LOC)
    • 8 *.scala files (1,967 LOC)
    • 2 *.css files (668 LOC)
    • 1 *.js files (306 LOC)
    • 2 *.sbt files (133 LOC)
    • 1 *.xsd files (87 LOC)
    • 1 *.xml files (19 LOC)
    • 1 *.py files (11 LOC)
  • " *.ts" is biggest, containing 65.18% of LOC.
  • " *.py" is smallest, containing 0.05% of LOC.


*.ts14661 LOC (65%) 56 files
*.svelte4642 LOC (20%) 26 files
*.scala1967 LOC (8%) 8 files
*.css668 LOC (2%) 2 files
*.js306 LOC (1%) 1 file
*.sbt133 LOC (<1%) 2 files
*.xsd87 LOC (<1%) 1 file
*.xml19 LOC (<1%) 1 file
*.py11 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 19 files match defined criteria (1,247 LOC, 5.5% vs. main code):
    • 10 *.ts files (852 LOC)
    • 2 *.scala files (289 LOC)
    • 4 *.xsd files (103 LOC)
    • 3 *.xml files (3 LOC)
  • " *.ts" is biggest, containing 68.32% of LOC.
  • " *.xml" is smallest, containing 0.24% of LOC.


*.ts852 LOC (68%) 10 files
*.scala289 LOC (23%) 2 files
*.xsd103 LOC (8%) 4 files
*.xml3 LOC (<1%) 3 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
  • 3 files match defined criteria (292 LOC, 1.3% vs. main code). All matches are in *.js files.


*.js292 LOC (100%) 3 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Dd]emos?/.*".
  • 13 files match defined criteria (1,894 LOC, 8.4% vs. main code):
    • 7 *.json files (1,294 LOC)
    • 2 *.html files (456 LOC)
    • 1 *.md files (84 LOC)
    • 1 *.svg files (44 LOC)
    • 1 *.properties files (15 LOC)
    • 1 *.txt files (1 LOC)
  • " *.json" is biggest, containing 68.32% of LOC.
  • " *.txt" is smallest, containing 0.05% of LOC.


*.json1294 LOC (68%) 7 files
*.html456 LOC (24%) 2 files
*.md84 LOC (4%) 1 file
*.svg44 LOC (2%) 1 file
*.properties15 LOC (<1%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:14