dartscan

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package dartscan implements heuristic analyzers for Dart source. There is no Go Dart parser available, so these rules operate purely on lines and a naive brace-depth count (+{ -}) to approximate method bodies. This is a heuristic: braces, `await`, and access/guard tokens appearing inside string literals or comments are not distinguished from real code and can cause false positives or false negatives. Files whose name does not end in `.dart` yield no findings. A method body whose braces never balance before end-of-file is treated as a parse failure and returned as an error (engine exit 2), never a silent pass.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL