Skip to main content

Module heredoc_anti_patterns

Module heredoc_anti_patterns 

Source
Expand description

Anti-pattern detection for problematic Perl heredoc patterns (previously perl-heredoc-anti-patterns). Anti-pattern detection for heredoc edge cases.

This module provides detection and analysis of problematic Perl patterns that make static parsing difficult or impossible, particularly around heredocs.

The [AntiPatternDetector] scans Perl source for seven categories of heredoc-related anti-patterns and produces [Diagnostic]s describing each finding, with severity, explanation, suggested fix, and documentation references.

Structs§

AntiPatternDetector
Scans Perl source for heredoc-related anti-patterns and produces Diagnostics.
Diagnostic
A fully-formed diagnostic produced by the anti-pattern detector.
Location
Source location of a detected anti-pattern.

Enums§

AntiPattern
A specific category of heredoc-related anti-pattern found in Perl source.
Severity
Diagnostic severity level for a detected anti-pattern.