Skip to main content
JSSG codemod queries use JSSG for static analysis and custom metrics. Use them when you need programmatic logic, package-backed metrics, semantic analysis, or dimensions beyond a simple syntax match. The JSSG source can come from:
  • Inline source - write JSSG code directly in the editor.
  • A codemod package - select an existing JSSG codemod package from Codemod Registry.
  • A template variable - reuse a JSSG source defined at the dashboard level.
When a JSSG metric includes cardinality keys, table widgets can use those keys to break down results by the dimension that matters to the migration, such as component name, API name, package, or risk category.