Subroutine Coverage

blib/lib/XML/XSH2/Functions.pm
Criterion Covered Total %
subroutine 301 442 68.1
pod 0 280 0.0


line count pod subroutine
8 16 n/a BEGIN
9 16 n/a BEGIN
11 15 n/a BEGIN
12 15 n/a BEGIN
13 15 n/a BEGIN
14 15 n/a BEGIN
15 17 n/a BEGIN
16 17 n/a BEGIN
17 15 n/a BEGIN
18 15 n/a BEGIN
19 17 n/a BEGIN
21 17 n/a BEGIN
41 15 n/a BEGIN
44 15 n/a BEGIN
140 3 No VERSION
154 3 No min
157 143 No out
173 3 n/a __debug
177 3 n/a __bug
181 4 n/a _tilde_expand
195 266 n/a _ev_opts
218 12 n/a _hash_opts
231 365 No alias_sr
236 343 No lexicalize
251 16 No xsh_init
282 14 n/a BEGIN
297 9 No xsh_rd_parser_init
320 1 No set_validation
321 1 No set_recovering
322 1 No set_expand_entities
323 1 No set_keep_blanks
324 1 No set_pedantic_parser
325 1 No set_load_ext_dtd
326 1 No set_complete_attributes
327 1 No set_expand_xinclude
328 3 No set_indent
329 1 No set_empty_tags
330 1 No set_skip_dtd
331 1 No set_backups
332 1 No set_cdonopen
333 1 No set_xpath_completion
334 1 No set_xpath_axis_completion
339 1 No set_line_numbers
341 0 No get_validation
342 0 No get_recovering
343 0 No get_expand_entities
344 8 No get_keep_blanks
345 0 No get_pedantic_parser
346 0 No get_load_ext_dtd
347 0 No get_complete_attributes
348 0 No get_expand_xinclude
349 0 No get_indent
350 0 No get_empty_tags
351 0 No get_skip_dtd
352 0 No get_backups
353 0 No get_cdonopen
354 0 No get_xpath_completion
355 0 No get_xpath_axis_completion
356 0 No get_line_numbers
360 15 No xpc_init
365 16 No init_XPATH_funcs
373 15 No new_xpath_context
390 0 No clone_xpc
407 1 No xpath_extensions
415 16 No get_XPATH_extensions
425 0 No XPATH_doc
429 14 n/a BEGIN
434 0 No XPATH_filename
446 14 n/a BEGIN
451 0 No XPATH_resolve_uri
457 0 No XPATH_document_uri
461 0 No XPATH_base_uri
473 14 n/a BEGIN
479 4 No XPATH_var
485 6 No XPATH_matches
486 14 n/a BEGIN
499 7 No XPATH_substr
500 14 n/a BEGIN
513 3 No XPATH_reverse
514 14 n/a BEGIN
519 0 No XPATH_lc
520 14 n/a BEGIN
525 0 No XPATH_uc
526 14 n/a BEGIN
531 0 No XPATH_lcfirst
532 14 n/a BEGIN
537 0 No XPATH_ucfirst
538 14 n/a BEGIN
543 13 No XPATH_grep
547 14 n/a BEGIN
552 13 No XPATH_same
563 7 No XPATH_max
573 4 No XPATH_strmax
582 9 No XPATH_min
593 4 No XPATH_strmin
602 9 No XPATH_sum
610 4 No XPATH_join
615 21 No XPATH_serialize
630 11 No XPATH_subst
631 13 n/a BEGIN
646 13 n/a BEGIN
647 0 No XPATH_parse
657 7 No XPATH_sprintf
658 13 n/a BEGIN
664 6 No XPATH_current
670 5 No XPATH_path
678 1 No XPATH_node_type
686 0 No XPATH_object_type
706 0 No XPATH_evaluate
728 7 No XPATH_map
752 0 No XPATH_match
753 13 n/a BEGIN
778 0 No XPATH_split
798 3 No XPATH_new_attribute
809 2 No XPATH_new_element
824 1 No XPATH_new_element_ns
844 1 No XPATH_new_text
856 1 No XPATH_new_comment
868 2 No XPATH_new_cdata
880 1 No XPATH_new_pi
892 0 No XPATH_new_chunk
898 0 No XPATH_times
907 0 No XPATH_if
921 0 No XPATH_id2
936 0 No XPATH_lineno
949 0 No XPATH_document
978 0 No XPATH_documents
988 0 No XPATH_lookup
994 13 n/a BEGIN
1017 0 No XPATH_span
1052 0 No XPATH_context
1070 13 n/a BEGIN
1071 13 n/a BEGIN
1072 0 No get_flags_as_vars
1076 0 No list_flags
1079 13 n/a BEGIN
1080 13 n/a BEGIN
1110 383 No toUTF8
1123 214 No fromUTF8
1134 10 No is_command
1143 0 No xsh_set_script
1147 0 No benchtime
1153 367 No xsh
1172 367 No run
1194 0 No dump_parse_tree
1195 13 n/a BEGIN
1259 6007 No post_process_parse_tree
1316 0 No xsh_set_output
1326 0 No xsh_get_output
1335 220 No cast_objects_to_values
1340 12 No create_xsh_result_element
1347 286 No cast_value_to_objects
1390 2 No expr
1396 1532 n/a _ev
1442 267 n/a _ev_nodelist
1451 1 n/a _ev_list
1481 254 n/a _ev_literal
1488 242 No to_literal
1521 318 n/a _ev_count
1542 5 n/a _ev_doc
1553 0 n/a _doc
1563 247 n/a _ev_string
1572 53 No xsh_parse_string
1586 0 No xsh_xml_parser
1592 0 No xsh_set_parser
1598 0 No print_version
1613 1 n/a _files
1614 13 n/a BEGIN
1637 1 No files
1649 34 No close_undef_value
1664 1 No close_doc
1666 13 n/a BEGIN
1687 334 No xpath_var_lookup
1688 13 n/a BEGIN
1713 1165 No lex_var
1722 91 No var_value
1729 13 n/a BEGIN
1742 13 n/a BEGIN
1743 0 No string_vars
1752 0 No variables
1753 13 n/a BEGIN
1770 10 No echo
1776 14 No set_quiet
1777 0 No set_debug
1778 0 No set_compile_only_mode
1781 16 No test_enc
1795 16 No set_encoding
1817 0 No set_qencoding
1825 0 No sigint
1835 0 No sigpipe
1844 0 No flagsigint
1849 1372 No propagate_flagsigint
1857 0 No convertFromDocEncoding
1862 5 n/a _rt_position
1867 0 n/a _err
1871 1 n/a _warn
1877 2389 n/a _check_err
1927 118 No xsh_context_node
1931 0 No xsh_context_var
1941 27 No set_local_xpath
1948 61 No cannon_name
1971 97 No node_address
2010 170 No tree_parent_node
2020 0 No node_id
2034 31 No pwd
2055 0 No xsh_pwd
2061 17 No print_pwd
2074 0 n/a _base_filename
2081 1497 n/a _expand
2083 13 n/a BEGIN
2106 20 No expand
2111 0 n/a _get_var_ref
2112 13 n/a BEGIN
2131 740 n/a _assign
2132 13 n/a BEGIN
2156 0 n/a _undef
2157 13 n/a BEGIN
2186 13 n/a BEGIN
2196 363 No literal_value
2201 254 No xpath_assign
2213 48 No command_assign
2225 1 No make_local
2231 0 No get_stored_nodelists
2235 1051 No store_variables
2256 1288 No store_lex_variables
2277 1287 No restore_lex_variables
2283 7 No create_block_var
2292 7 No destroy_block_var
2300 1040 No restore_variables
2345 120 n/a _prepare_result_nl
2354 52 No count_xpath
2371 31 No new_doc
2380 53 No create_doc
2395 22 No set_doc
2404 0 No set_filename
2411 22 No set_doc_URI
2420 0 No xsh_search_docvar
2423 13 n/a BEGIN
2438 0 No index_doc
2452 0 n/a _is_url
2455 0 n/a _is_absolute
2463 1 No open_doc
2578 0 No open_io_file
2589 0 No is_xinclude
2598 0 No xinclude_start_tag
2605 0 No xinclude_end_tag
2610 0 No xinclude_print
2679 4 n/a _xml_decl
2688 0 No save_xinclude_chunk
2715 0 No save_doc
2846 13 n/a BEGIN
2891 18 No start_tag
2909 13 No end_tag
2915 64 No to_string
2960 33 No list
2985 0 No list_namespaces
3015 0 No mark_fold
3034 0 No mark_unfold
3045 0 No c14n
3059 1 No locate
3071 0 No print_lineno
3083 5 No prune
3096 0 No eval_substitution
3106 11 No perlsort
3146 13 n/a BEGIN
3153 13 n/a BEGIN
3177 2 No perlmap
3238 0 No hash
3270 87 n/a _ev_namespace
3281 4 No perlrename
3337 29 No set_attr_ns
3347 30 No name_prefix
3354 97 No node_copy
3379 0 No get_subelements
3384 4 No get_following_siblings
3396 7 No new_document_element
3406 3 No replace_document_element
3420 86 No safe_insert
3498 0 n/a _expand_fragment
3503 0 n/a _is_attached
3512 0 No set_namespace
3538 0 No declare_namespace
3553 0 No change_namespace_prefix
3566 0 No change_namespace_uri
3581 8 No xpath_set
3616 134 No insert_node
3883 18 No create_attributes
3914 25 No new_element
3975 106 No create_nodes
4062 0 No run_editor
4085 0 No ask_user
4104 0 No edit
4248 27 No copy
4338 60 No insert
4378 16 No wrap
4483 7 No wrap_span
4555 0 No normalize_nodes
4564 0 n/a _trim_ws
4572 0 No strip_ws
4643 1 No get_dtd
4652 2 No validate_doc
4754 0 No process_xinclude
4764 1 No list_dtd
4777 0 No set_dtd
4812 0 No print_enc
4821 0 No set_doc_enc
4830 0 No set_doc_standalone
4839 0 No doc_info
4853 1 No clone
4864 39 No is_ancestor_or_self
4877 39 No remove_node
4899 10 No move
4910 1 No sh_noev
4915 1 No sh
4922 52 No print_count
4929 229 No perl_eval_command
4934 319 No perl_eval
4936 13 n/a BEGIN
4947 9 n/a BEGIN
4947 9 n/a BEGIN
4953 9 n/a BEGIN
4953 9 n/a BEGIN
4953 9 n/a BEGIN
4953 9 n/a BEGIN
4953 8 n/a BEGIN
4953 8 n/a BEGIN
4953 8 n/a BEGIN
4953 8 n/a BEGIN
4953 7 n/a BEGIN
4953 7 n/a BEGIN
4953 6 n/a BEGIN
4953 6 n/a BEGIN
4953 5 n/a BEGIN
4953 5 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4953 4 n/a BEGIN
4958 14 n/a BEGIN
4958 14 n/a BEGIN
4958 2 n/a BEGIN
4958 2 n/a BEGIN
4966 0 No print_eval
4973 0 No cd
4985 1036 No run_commands
5000 13 n/a BEGIN
5032 208 No run_string
5039 25 No run_exp
5046 20 No pipe_command
5048 0 n/a __ANON__
5065 13 n/a BEGIN
5104 5 No string_pipe_command
5129 7 No while_statement
5158 5 No throw_exception
5163 6 No try_catch
5203 12 No loop_next
5207 0 No loop_prev
5211 12 No loop_redo
5215 4 No loop_last
5220 56 n/a _save_context
5227 300 n/a _set_context
5244 14 No foreach_statement
5295 4 No if_statement
5307 255 No unless_statement
5316 1 n/a _clone_xmldoc
5329 0 No xslt_compile
5355 0 No xslt
5440 0 No xupdate
5458 0 No call_return
5463 86 No call_command
5470 254 No call
5513 0 No undefine
5520 14 n/a BEGIN
5531 10 No def
5538 0 No defs
5543 1 No list_defs
5552 0 No load
5568 0 No include
5585 0 No apropos
5608 0 No help
5637 0 No load_catalog
5643 4 No stream_process_node
5678 2 No stream_process
5775 0 No iterate
5867 0 No quit
5875 1 No register_ns
5888 0 No register_xsh_ns
5893 0 No register_xhtml_ns
5898 0 No unregister_ns
5906 0 No get_registered_ns
5910 0 No get_registered_prefix
5915 0 No register_func
5946 0 No unregister_func
5963 1 No node_type
5997 14 n/a BEGIN
6005 0 n/a call
6009 19 n/a serialize
6030 0 n/a literal
6035 0 n/a type
6056 0 n/a nodelist
6061 0 n/a xpath
6075 183 n/a xsh
6081 8 n/a current
6085 0 n/a position
6096 0 n/a resolve_uri
6110 28 n/a new
6116 0 n/a set_label
6121 84 n/a label
6125 0 n/a value
6130 0 n/a set_value
6135 14 n/a BEGIN
6139 14 n/a BEGIN
6143 15 n/a BEGIN
6152 15 n/a BEGIN
6156 0 n/a xml_decl
6167 15 n/a BEGIN
6168 15 n/a BEGIN
6169 15 n/a BEGIN
6170 15 n/a BEGIN
6174 364 n/a TIESCALAR