https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8414
--- Comment #6 from Bill Cole <[email protected]> --- The following will silence the Goatse warning: --- lib/Mail/SpamAssassin/Handler/Image.pm (revision 1938375) +++ lib/Mail/SpamAssassin/Handler/Image.pm (working copy) @@ -355,7 +355,9 @@ $node->set_rendered($text, $node->effective_type); # Accumulate per-message OCR image and word counts (used by # check_image_text_ratio to spot a mostly-text "image"). + ## no critic my $word_count = () = $text =~ /\S+/g; + ## use critic $pms->{plugins}{Image}{ocr_image_count}++; $pms->{plugins}{Image}{ocr_word_count} += $word_count; # Stash the text for imagetext rules (see _run_imagetext_rules); one entry per -- You are receiving this mail because: You are the assignee for the bug.
