blib/lib/Rose/HTML/Anchor.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 6 / 10 Podpod 50.0% 4 / 8 totaltotal 65.7% 23 / 35 CC 1 SCAR 3.4
CC
1
Cov
76%
name
2.0
title
2.0
element
2.0
CRAP 1.4
« blib/lib/Rose/HTML/Form/Field/DateTime/Split.pm ↑ Summary blib/lib/Rose/HTML/Form/Field/Option.pm »
1 package Rose::HTML::Anchor;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 ▶use base 'Rose::HTML::Object';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 our $VERSION = '0.606';
8  
9 2 __PACKAGE__->add_valid_html_attrs
10 (
11 'charset', # %Charset; #IMPLIED -- char encoding of linked resource
12 'type', # %ContentType; #IMPLIED -- advisory content type
13 'name', # CDATA #IMPLIED -- named link end
14 'href', # %URI; #IMPLIED -- URI for linked resource
15 'hreflang', # %LanguageCode; #IMPLIED -- language code
16 'rel', # %LinkTypes; #IMPLIED -- forward link types
17 'rev', # %LinkTypes; #IMPLIED -- reverse link types
18 'accesskey', # %Character; #IMPLIED -- accessibility key character
19 'shape', # %Shape; rect -- for use with client-side image maps
20 'coords', # %Coords; #IMPLIED -- for use with client-side image maps
21 'tabindex', # NUMBER #IMPLIED -- position in tabbing order
22 'onfocus', # %Script; #IMPLIED -- the element got the focus
23 'onblur', # %Script; #IMPLIED -- the element lost the focus
24 );
25  
26 2 ▶sub href { shift->html_attr('href', @_) }
Subroutine href: called CC=1 SCAR=0.0
Pod undocumented
27 0 ▶sub name { shift->html_attr('name', @_) }
Subroutine name: not called CC=1 SCAR=6.9
Pod undocumented
28 0 ▶sub title { shift->html_attr('title', @_) }
Subroutine title: not called CC=1 SCAR=6.9
Pod undocumented
29  
30 0 ▶sub element { 'a' }
Subroutine element: not called CC=1 SCAR=6.9
Pod documented
31 8 ▶sub html_element { 'a' }
Subroutine html_element: called CC=1 SCAR=0.0
Pod documented
32 8 ▶sub xhtml_element { 'a' }
Subroutine xhtml_element: called CC=1 SCAR=0.0
Pod documented
33  
34 4 ▶sub link { shift->children(@_) }
Subroutine link: called CC=1 SCAR=0.0
Pod documented
35 0 ▶sub contents { shift->children(@_) }
Subroutine contents: not called CC=1 SCAR=6.9
Pod undocumented
36  
37 2 1;
38  
39 __END__
« blib/lib/Rose/HTML/Form/Field/DateTime/Split.pm ↑ Summary blib/lib/Rose/HTML/Form/Field/Option.pm »