blib/lib/HTML/Shakan/Utils.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
encode_entities
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package HTML::Shakan::Utils;
2 use strict;
3 use warnings;
4 use parent qw/Exporter/;
5  
6 our @EXPORT = qw/encode_entities/;
7  
8 use HTML::Escape ();
9  
10 # backward compatible
11 sub encode_entities {
12 warn "HTML::Shakan::Utils::encode_entities() is deprecated. use HTML::Escape::escape_html() instead.\n";
13 HTML::Escape::escape_html(@_);
14 }
15  
16 1;