Protocol/Connection.pm

filter: Statementstmt 73.3% 11 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.8% 3 / 7 Podpod 100% 4 / 4 totaltotal 69.2% 18 / 26 CC 1 SCAR 4.5
CC
1
Cov
73%
give
2.0
get
2.0
fh
2.0
CRAP 1.6
« Protocol/Ext/XFree86_Misc.pm ↑ Summary Protocol/Connection/UNIXSocket.pm »
1 #!/usr/bin/perl
2  
3 package X11::Protocol::Connection;
4  
5 # Copyright (C) 1997 Stephen McCamant. All rights reserved. This program
6 # is free software; you can redistribute and/or modify it under the same
7 # terms as Perl itself.
8  
9 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use vars '$VERSION';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 $VERSION = 0.01;
14  
15 0 ▶sub give {
Subroutine give: not called CC=1 SCAR=6.9
Pod documented
16 0 croak "X11 connection object doesn't support output";
17 }
18  
19 0 ▶sub get {
Subroutine get: not called CC=1 SCAR=6.9
Pod documented
20 0 croak "X11 connection object doesn't support input";
21 }
22  
23 0 ▶sub fh {
Subroutine fh: not called CC=1 SCAR=6.9
Pod documented
24 0 croak "X11 connection object is incompatible with perl filehandles";
25 }
26  
27 0 ▶sub open {
Subroutine open: not called CC=1 SCAR=6.9
Pod documented
28 0 croak "X11 connection object can't open itself";
29 }
30  
31 1 1;
32 __END__
« Protocol/Ext/XFree86_Misc.pm ↑ Summary Protocol/Connection/UNIXSocket.pm »