1Pod::Coverage::Moose(3pUms)er Contributed Perl DocumentatPioodn::Coverage::Moose(3pm)
2
3
4

NAME

6       Pod::Coverage::Moose - Pod::Coverage extension for Moose
7

VERSION

9       version 0.07
10

SYNOPSIS

12         use Pod::Coverage::Moose;
13
14         my $pcm = Pod::Coverage::Moose->new(package => 'MoosePackage');
15         print 'Coverage: ', $pcm->coverage, "\n";
16

DESCRIPTION

18       When using Pod::Coverage in combination with Moose, it will report any
19       method imported from a Role. This is especially bad when used in
20       combination with Test::Pod::Coverage, since it takes away its ease of
21       use.
22
23       To use this module in combination with Test::Pod::Coverage, use
24       something like this:
25
26         use Test::Pod::Coverage;
27         all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::Moose'});
28

ATTRIBUTES

30   package
31       This is the package used for inspection.
32
33   cover_requires
34       Boolean flag to indicate that "requires $method" declarations in a Role
35       should be trusted.
36

METHODS

38   meta
39       Moose meta object.
40
41   BUILD
42       Initialises the internal Pod::Coverage object. It uses the meta object
43       to find all methods and attribute methods imported via roles.
44

DELEGATED METHODS

46       Delegated to the traditional Pod::Coverage object are:
47
48   coverage
49   covered
50   naked
51   uncovered
52   why_unrated

EXTENDED METHODS

54   new
55       The constructor will only return a "Pod::Coverage::Moose" object if it
56       is invoked on a class that "can" a "meta" method. Otherwise, a
57       traditional Pod::Coverage object will be returned. This is done so you
58       don't get in trouble for mixing Moose with non Moose classes in your
59       project.
60

SEE ALSO

62       •   Moose
63
64       •   Pod::Coverage,
65
66       •   Test::Pod::Coverage
67

SUPPORT

69       Bugs may be submitted through the RT bug tracker
70       <https://rt.cpan.org/Public/Dist/Display.html?Name=Pod-Coverage-Moose>
71       (or bug-Pod-Coverage-Moose@rt.cpan.org <mailto:bug-Pod-Coverage-
72       Moose@rt.cpan.org>).
73
74       There is also a mailing list available for users of this distribution,
75       at http://lists.perl.org/list/moose.html.
76
77       There is also an irc channel available for users of this distribution,
78       at irc://irc.perl.org/#moose.
79

AUTHOR

81       Robert 'phaylon' Sedlacek <rs@474.at>
82

CONTRIBUTORS

84       •   Karen Etheridge <ether@cpan.org>
85
86       •   Vyacheslav Matyukhin <me@berekuk.ru>
87
88       •   Dave Rolsky <autarch@urth.org>
89
91       This software is copyright (c) 2007 by Robert 'phaylon' Sedlacek.
92
93       This is free software; you can redistribute it and/or modify it under
94       the same terms as the Perl 5 programming language system itself.
95
96
97
98perl v5.36.0                      2023-01-20         Pod::Coverage::Moose(3pm)
Impressum