blib/lib/VCS/LibCVS/Datum/PathName.pm

filter: Statementstmt 93.3% 14 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 90.0% 18 / 20 CC 1 SCAR 1.8
CC
1
Cov
93%
_data_names
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/VCS/LibCVS/Datum/FileName.pm ↑ Summary blib/lib/VCS/LibCVS/Datum/String.pm »
1 #
2 # Copyright (c) 2003,2004,2005 Alexander Taler (dissent@0--0.org)
3 #
4 # All rights reserved. This program is free software; you can redistribute it
5 # and/or modify it under the same terms as Perl itself.
6 #
7  
8 package VCS::LibCVS::Datum::PathName;
9  
10 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 =head1 NAME
14  
15 VCS::LibCVS::Datum::PathName - A CVS datum for a CVS pathname
16  
17 =head1 SYNOPSIS
18  
19 $string = VCS::LibCVS::Datum::PathName->new(["adir","/home/cvs/adir/file"]);
20  
21 =head1 DESCRIPTION
22  
23 A CVS Pathname, used in CVS responses. It consists of a local directory name
24 and a repository filename. See the cvsclient docs for more info.
25  
26 =head1 SUPERCLASS
27  
28 VCS::LibCVS::Datum
29  
30 =cut
31  
32 ###############################################################################
33 # Class constants
34 ###############################################################################
35  
36 1 ▶use constant REVISION => '$Header: /cvsroot/libcvs-perl/libcvs-perl/VCS/LibCVS/Datum/PathName.pm,v 1.8 2005/10/10 12:52:12 dissent Exp $ ';
Subroutine BEGIN: called CC=1 SCAR=0.0
37  
38 1 ▶use vars ('@ISA');
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 @ISA = ("VCS::LibCVS::Datum");
40  
41 ###############################################################################
42 # Class variables
43 ###############################################################################
44  
45 ###############################################################################
46 # Private variables
47 ###############################################################################
48  
49 ###############################################################################
50 # Class routines
51 ###############################################################################
52  
53 ###############################################################################
54 # Instance routines
55 ###############################################################################
56  
57 ###############################################################################
58 # Private routines
59 ###############################################################################
60  
61 0 ▶sub _data_names { return ("LocalDirectory", "RemoteFile"); }
Subroutine _data_names: not called CC=1 SCAR=6.9
62  
63 =head1 SEE ALSO
64  
65 VCS::LibCVS::Datum
66  
67 =cut
68  
69 1 1;
« blib/lib/VCS/LibCVS/Datum/FileName.pm ↑ Summary blib/lib/VCS/LibCVS/Datum/String.pm »