lib/TUI/Objects/SortedCollection.pm

filter: Statementstmt 96.0% 24 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 100% 2 / 2 totaltotal 94.2% 33 / 35 CC 1 SCAR 1.2
CC
1
Cov
96%
compare
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« lib/TUI/TextView.pm ↑ Summary lib/TUI/Drivers/Const.pm »
1 package TUI::Objects::SortedCollection;
2 # ABSTRACT: sorted collection base class
3
4 28 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 28 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 28 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7
8 28 our $VERSION = '2.000002';
9 28 $VERSION =~ tr/_//d;
10 28 our $AUTHORITY = 'cpan:BRICKPOOL';
11
12 28 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
13 28 our @EXPORT = qw(
14 TSortedCollection
15 new_TSortedCollection
16 );
17
18 28 ▶use TUI::Objects::NSSortedCollection;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 28 ▶use TUI::toolkit;
Subroutine BEGIN: called CC=1 SCAR=0.0
20
21 sub TSortedCollection() { __PACKAGE__ }
22 sub name() { 'TSortedCollection' };
23 1 ▶sub new_TSortedCollection { __PACKAGE__->from(@_) }
Subroutine new_TSortedCollection: called CC=1 SCAR=0.0
Pod documented
24
25 28 extends TNSSortedCollection;
26
27 0 ▶sub compare { # $cmp ($key1, $key2)
Subroutine compare: not called CC=1 SCAR=6.9
Pod documented
28 0 return 0;
29 }
30
31 28 1
32
33 __END__
« lib/TUI/TextView.pm ↑ Summary lib/TUI/Drivers/Const.pm »