| 1 |
{"digest":"9b30e2fc1222fa186afd5bf5a7376d18","start":{"32":{"init":[{"subroutine":8,"branch":null,"condition":null,"time":null,"statement":24}]},"55":{"_post":[{"subroutine":11,"branch":null,"condition":4,"time":null,"statement":35}]},"131":{"have_group":[{"statement":85,"time":null,"condition":10,"branch":8,"subroutine":16}]},"13":{"BEGIN":[{"condition":null,"time":null,"statement":18,"subroutine":6,"branch":null}]},"9":{"BEGIN":[{"statement":9,"time":null,"condition":null,"branch":null,"subroutine":3}]},"-1":{"__COVER__":[{"subroutine":24,"branch":83,"condition":49,"time":null,"statement":331}]},"138":{"option_groups":[{"branch":9,"subroutine":17,"time":null,"statement":89,"condition":10}]},"495":{"docs":[{"subroutine":22,"branch":75,"condition":35,"statement":289,"time":null}]},"246":{"__ANON__":[{"statement":289,"time":null,"condition":35,"branch":75,"subroutine":20}]},"539":{"doc_sort_ops":[{"branch":82,"subroutine":23,"time":null,"statement":317,"condition":39}]},"199":{"process_args":[{"subroutine":19,"branch":18,"condition":12,"time":null,"statement":119}]},"250":{"__ANON__":[{"subroutine":21,"branch":75,"condition":35,"time":null,"statement":289}]},"44":{"add_option":[{"branch":null,"subroutine":9,"statement":30,"time":null,"condition":4}]},"97":{"_option":[{"branch":6,"subroutine":13,"statement":67,"time":null,"condition":8}]},"160":{"option_map":[{"subroutine":18,"branch":12,"condition":11,"time":null,"statement":100}]},"3":{"BEGIN":[{"time":null,"statement":3,"condition":null,"branch":null,"subroutine":1}]},"2":{"BEGIN":[{"time":null,"statement":null,"condition":null,"branch":null,"subroutine":null}]},"65":{"include":[{"subroutine":12,"branch":1,"condition":5,"statement":41,"time":null}]},"107":{"clear_cache":[{"condition":9,"statement":73,"time":null,"subroutine":14,"branch":7}]},"29":{"BEGIN":[{"branch":null,"subroutine":7,"time":null,"statement":21,"condition":null}]},"12":{"BEGIN":[{"branch":null,"subroutine":5,"time":null,"statement":15,"condition":null}]},"115":{"check_cache":[{"statement":77,"time":null,"condition":9,"branch":7,"subroutine":15}]},"50":{"add_post_process":[{"subroutine":10,"branch":null,"condition":4,"statement":33,"time":null}]},"7":{"BEGIN":[{"statement":6,"time":null,"condition":null,"branch":null,"subroutine":2}]},"11":{"BEGIN":[{"condition":null,"statement":12,"time":null,"subroutine":4,"branch":null}]}},"file":"lib/Getopt/Yath/Instance.pm","statement":[2,2,2,3,3,3,7,7,7,9,9,9,11,11,11,12,12,12,13,13,13,29,29,15,32,34,35,36,38,40,44,45,46,50,51,55,56,58,60,61,61,65,66,68,69,71,71,73,74,74,75,75,75,79,80,80,81,81,81,84,84,87,87,88,89,89,93,97,98,100,102,103,103,107,109,110,111,115,117,118,119,121,123,125,127,131,132,133,134,138,139,141,142,143,146,149,153,153,155,156,160,161,163,164,165,168,171,175,180,181,181,184,184,185,186,187,190,194,195,199,200,202,204,206,207,208,209,209,211,211,211,213,221,224,225,226,227,227,228,229,230,231,234,237,239,240,243,246,246,248,265,250,252,253,254,255,257,258,261,264,267,268,269,271,272,273,276,277,278,281,282,283,284,287,288,289,292,295,297,298,299,301,302,303,304,307,310,315,316,319,320,321,322,323,324,325,330,333,334,335,336,339,340,341,344,347,350,352,354,355,356,357,359,360,361,362,363,366,368,369,370,373,374,375,379,380,383,384,385,386,387,390,391,394,395,398,399,400,401,402,403,408,409,410,411,411,413,416,417,418,419,420,423,424,425,428,429,429,429,430,430,431,432,437,438,439,441,441,442,443,446,448,450,451,453,455,456,457,458,459,460,461,462,463,466,467,469,470,474,495,496,498,500,501,501,501,503,504,505,507,508,510,512,512,514,517,517,519,522,523,524,525,528,529,532,533,535,539,540,542,543,544,546,547,548,549,552,553,555,556,558],"subroutine":[[2,"BEGIN"],[3,"BEGIN"],[7,"BEGIN"],[9,"BEGIN"],[11,"BEGIN"],[12,"BEGIN"],[13,"BEGIN"],[29,"BEGIN"],[32,"init"],[44,"add_option"],[50,"add_post_process"],[55,"_post"],[65,"include"],[97,"_option"],[107,"clear_cache"],[115,"check_cache"],[131,"have_group"],[138,"option_groups"],[160,"option_map"],[199,"process_args"],[246,"__ANON__"],[250,"__ANON__"],[495,"docs"],[539,"doc_sort_ops"]],"branch":[[60,{"text":"if $self->{'dedup'}{$cb}++"}],[68,{"text":"unless $other"}],[69,{"text":"if $self->{'dedup'}{$other}++"}],[73,{"text":"if (my $other_include = $other->included)"}],[81,{"text":"unless $want{$_->title} or $want{$_->field}"}],[79,{"text":"if ($list) { }"}],[102,{"text":"if $self->{'dedup'}{$option}++"}],[121,{"text":"if $old_key == $new_key"}],[133,{"text":"if $self->option_groups->{$name}"}],[149,{"text":"if $self->{'options_groups_cache'} and $self->check_cache"}],[142,{"text":"if ($in_options) { }"}],[155,{"text":"if $in_options"}],[171,{"text":"if $self->{'options_map_cache'} and $self->check_cache"}],[164,{"text":"if ($in_options) { }"}],[181,{"text":"if $option->can(\"custom_matches\")"}],[186,{"text":"if $existing ne $option"}],[185,{"text":"if (my $existing = $map->{$form})"}],[194,{"text":"if $in_options"}],[202,{"text":"unless $args and ref $args eq \"ARRAY\""}],[209,{"text":"if $stops and ref $stops eq \"ARRAY\""}],[234,{"text":"$rt eq 'ARRAY' ? :"}],[230,{"text":"if (not defined $val) { }"}],[230,{"text":"elsif ($rt) { }"}],[227,{"text":"unless (defined ${$ref;})"}],[255,{"text":"if $arg eq $end"}],[257,{"text":"if (my $nest = $groups->{$arg})"}],[271,{"text":"if (my $end = $groups->{$base})"}],[276,{"text":"if ($stops->{$base})"}],[282,{"text":"if ($params{'stop_at_non_opts'})"}],[287,{"text":"if ($params{'skip_non_opts'})"}],[281,{"text":"unless ($base =~ /^-/)"}],[310,{"text":"if $other"}],[302,{"text":"if ($opt->allows_shortval and $set || $other) { }"}],[302,{"text":"elsif ($set) { }"}],[301,{"text":"if ($opt = $map->{$first})"}],[297,{"text":"if ($base =~ /^(-[^-])(=?)(.*)$/) { }"}],[323,{"text":"unless $opt"}],[320,{"text":"if (my $list = $map->{'custom_match'})"}],[319,{"text":"unless ($opt)"}],[330,{"text":"if $set and not defined $arg"}],[334,{"text":"if ($params{'skip_invalid_opts'})"}],[339,{"text":"if ($params{'stop_at_invalid_opts'})"}],[333,{"text":"unless ($opt)"}],[347,{"text":"if $set and not $opt->allows_arg"}],[352,{"text":"unless $opt->no_module"}],[363,{"text":"unless $set"}],[359,{"text":"if ($delta < 0)"}],[366,{"text":"if $state->{'cleared'}{$group_name}"}],[369,{"text":"unless @$argv"}],[368,{"text":"if ($opt->requires_arg and not $set)"}],[374,{"text":"if (my $end = $groups->{$arg})"}],[373,{"text":"if ($arg)"}],[379,{"text":"if (ref $arg and @$arg > 1 and not $opt->allows_list)"}],[387,{"text":"ref $arg ? :"}],[385,{"text":"if (defined $arg) { }"}],[385,{"text":"elsif ($opt->allows_autofill) { }"}],[402,{"text":"if (my $add = $class->options)"}],[401,{"text":"if ($class->can(\"options\"))"}],[398,{"text":"if ($opt->mod_adds_options)"}],[411,{"text":"defined $_ ? :"}],[410,{"text":"if (@bad)"}],[423,{"text":"if $state->{'cleared'} and $state->{'cleared'}{$group_name} and $state->{'cleared'}{$group_name}{$field_name}"}],[424,{"text":"if $opt->is_populated($ref)"}],[431,{"text":"if $set->{'applicable'} and not $set->{'applicable'}->($set, $self, $settings)"}],[428,{"text":"unless ($params{'skip_posts'})"}],[443,{"text":"unless $params{'no_set_env'}"}],[448,{"text":"unless $opt->can_set_env"}],[450,{"text":"unless my $to_set = $opt->set_env_vars"}],[451,{"text":"unless @$to_set"}],[453,{"text":"unless $opt->is_populated($ref)"}],[459,{"text":"unless my(@val) = $opt->get_env_value($env, $ref)"}],[460,{"text":"if (@val > 1)"}],[467,{"text":"$setval ? :"}],[467,{"text":"if $neg"}],[470,{"text":"unless $params{'no_set_env'}"}],[501,{"text":"unless $params{'applicable'}"}],[504,{"text":"unless my $fset = $DOC_FORMATS{$format}"}],[507,{"text":"unless $opts"}],[508,{"text":"unless @$opts"}],[512,{"text":"if $params{'group'}"}],[514,{"text":"unless @render"}],[523,{"text":"if (not $cat or $opt->category ne $cat)"}],[547,{"text":"if ($params{'group_first'}) { }"}]],"condition":[[34,{"left":"$self->{'options'}","op":"//=","right":"[]","type":"or_2"}],[35,{"left":"$self->{'posts'}","right":"{}","type":"or_2","op":"//="}],[36,{"op":"//=","type":"or_2","right":"{}","left":"$self->{'included'}"}],[38,{"op":"//=","type":"or_2","right":"{\"NO CATEGORY - FIX ME\", 99999}","left":"$self->{'category_sort_map'}"}],[58,{"op":"//=","right":"0","type":"or_2","left":"$weight"}],[71,{"op":"//=","type":"or_2","right":"[]","left":"$self->included->{ref $other}"}],[75,{"left":"$other_include->{$key}","op":"//","type":"or_2","right":"[]"}],[81,{"right":"$want{$_->field}","type":"or_3","op":"or","left":"$want{$_->title}"}],[100,{"left":"$self->{'options'}","right":"[]","type":"or_2","op":"//="}],[119,{"op":"//=","type":"or_2","right":"0","left":"$self->{'cache_key'}"}],[149,{"left":"$self->{'options_groups_cache'}","type":"and_3","right":"$self->check_cache","op":"and"}],[171,{"left":"$self->{'options_map_cache'}","op":"and","type":"and_3","right":"$self->check_cache"}],[202,{"left":"$args","type":"and_3","right":"ref $args eq \"ARRAY\"","op":"and"}],[206,{"left":"$params{'settings'}","op":"//","type":"or_3","right":"\"Getopt::Yath::Settings\"->new({})"}],[207,{"right":"[]","type":"or_2","op":"//","left":"$params{'stops'}"}],[208,{"left":"$params{'groups'}","op":"//","right":"{}","type":"or_2"}],[209,{"left":"$stops","type":"and_3","right":"ref $stops eq \"ARRAY\"","op":"and"}],[211,{"type":"or_2","right":"[]","op":"//","left":"$self->options"}],[221,{"left":"$params{'env'}","op":"//","right":"{}","type":"or_2"}],[221,{"left":"$params{'cleared'}","op":"//","right":"{}","type":"or_2"}],[221,{"op":"//","right":"{}","type":"or_2","left":"$params{'modules'}"}],[246,{"type":"or_3","right":"sub {\n\tdie \"'$_[0]' is not a valid option.\\n\";\n}\n","op":"//","left":"$params{'invalid_opt_callback'}"}],[302,{"type":"or_3","right":"$other","op":"||","left":"$set"}],[302,{"type":"and_3","right":"$set || $other","op":"and","left":"$opt->allows_shortval"}],[330,{"right":"not defined $arg","type":"and_3","op":"and","left":"$set"}],[347,{"left":"$set","op":"and","right":"not $opt->allows_arg","type":"and_3"}],[350,{"op":"//=","right":"$opt->forms->{$first}","type":"or_3","left":"$delta"}],[368,{"left":"$opt->requires_arg","op":"and","type":"and_3","right":"not $set"}],[379,{"left":"ref $arg","right":"@$arg > 1","type":"and_3","op":"and"}],[379,{"left":"ref $arg and @$arg > 1","type":"and_3","right":"not $opt->allows_list","op":"and"}],[423,{"left":"$state->{'cleared'}","type":"and_3","right":"$state->{'cleared'}{$group_name}","op":"and"}],[423,{"left":"$state->{'cleared'} and $state->{'cleared'}{$group_name}","right":"$state->{'cleared'}{$group_name}{$field_name}","type":"and_3","op":"and"}],[431,{"right":"not $set->{'applicable'}->($set, $self, $settings)","type":"and_3","op":"and","left":"$set->{'applicable'}"}],[441,{"op":"//","right":"[]","type":"or_2","left":"$opt->clear_env_vars"}],[462,{"left":"$opt->trace","right":"[\"\", \"unknown\", \"n/a\"]","type":"or_2","op":"//"}],[498,{"left":"$params{'color'}","right":"-t STDOUT","type":"or_3","op":"//="}],[501,{"left":"$self->options","type":"or_2","right":"[]","op":"//"}],[503,{"op":"//=","type":"or_2","right":"\"UNDEFINED\"","left":"$format"}],[523,{"left":"not $cat","op":"or","type":"or_3","right":"$opt->category ne $cat"}],[543,{"left":"$$map{$a->category}","op":"||","right":0,"type":"or_2"}],[544,{"left":"$$map{$b->category}","type":"or_2","right":0,"op":"||"}],[548,{"left":"$ret","op":"||=","right":"$a->group cmp $b->group","type":"or_3"}],[549,{"left":"$ret","type":"or_3","right":"$a->category cmp $b->category","op":"||="}],[552,{"op":"||=","type":"or_3","right":"$a->category cmp $b->category","left":"$ret"}],[553,{"left":"$ret","op":"||=","right":"$a->group cmp $b->group","type":"or_3"}],[555,{"op":"||","right":"''","type":"or_2","left":"$a->prefix"}],[555,{"left":"$b->prefix","op":"||","right":"''","type":"or_2"}],[555,{"left":"$ret","right":"($a->prefix || '') cmp ($b->prefix || '')","type":"or_3","op":"||="}],[556,{"type":"or_3","right":"$a->name cmp $b->name","op":"||=","left":"$ret"}]]} |