lib/TUI/StdDlg/DirCollection.pm

filter: Statementstmt 86.1% 31 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 70.5% 12 / 17 Podpod 100% 10 / 10 totaltotal 84.1% 53 / 63 CC 1 SCAR 2.6
CC
1
Cov
86%
new_TDirCollection
2.0
free
2.0
atPut
2.0
CRAP 1.3
« lib/TUI/Drivers/SystemError.pm ↑ Summary lib/TUI/Validate/Validator.pm »
1 package TUI::StdDlg::DirCollection;
2 # ABSTRACT: A collection of directory entries
3
4 6 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7
8 6 our $VERSION = '2.000002';
9 6 $VERSION =~ tr/_//d;
10 6 our $AUTHORITY = 'cpan:BRICKPOOL';
11
12 6 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
13 6 our @EXPORT = qw(
14 TDirCollection
15 new_TDirCollection
16 );
17
18 6 ▶use TUI::toolkit;
Subroutine BEGIN: called CC=1 SCAR=0.0
19
20 6 ▶use TUI::Objects::NSCollection;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 6 ▶use TUI::Objects::Collection;
Subroutine BEGIN: called CC=1 SCAR=0.0
22
23 sub TDirCollection() { __PACKAGE__ }
24 sub name() { 'TDirCollection' };
25 0 ▶sub new_TDirCollection { __PACKAGE__->from(@_) }
Subroutine new_TDirCollection: not called CC=1 SCAR=6.9
Pod documented
26
27 6 extends TCollection;
28
29 2 ▶sub at { # $dirEntry|undef ($index)
Subroutine at: called CC=1 SCAR=0.0
Pod documented
30 2 goto &TUI::Objects::NSCollection::at;
31 }
32
33 3 ▶sub indexOf { # $index ($item|undef)
Subroutine indexOf: called CC=1 SCAR=0.0
Pod documented
34 3 goto &TUI::Objects::NSCollection::indexOf;
35 }
36
37 1 ▶sub remove { # void ($item)
Subroutine remove: called CC=1 SCAR=0.0
Pod documented
38 1 goto &TUI::Objects::NSCollection::remove;
39 }
40
41 0 ▶sub free { # void ($item)
Subroutine free: not called CC=1 SCAR=6.9
Pod documented
42 0 goto &TUI::Objects::NSCollection::free;
43 }
44
45 2 ▶sub atInsert { # void ($index, $item|undef)
Subroutine atInsert: called CC=1 SCAR=0.0
Pod documented
46 2 goto &TUI::Objects::NSCollection::atInsert;
47 }
48
49 0 ▶sub atPut { # void ($index, $item|undef)
Subroutine atPut: not called CC=1 SCAR=6.9
Pod documented
50 0 goto &TUI::Objects::NSCollection::atInsert;
51 }
52
53 2 ▶sub insert { # $index ($item|undef)
Subroutine insert: called CC=1 SCAR=0.0
Pod documented
54 2 goto &TUI::Objects::NSCollection::insert;
55 }
56
57 0 ▶sub firstThat { # $dirEntry|undef (\&Test, $arg|undef)
Subroutine firstThat: not called CC=1 SCAR=6.9
Pod documented
58 0 goto &TUI::Objects::NSCollection::firstThat;
59 }
60
61 0 ▶sub lastThat { # $dirEntry|undef (\&Test, $arg|undef)
Subroutine lastThat: not called CC=1 SCAR=6.9
Pod documented
62 0 goto &TUI::Objects::NSCollection::lastThat;
63 }
64
65 6 1
66
67 __END__
« lib/TUI/Drivers/SystemError.pm ↑ Summary lib/TUI/Validate/Validator.pm »