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.

main26852 LOC (83%) 134 files
test1594 LOC (4%) 24 files
generated0 LOC (0%) 0 files
build and deployment328 LOC (1%) 3 files
other3326 LOC (10%) 17 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 ".*".
  • 134 files match defined criteria (26,852 LOC, 100.0% vs. main code):
    • 85 *.ts files (17,510 LOC)
    • 29 *.svelte files (5,493 LOC)
    • 10 *.scala files (2,196 LOC)
    • 2 *.css files (686 LOC)
    • 2 *.js files (608 LOC)
    • 2 *.xsd files (174 LOC)
    • 2 *.sbt files (155 LOC)
    • 1 *.xml files (19 LOC)
    • 1 *.py files (11 LOC)
  • " *.ts" is biggest, containing 65.21% of LOC.
  • " *.py" is smallest, containing 0.04% of LOC.


*.ts17510 LOC (65%) 85 files
*.svelte5493 LOC (20%) 29 files
*.scala2196 LOC (8%) 10 files
*.css686 LOC (2%) 2 files
*.js608 LOC (2%) 2 files
*.xsd174 LOC (<1%) 2 files
*.sbt155 LOC (<1%) 2 files
*.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]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 24 files match defined criteria (1,594 LOC, 5.9% vs. main code):
    • 13 *.ts files (1,101 LOC)
    • 2 *.scala files (292 LOC)
    • 6 *.xsd files (198 LOC)
    • 3 *.xml files (3 LOC)
  • " *.ts" is biggest, containing 69.07% of LOC.
  • " *.xml" is smallest, containing 0.19% of LOC.


*.ts1101 LOC (69%) 13 files
*.scala292 LOC (18%) 2 files
*.xsd198 LOC (12%) 6 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (328 LOC, 1.2% vs. main code). All matches are in *.js files.


*.js328 LOC (100%) 3 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]svg".
  • 17 files match defined criteria (3,326 LOC, 12.4% vs. main code):
    • 8 *.json files (2,110 LOC)
    • 4 *.md files (702 LOC)
    • 2 *.html files (454 LOC)
    • 1 *.svg files (44 LOC)
    • 1 *.properties files (15 LOC)
    • 1 *.txt files (1 LOC)
  • " *.json" is biggest, containing 63.44% of LOC.
  • " *.txt" is smallest, containing 0.03% of LOC.


*.json2110 LOC (63%) 8 files
*.md702 LOC (21%) 4 files
*.html454 LOC (13%) 2 files
*.svg44 LOC (1%) 1 file
*.properties15 LOC (<1%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:26