Core/Node.pm

filter: Statementstmt 61.5% 8 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 2 / 6 Podpod 100% 4 / 4 totaltotal 60.8% 14 / 23 CC 1 SCAR 5.1
CC
1
Cov
62%
new
2.0
getLabel
2.0
clone
2.0
CRAP 1.7
« Core/Storage.pm ↑ Summary Core/Storage/DB_File.pm »
1 #
2 # The contents of this file are subject to the Mozilla Public
3 # License Version 1.1 (the "License"); you may not use this file
4 # except in compliance with the License. You may obtain a copy of
5 # the License at http://www.mozilla.org/MPL/
6 #
7 # Software distributed under the License is distributed on an "AS
8 # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 # implied. See the License for the specific language governing
10 # rights and limitations under the License.
11 #
12 # The Original Code is the RDF::Core module
13 #
14 # The Initial Developer of the Original Code is Ginger Alliance Ltd.
15 # Portions created by Ginger Alliance are
16 # Copyright (C) 2001 Ginger Alliance Ltd.
17 # All Rights Reserved.
18 #
19 # Contributor(s):
20 #
21 # Alternatively, the contents of this file may be used under the
22 # terms of the GNU General Public License Version 2 or later (the
23 # "GPL"), in which case the provisions of the GPL are applicable
24 # instead of those above. If you wish to allow use of your
25 # version of this file only under the terms of the GPL and not to
26 # allow others to use your version of this file under the MPL,
27 # indicate your decision by deleting the provisions above and
28 # replace them with the notice and other provisions required by
29 # the GPL. If you do not delete the provisions above, a recipient
30 # may use your version of this file under either the MPL or the
31 # GPL.
32 #
33  
34 package RDF::Core::Node;
35  
36 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
37 2 require Exporter;
38  
39 2 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
40  
41 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
42 0 carp "Pure virtual function call.";
43 }
44 0 ▶sub getLabel {
Subroutine getLabel: not called CC=1 SCAR=6.9
Pod documented
45 0 carp "Pure virtual function call.";
46 }
47 0 ▶sub clone {
Subroutine clone: not called CC=1 SCAR=6.9
Pod documented
48 0 carp "Pure virtual function call.";
49 }
50 0 ▶sub isLiteral {
Subroutine isLiteral: not called CC=1 SCAR=6.9
Pod documented
51 0 my $self = shift;
52 0 return $self->isa('RDF::Core::Literal')
53 }
54 2 1;
55 __END__
« Core/Storage.pm ↑ Summary Core/Storage/DB_File.pm »