lib/HTML/Object/DOM/FileList.pm

filter: Statementstmt 95.4% 21 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 100% 1 / 1 totaltotal 93.5% 29 / 31 CC 1 SCAR 1.2
CC
1
Cov
95%
item
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« lib/HTML/Object/DOM/NodeFilter.pm ↑ Summary lib/HTML/Object/DOM/Element/OptionsCollection.pm »
1 ##----------------------------------------------------------------------------
2 ## HTML Object - ~/lib/HTML/Object/DOM/FileList.pm
3 ## Version v0.2.0
4 ## Copyright(c) 2021 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2021/12/25
7 ## Modified 2022/09/18
8 ## All rights reserved.
9 ##
10 ##
11 ## This program is free software; you can redistribute it and/or modify it
12 ## under the same terms as Perl itself.
13 ##----------------------------------------------------------------------------
14 package HTML::Object::DOM::FileList;
15 BEGIN
16 {
17 1 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶ warnings::register_categories( 'HTML::Object' );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶ use parent qw( Module::Generic::Array );
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 our $VERSION = 'v0.2.0';
23 };
24  
25 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
27  
28 0 ▶sub item { return( shift->index( @_ ) ); }
Subroutine item: not called CC=1 SCAR=6.9
Pod documented
29  
30 1 1;
31 # NOTE: POD
32 __END__
« lib/HTML/Object/DOM/NodeFilter.pm ↑ Summary lib/HTML/Object/DOM/Element/OptionsCollection.pm »