JetBrains / tinygo-plugin
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
properties
txt
flex
editorconfig
gitmodules
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.

main6166 LOC (13%) 90 files
test33653 LOC (73%) 292 files
generated5366 LOC (11%) 50 files
build and deployment70 LOC (<1%) 1 file
other366 LOC (<1%) 11 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
flex
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 90 files match defined criteria (6,166 LOC, 100.0% vs. main code):
    • 70 *.kt files (4,499 LOC)
    • 8 *.yaml files (1,018 LOC)
    • 3 *.xml files (166 LOC)
    • 1 *.js files (120 LOC)
    • 1 *.kts files (110 LOC)
    • 1 *.flex files (104 LOC)
    • 5 *.html files (79 LOC)
    • 1 *.css files (70 LOC)
  • " *.kt" is biggest, containing 72.96% of LOC.
  • " *.css" is smallest, containing 1.14% of LOC.


*.kt4499 LOC (72%) 70 files
*.yaml1018 LOC (16%) 8 files
*.xml166 LOC (2%) 3 files
*.js120 LOC (1%) 1 file
*.kts110 LOC (1%) 1 file
*.flex104 LOC (1%) 1 file
*.html79 LOC (1%) 5 files
*.css70 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 ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/testing[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*_test[.].*".
  • 292 files match defined criteria (33,653 LOC, 545.8% vs. main code):
    • 283 *.go files (33,328 LOC)
    • 9 *.kt files (325 LOC)
  • " *.go" is biggest, containing 99.03% of LOC.
  • " *.kt" is smallest, containing 0.97% of LOC.


*.go33328 LOC (99%) 283 files
*.kt325 LOC (<1%) 9 files
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 ".*[.]java" AND any line of content like ".*The following code was generated by JFlex.*".
    • files with paths like ".*[.]java" AND any line of content like ".*[/][/] This is a generated file[.] Not intended for manual editing[.].*".
    • files with any line of content like "//[ ]*Generated by .*".
  • 50 files match defined criteria (5,366 LOC, 87.0% vs. main code):
    • 46 *.java files (3,122 LOC)
    • 4 *.go files (2,244 LOC)
  • " *.java" is biggest, containing 58.18% of LOC.
  • " *.go" is smallest, containing 41.82% of LOC.


*.java3122 LOC (58%) 46 files
*.go2244 LOC (41%) 4 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 ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (70 LOC, 1.1% vs. main code). All matches are in *.bat files.


*.bat70 LOC (100%) 1 file
Other Code
properties
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 ".*[.]editorconfig".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 11 files match defined criteria (366 LOC, 5.9% vs. main code):
    • 2 *.md files (208 LOC)
    • 2 *.properties files (95 LOC)
    • 3 *.svg files (32 LOC)
    • 4 *.json files (31 LOC)
  • " *.md" is biggest, containing 56.83% of LOC.
  • " *.json" is smallest, containing 8.47% of LOC.


*.md208 LOC (56%) 2 files
*.properties95 LOC (25%) 2 files
*.svg32 LOC (8%) 3 files
*.json31 LOC (8%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:18