DB/Library/Trash.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DB/Library.pm ↑ Summary DB/Library/Unfiled.pm »
1 package Biblio::Zotero::DB::Library::Trash;
2 12 $Biblio::Zotero::DB::Library::Trash::VERSION = '0.004';
3 12 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 12 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 12 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 12 has _db => ( is => 'ro', weak_ref => 1 );
8  
9 2 ▶has name => ( is => 'ro', default => sub { 'Trash' } );
Subroutine __ANON__: called CC=1 SCAR=0.0
10  
11 1 ▶sub items {
Subroutine items: called CC=1 SCAR=0.0
Pod documented
12 1 my $self = shift;
13 1 my $schema = $self->_db->schema;
14 1 $schema->resultset('Item')->_trash_items;
15 }
16  
17 12 1;
18  
19 __END__
« DB/Library.pm ↑ Summary DB/Library/Unfiled.pm »