aws / language-servers
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
patch
prettierignore
npmignore
eslintignore
vsixmanifest
gitattributes
txt
vscodeignore
csproj
properties
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.

main45212 LOC (55%) 308 files
test24732 LOC (30%) 125 files
generated0 LOC (0%) 0 files
build and deployment736 LOC (<1%) 14 files
other10371 LOC (12%) 109 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
vsixmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 308 files match defined criteria (45,212 LOC, 100.0% vs. main code):
    • 275 *.ts files (35,951 LOC)
    • 4 *.g4 files (6,584 LOC)
    • 2 *.css files (1,594 LOC)
    • 6 *.js files (496 LOC)
    • 12 *.cs files (455 LOC)
    • 3 *.kt files (46 LOC)
    • 2 *.kts files (46 LOC)
    • 1 *.vsixmanifest files (24 LOC)
    • 1 *.html files (9 LOC)
    • 1 *.xml files (5 LOC)
    • 1 *.tsx files (2 LOC)
  • " *.ts" is biggest, containing 79.52% of LOC.
  • " *.tsx" is smallest, containing 0% of LOC.


*.ts35951 LOC (79%) 275 files
*.g46584 LOC (14%) 4 files
*.css1594 LOC (3%) 2 files
*.js496 LOC (1%) 6 files
*.cs455 LOC (1%) 12 files
*.kt46 LOC (<1%) 3 files
*.kts46 LOC (<1%) 2 files
*.vsixmanifest24 LOC (<1%) 1 file
*.html9 LOC (<1%) 1 file
*.xml5 LOC (<1%) 1 file
*.tsx2 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 ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[-]runner[.].*".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
  • 125 files match defined criteria (24,732 LOC, 54.7% vs. main code):
    • 118 *.ts files (24,639 LOC)
    • 7 *.js files (93 LOC)
  • " *.ts" is biggest, containing 99.62% of LOC.
  • " *.js" is smallest, containing 0.38% of LOC.


*.ts24639 LOC (99%) 118 files
*.js93 LOC (<1%) 7 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]dockerfile".
  • 14 files match defined criteria (736 LOC, 1.6% vs. main code):
    • 10 *.js files (543 LOC)
    • 1 *.csproj files (92 LOC)
    • 1 *.bat files (68 LOC)
    • 1 *.dockerfile files (18 LOC)
    • 1 *.sh files (15 LOC)
  • " *.js" is biggest, containing 73.78% of LOC.
  • " *.sh" is smallest, containing 2.04% of LOC.


*.js543 LOC (73%) 10 files
*.csproj92 LOC (12%) 1 file
*.bat68 LOC (9%) 1 file
*.dockerfile18 LOC (2%) 1 file
*.sh15 LOC (2%) 1 file
Other Code
patch
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 ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/[.]vscodeignore".
  • 109 files match defined criteria (10,371 LOC, 22.9% vs. main code):
    • 63 *.json files (8,611 LOC)
    • 35 *.md files (1,474 LOC)
    • 9 *.patch files (271 LOC)
    • 2 *.svg files (15 LOC)
  • " *.json" is biggest, containing 83.03% of LOC.
  • " *.svg" is smallest, containing 0.14% of LOC.


*.json8611 LOC (83%) 63 files
*.md1474 LOC (14%) 35 files
*.patch271 LOC (2%) 9 files
*.svg15 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:56