Lines Matching refs:id
281 my $id = shift;
289 err($id, "Trailing comma before - in NAME")
292 err($id, "POD markup among the names in NAME")
295 err($id, "Missing comma in NAME")
307 err($id, "The name '$n' contains white-space")
316 err($id, "The following exist as other .pod files:",
319 err($id, "$simplename (filename) missing from NAME section")
336 … err($id, "Can't parse rest of synopsis:\n$syn\n(declarations not ending with a semicolon (;)?)");
408 err($id, "$sym missing from NAME section")
413 err($id, "Prototype missing spaces around commas: $line")
419 err($id, "$n missing from SYNOPSIS")
425 my $id = shift;
432 err($id, "$section should appear before $before section")
441 my $id = shift;
449 err($id, "Duplicate section $line")
454 err($id, "Duplicate subsection $line")
458 err($id, "Period in =head")
460 err($id, "not all uppercase in =head1")
462 err($id, "All uppercase in subhead")
505 my $id = shift;
533 my $id = shift;
549 err($id, "Malformed option [1] in SYNOPSIS: $&");
556 print STDERR "$id:DEBUG[option_check] SYNOPSIS: found $found\n"
558 my $option_uw = normalise_option($id, $filename, $found);
559 err($id, "Malformed option [2] in SYNOPSIS: $found")
571 print STDERR "$id:DEBUG[option_check] OPTIONS: found $&\n"
573 err($id, "Unexpected bracket in OPTIONS =item: $item")
576 my $option_uw = normalise_option($id, $filename, $found);
577 err($id, "Malformed option in OPTIONS: $found")
581 err($id, "OPTIONS entry $found missing from SYNOPSIS")
583 || $id =~ /(openssl|-options)\.pod:1:$/;
589 err($id, "SYNOPSIS entry $option missing from OPTIONS")
601 my $id = shift;
606 print STDERR "$id:DEBUG[functionname_check] SYNOPSIS: found $&\n"
613 err($id, "Malformed symbol: $symbol")
676 my $id = shift;
683 err($id, "Found '$k' should use '$preferred_words{$k}'")
686 err($id, "Found 'epoch' should use 'Epoch'")
688 if ( $id =~ m@man1/@ ) {
689 err($id, "found 'tool' in NAME, should use 'command'")
691 err($id, "found 'utility' in NAME, should use 'command'")
708 my $id = "${filename}:1:";
709 check_head_style($id, $contents);
713 check_section_location($id, $contents, "RETURN VALUES", "EXAMPLES");
714 check_section_location($id, $contents, "SEE ALSO", "HISTORY");
715 check_section_location($id, $contents, "EXAMPLES", "SEE ALSO");
729 err($id, "Missing man section number (likely, $mansect) in L<$target>")
738 err($id, "Bad command link L<$target(1)>") if grep /man1/, @sections;
743 err($id, "Bad L<$target>")
749 name_synopsis($id, $filename, $contents);
750 functionname_check($id, $filename, $contents);
752 option_check($id, $filename, $contents)
756 wording($id, $contents);
758 err($id, "Doesn't start with =pod")
760 err($id, "Doesn't end with =cut")
762 err($id, "More than one cut line.")
764 err($id, "EXAMPLE not EXAMPLES section.")
766 err($id, "WARNING not WARNINGS section.")
768 err($id, "Missing copyright")
770 err($id, "Copyright not last")
772 err($id, "head2 in All uppercase")
774 err($id, "Extra space after head")
776 err($id, "Period in NAME section")
778 err($id, "Duplicate $1 in L<>")
780 err($id, "Bad =over $1")
782 err($id, "Possible version style issue")
792 err($id, "Has multiple includes")
803 err($id, "POD errors")
820 err($id, "Missing $_ head1 section")
973 my $id = "${filename}:1:";
977 err($id, "$simplename not in NAME section");
982 err($id, "'$name' contains whitespace")
991 err($id, "$name_sec duplicated in NAME section of",
994 err($id, "$name_sec also in NAME section of",