File Coverage

blib/lib/DesktopWorkspace/Sample/Source/DefHash.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package DesktopWorkspace::Sample::Source::DefHash;
2              
3 2     2   312223 use 5.010001;
  2         6  
4 2     2   9 use strict;
  2         2  
  2         63  
5 2     2   9 use warnings;
  2         2  
  2         95  
6              
7 2     2   821 use Role::Tiny::With;
  2         9807  
  2         267  
8              
9             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
10             our $DATE = '2026-03-29'; # DATE
11             our $DIST = 'DesktopWorkspaceRoles-Standard'; # DIST
12             our $VERSION = '0.001'; # VERSION
13              
14             with 'DesktopWorkspaceRole::Source::DefHash';
15              
16             our $SPEC = {
17             summary => 'A sample DesktopWorkspace specified using a DefHash',
18             new_browser_window => 1,
19             kde_activity => 'test',
20             items => [
21             {url => 'https://www.example.com/'},
22             {file => '/foo'},
23             {dir => '/bar'},
24             {prog => 'dolphin'},
25             ],
26             };
27              
28             1;
29             # ABSTRACT: A sample DesktopWorkspace specified using a DefHash
30              
31             __END__