File Coverage

lib/Kephra/Plugin/Demo.pm
Criterion Covered Total %
statement 6 9 66.6
branch n/a
condition n/a
subroutine 2 5 40.0
pod 0 3 0.0
total 8 17 47.0


line stmt bran cond sub pod time code
1             package Kephra::Plugin::Demo;
2 1     1   1145 use strict;
  1         3  
  1         33  
3 1     1   6 use warnings;
  1         2  
  1         113  
4            
5             our $VERSION = '0.01';
6            
7             #################################################
8             # Demoplugin as an tutorial for plugin authors
9             #################################################
10            
11             our $commands = {
12             'open' => {
13             call => 'show_dialog()',
14             label => 'Demo Plugin',
15             key => 'alt+shift+D',
16             icon => '',
17             menu => 'OWN',
18             }
19             };
20            
21 0     0 0   sub init {
22             }
23            
24 0     0 0   sub start {
25             }
26            
27 0     0 0   sub show_dialog {
28             }
29            
30             1;