ORM/Meta/ORM/History.pm

filter: Statementstmt 66.6% 4 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 1 / 3 Podpod 0.0% 0 / 2 totaltotal 45.4% 5 / 11 CC 1 SCAR 5.1
CC
1
Cov
67%
master
2.0
delete_slave
2.0
BEGIN
1.0
CRAP 1.7
« ORM/Const.pm ↑ Summary ORM/TjoinNull.pm »
1 #
2 # DESCRIPTION
3 # PerlORM - Object relational mapper (ORM) for Perl. PerlORM is Perl
4 # library that implements object-relational mapping. Its features are
5 # much similar to those of Java's Hibernate library, but interface is
6 # much different and easier to use.
7 #
8 # AUTHOR
9 # Alexey V. Akimov <akimov_alexey@sourceforge.net>
10 #
11 # COPYRIGHT
12 # Copyright (C) 2005-2006 Alexey V. Akimov
13 #
14 # This library is free software; you can redistribute it and/or
15 # modify it under the terms of the GNU Lesser General Public
16 # License as published by the Free Software Foundation; either
17 # version 2.1 of the License, or (at your option) any later version.
18 #
19 # This library is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 # Lesser General Public License for more details.
23 #
24 # You should have received a copy of the GNU Lesser General Public
25 # License along with this library; if not, write to the Free Software
26 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27 #
28  
29 package ORM::Meta::ORM::History;
30  
31 2 ▶use base 'ORM::Metaprop';
Subroutine BEGIN: called CC=1 SCAR=0.0
32  
33 2 $VERSION=0.81;
34  
35 ##
36 ## CONSTRUCTORS
37 ##
38  
39 0 ▶sub master { shift->slaved_by == undef; }
Subroutine master: not called CC=1 SCAR=6.9
Pod undocumented
40 0 ▶sub delete_slave { shift->slaved_by->prop_name eq 'id'; }
Subroutine delete_slave: not called CC=1 SCAR=6.9
Pod undocumented
41  
« ORM/Const.pm ↑ Summary ORM/TjoinNull.pm »