Lite/Generic.pm

filter: Statementstmt 86.6% 13 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 80.9% 17 / 21 CC 1 SCAR 1.8
CC
1
Cov
87%
clear
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Lite.pm ↑ Summary Lite/Win32.pm »
1 package Term::Screen::Lite::Generic;
2  
3 1 $Term::Screen::Lite::Generic::VERSION = '0.04';
4  
5 =head1 NAME
6  
7 Term::Screen::Lite::Generic - Unix/Linux platform interface to terminal screen.
8  
9 =head1 VERSION
10  
11 Version 0.04
12  
13 =cut
14  
15 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 =head1 DESCRIPTION
22  
23 B<FOR INTERNAL USE ONLY>
24  
25 =cut
26  
27 sub clear {
28 0 ▶ print "\033[2J";
Subroutine clear: not called CC=1 SCAR=6.9
Pod undocumented
29 0 print "\033[0;0H";
30 }
31  
32 =head1 AUTHOR
33  
34 Mohammad S Anwar, C<< <mohammad.anwar at yahoo.com> >>
35  
36 =head1 REPOSITORY
37  
38 L<https://github.com/Manwar/Term-Screen-Lite>
39  
40 =head1 BUGS
41  
42 Please report any bugs or feature requests to C<bug-term-screen-lite at rt.cpan.org>,
43 or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Term-Screen-Lite>.
44 I will be notified and then you'll automatically be notified of progress on your
45 bug as I make changes.
46  
47 =head1 SUPPORT
48  
49 You can find documentation for this module with the perldoc command.
50  
51 perldoc Term::Screen::Lite::Generic
52  
53 You can also look for information at:
54  
55 =over 4
56  
57 =item * RT: CPAN's request tracker (report bugs here)
58  
59 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Term-Screen-Lite>
60  
61 =item * AnnoCPAN: Annotated CPAN documentation
62  
63 L<http://annocpan.org/dist/Term-Screen-Lite>
64  
65 =item * CPAN Ratings
66  
67 L<http://cpanratings.perl.org/d/Term-Screen-Lite>
68  
69 =item * Search CPAN
70  
71 L<http://search.cpan.org/dist/Term-Screen-Lite/>
72  
73 =back
74  
75 =head1 LICENSE AND COPYRIGHT
76  
77 Copyright (C) 2015 - 2017 Mohammad S Anwar.
78  
79 This program is free software; you can redistribute it and / or modify it under
80 the terms of the the Artistic License (2.0). You may obtain a copy of the full
81 license at:
82  
83 L<http://www.perlfoundation.org/artistic_license_2_0>
84  
85 Any use, modification, and distribution of the Standard or Modified Versions is
86 governed by this Artistic License.By using, modifying or distributing the Package,
87 you accept this license. Do not use, modify, or distribute the Package, if you do
88 not accept this license.
89  
90 If your Modified Version has been derived from a Modified Version made by someone
91 other than you,you are nevertheless required to ensure that your Modified Version
92 complies with the requirements of this license.
93  
94 This license does not grant you the right to use any trademark, service mark,
95 tradename, or logo of the Copyright Holder.
96  
97 This license includes the non-exclusive, worldwide, free-of-charge patent license
98 to make, have made, use, offer to sell, sell, import and otherwise transfer the
99 Package with respect to any patent claims licensable by the Copyright Holder that
100 are necessarily infringed by the Package. If you institute patent litigation
101 (including a cross-claim or counterclaim) against any party alleging that the
102 Package constitutes direct or contributory patent infringement,then this Artistic
103 License to you shall terminate on the date that such litigation is filed.
104  
105 Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND
106 CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
107 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
108 NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS
109 REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT,
110 INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE
111 OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
112  
113 =cut
114  
115 1 1; # End of Term::Screen::Lite::Generic
« Lite.pm ↑ Summary Lite/Win32.pm »