Comskil/JServer.pm

filter: Statementstmt 52.0% 26 / 50 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.1% 8 / 19 Podpod 100% 11 / 11 totaltotal 56.2% 45 / 80 CC 1 SCAR 4.6
CC
1
Cov
52%
new
2.0
getJProject
2.0
getJIssue
2.0
CRAP 1.6
« Comskil.pm ↑ Summary Comskil/JQueue.pm »
1 #TODO Header documentation
2 #TODO Make some methods
3
4
5
6
7 package Comskil::JServer;
8
9 =head1 NAME
10
11 Comskil::JWand - The great new Comskil::JWand!
12
13 =head1 VERSION
14
15 Version 0.1
16
17 =cut
18
19 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
21
22 =head1 SYNOPSIS
23
24 Quick summary of what the module does.
25
26 Perhaps a little code snippet.
27
28 use Comskil::JWand;
29
30 my $foo = Comskil::JWand->new();
31 ...
32 =cut
33
34 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
35 1 ▶ use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
36
37 1 our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
38
39 1 $VERSION = '0.10';
40 1 @ISA = qw( Exporter );
41 1 @EXPORT = qw( );
42 1 @EXPORT_OK = qw( );
43 1 %EXPORT_TAGS = ( ALL => [ qw( ) ] );
44 }
45
46 1 ▶END { }
Subroutine END: called CC=1 SCAR=0.0
47
48 =head1 EXPORT
49 A list of functions that can be exported. You can delete this section
50 if you don't export anything, such as for a purely object-oriented module.
51
52 =over 8
53
54 =item sub new()
55
56 =item sub getJProject()
57
58 =item sub getJIssue()
59
60 =item sub getJIssueFromKey()
61
62 =item findJIssueFromJQL()
63
64 =item getAttachmentList()
65
66 =back
67
68 =head1 SUBROUTINES/METHODS
69
70 =cut
71
72
73
74
75 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
76 0 my ($class,@args) = @_;
77 0 my $self = ( );
78 0 bless($self,$class);
79
80 0 return($self);
81 }
82
83 0 ▶sub getJProject {
Subroutine getJProject: not called CC=1 SCAR=6.9
Pod documented
84 0 my ($self,@args) = @_;
85 0 return($self);
86 }
87
88 0 ▶sub getJIssue {
Subroutine getJIssue: not called CC=1 SCAR=6.9
Pod documented
89 0 my ($self,@args) = @_;
90 0 return($self);
91 }
92
93 0 ▶sub getJIssueFromKey {
Subroutine getJIssueFromKey: not called CC=1 SCAR=6.9
Pod documented
94 0 my ($self,@args) = @_;
95 0 return($self);
96 }
97
98 0 ▶sub findJIssueFromJQL {
Subroutine findJIssueFromJQL: not called CC=1 SCAR=6.9
Pod documented
99 0 my ($self,@args) = @_;
100 0 return($self);
101 }
102
103 0 ▶sub getAttachmentList {
Subroutine getAttachmentList: not called CC=1 SCAR=6.9
Pod documented
104 0 my ($self,@args) = @_;
105 0 return($self);
106 }
107
108 =head2 grabAttachmentFile()
109 =cut
110
111 0 ▶sub grabAttachmentFile {
Subroutine grabAttachmentFile: not called CC=1 SCAR=6.9
Pod documented
112 0 my ($self,@args) = @_;
113 0 return($self);
114 }
115
116 =head2 mirrorAttachmentFile()
117 =cut
118
119 0 ▶sub mirrorAttachmentFile {
Subroutine mirrorAttachmentFile: not called CC=1 SCAR=6.9
Pod documented
120 0 my ($self,@args) = @_;
121 0 return($self);
122 }
123
124 =head2 setField()
125 =cut
126
127 0 ▶sub setField {
Subroutine setField: not called CC=1 SCAR=6.9
Pod documented
128 0 my ($self,@args) = @_;
129 0 return($self);
130 }
131
132 =head2 setProject()
133 =cut
134
135 0 ▶sub setProject {
Subroutine setProject: not called CC=1 SCAR=6.9
Pod documented
136 0 my ($self,@args) = @_;
137 0 return($self);
138 }
139
140 =head2 addJQueue()
141 =cut
142
143 0 ▶sub addJQueue {
Subroutine addJQueue: not called CC=1 SCAR=6.9
Pod documented
144 0 my ($self,@args) = @_;
145 0 return($self);
146 }
147
148
149
150 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
151 1 ▶ use Exporter ();
Subroutine BEGIN: called CC=1 SCAR=0.0
152 1 our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
153
154 1 $VERSION = '0.10';
155 1 @ISA = qw(Exporter);
156 1 @EXPORT = qw(
157 findJIssueFromJQL
158 getJIssue
159 getJIssueFromKey
160 getJIssueAttachments
161 setJIssueField
162 getJProject
163 setProject
164 addJQueue
165 );
166 1 %EXPORT_TAGS = ( ); ## e.g. TAG => [ qw!name1 name2! ],
167 1 @EXPORT_OK = ( ); ## qw($Var1 %Hashit &func3);
168 }
169
170 1 our @EXPORT_OK;
171
172 1 ▶END { }
Subroutine END: called CC=1 SCAR=0.0
173
174
175 1 1;
176 __END__
« Comskil.pm ↑ Summary Comskil/JQueue.pm »