File Coverage

lib/Web/Components.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Web::Components;
2              
3 1     1   711 use 5.010001;
  1         3  
4 1     1   8 use strictures;
  1         3  
  1         12  
5 1     1   217 use version; our $VERSION = qv( sprintf '0.10.%d', q$Rev: 1 $ =~ /\d+/gmx );
  1         3  
  1         6  
6              
7             1;
8              
9             __END__
10              
11             =pod
12              
13             =encoding utf-8
14              
15             =begin html
16              
17             <a href="https://travis-ci.org/pjfl/p5-web-components"><img src="https://travis-ci.org/pjfl/p5-web-components.svg?branch=master" alt="Travis CI Badge"></a>
18             <a href="https://roxsoft.co.uk/coverage/report/web-components/latest"><img src="https://roxsoft.co.uk/coverage/badge/web-components/latest" alt="Coverage Badge"></a>
19             <a href="http://badge.fury.io/pl/Web-Components"><img src="https://badge.fury.io/pl/Web-Components.svg" alt="CPAN Badge"></a>
20             <a href="http://cpants.cpanauthors.org/dist/Web-Components"><img src="http://cpants.cpanauthors.org/dist/Web-Components.png" alt="Kwalitee Badge"></a>
21              
22             =end html
23              
24             =head1 Name
25              
26             Web::Components - MVC pattern for Web::Simple
27              
28             =head1 Synopsis
29              
30             package Component::Server;
31              
32             use Class::Usul;
33             use Moo;
34              
35             has '_usul' => is => 'lazy', builder => sub {
36             Class::Usul->new( config => { appclass => __PACKAGE__ } ) },
37             handles => [ 'config', 'debug', 'l10n', 'lock', 'log' ];
38              
39             with 'Web::Components::Loader';
40              
41             =head1 Description
42              
43             MVC pattern for Web::Simple. See L<Web::Components::Loader>
44              
45             =head1 Configuration and Environment
46              
47             Defines no attributes
48              
49             =head1 Subroutines/Methods
50              
51             Defines no methods
52              
53             =head1 Diagnostics
54              
55             None
56              
57             =head1 Dependencies
58              
59             =over 3
60              
61             =item L<Exporter::Tiny>
62              
63             =item L<HTTP::Message>
64              
65             =item L<Module::Pluggable>
66              
67             =item L<Moo>
68              
69             =item L<Try::Tiny>
70              
71             =item L<Unexpected>
72              
73             =item L<Web::ComposableRequest>
74              
75             =item L<Web::Simple>
76              
77             =back
78              
79             =head1 Incompatibilities
80              
81             There are no known incompatibilities in this module
82              
83             =head1 Bugs and Limitations
84              
85             There are no known bugs in this module. Please report problems to
86             http://rt.cpan.org/NoAuth/Bugs.html?Dist=Web-Components.
87             Patches are welcome
88              
89             =head1 Acknowledgements
90              
91             Larry Wall - For the Perl programming language
92              
93             =head1 Author
94              
95             Peter Flanigan, C<< <pjfl@cpan.org> >>
96              
97             =head1 License and Copyright
98              
99             Copyright (c) 2017 Peter Flanigan. All rights reserved
100              
101             This program is free software; you can redistribute it and/or modify it
102             under the same terms as Perl itself. See L<perlartistic>
103              
104             This program is distributed in the hope that it will be useful,
105             but WITHOUT WARRANTY; without even the implied warranty of
106             MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
107              
108             =cut
109              
110             # Local Variables:
111             # mode: perl
112             # tab-width: 3
113             # End:
114             # vim: expandtab shiftwidth=3: