Lintian::Tag::Info (3) - Linux Man Pages

Lintian::Tag::Info: Lintian interface to tag metadata

NAME

Lintian::Tag::Info - Lintian interface to tag metadata

SYNOPSIS

    my $taginfo = Lintian::Tag::Info->new;

DESCRIPTION

This module provides an interface to tag metadata as gleaned from the *.desc files describing the checks. It can be used to retrieve specific metadata elements or to format the tag description.

INSTANCE METHODS

tag
original_severity
effective_severity
check
check_type
experimental
info
references
aliases
load(PATH)
Loads a tag description from PATH.
code()
Returns the one-letter code for the tag. This will be a letter chosen from "E", "W", "I", or "P", based on the tag severity, and other attributes (such as whether experimental is set). This code will never be "O" or "X"; overrides and experimental tags are handled separately.
description([FORMAT [, INDENT]])
Returns the formatted description (the Info field) for a tag. FORMAT must be either "text" or "html" and defaults to "text" if no format is specified. If "text", returns wrapped paragraphs formatted in plain text with a right margin matching the Text::Wrap default, preserving as verbatim paragraphs that begin with whitespace. If "html", return paragraphs formatted in HTML.

If INDENT is specified, the string INDENT is prepended to each line of the formatted output.

AUTHOR

Originally written by Russ Allbery <rra [at] debian.org> for Lintian.

SEE ALSO

lintian(1)