blib/lib/Setup/File/Symlink.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 57 | 67 | 85.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
68 | 10 | 136 | 2 | $exists and not $is_sym |
69 | 10 | 134 | 2 | $is_sym and defined $target |
144 | 0 | 2 | $is_sym and defined $target and $curtarget ne $target | |
137 | 145 | 10 | 2 | $exists and not $is_sym |
138 | 145 | 10 | 0 | $is_sym and $curtarget ne $target |
274 | 14 | 26 | 40 | $exists and not $is_sym |
14 | 6 | 20 | $is_sym and $cur_target ne $target | |
275 | 20 | 18 | 2 | $is_dir and not $replace_dir |
322 | 26 | 12 | 0 | $is_sym and not $replace_symlink |
324 | 26 | 12 | 0 | $is_dir and not $replace_dir |
line | l | !l | condition |
---|---|---|---|
55 | 281 | 0 | $args{-'tx_action'} // '' |
124 | 301 | 0 | $args{-'tx_action'} // '' |
250 | 123 | 0 | $args{-'tx_action'} // '' |
252 | 114 | 9 | $args{'should_exist'} // 1 |
258 | 110 | 13 | $args{'create'} // 1 |
259 | 111 | 12 | $args{'replace_file'} // 0 |
260 | 111 | 12 | $args{'replace_dir'} // 0 |
261 | 110 | 13 | $args{'replace_symlink'} // 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
62 | 269 | 2 | 10 | $is_sym || -e _ |
72 | 0 | 134 | 0 | $target // $curtarget |
132 | 10 | 2 | 289 | $is_sym || -e _ |
268 | 109 | 14 | 0 | $args{-'tx_action_id'} // UUID::Random::generate() |
275 | 18 | 18 | 2 | $is_dir || $replace_file |
326 | 12 | 12 | 14 | $is_sym or $is_dir |
12 | 12 | 2 | $is_sym or $is_dir or $replace_file |