MultiLanguage.pm

filter: Statementstmt 66.6% 10 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 59.0% 13 / 22 CC 1 SCAR 3.4
CC
1
Cov
67%
language
2.0
parse
2.0
BEGIN
1.0
CRAP 1.4
« MultiLanguage/LDAP.pm ↑ Summary
1 #
2 # Copyright (c) 2008-2009 Pan Yu (xiaocong@vip.163.com).
3 # All rights reserved.
4 # This program is free software; you can redistribute it and/or
5 # modify it under the same terms as Perl itself.
6 #
7  
8 package App::MultiLanguage;
9  
10 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use vars qw($VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 $VERSION = '0.02';
15  
16  
17 0 ▶sub language {
Subroutine language: not called CC=1 SCAR=6.9
Pod undocumented
18 0 my $self = shift;
19 0 my $language = shift;
20
21 0 $self->{language} = $language;
22 }
23  
24 0 ▶sub parse {
Subroutine parse: not called CC=1 SCAR=6.9
Pod undocumented
25 0 my $self = shift;
26
27 0 return $self->{result};
28 }
29  
30  
31 1 1;
32  
33 __END__
« MultiLanguage/LDAP.pm ↑ Summary