ShellCommand.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 44 CC 1 SCAR 6.9
CC
1
Cov
0%
plugin_name
2.0
padre_interfaces
2.0
menu_plugins_simple
2.0
CRAP 2.0
1 package Padre::Plugin::ShellCommand;
2 use base 'Padre::Plugin';
3  
4 use 5.008;
5 use strict;
6 use warnings;
7 use Padre::Plugin ();
8 use Padre::Wx ();
9 use Padre::Plugin::Shell::Command;
10  
11 our $VERSION = '0.27';
12  
13 my $command_plugin;
14  
15 #####################################################################
16 # Padre::Plugin Methods
17  
18 sub plugin_name {
19 'ShellCommand';
20 }
21  
22 sub padre_interfaces {
23 'Padre::Plugin' => 0.43;
24 }
25  
26 sub menu_plugins_simple {
27 my ($self) = @_;
28 $command_plugin = Padre::Plugin::Shell::Command->new();
29 my @command_menu = $command_plugin->plugin_menu();
30 'ShellCommand' => [@command_menu];
31 }
32  
33 1;
34  
35 __END__