Branch Coverage

blib/lib/Audio/Nama/AnalyseLV2.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
31 0 0 unless (acquire_lv2($uri))
37 0 0 if $linecount == 1
38 0 0 if ($line =~ /^(\t| )+Name\:(\t| )+(.*+)/ and $currentport == -1)
41 0 0 if ($line =~ /^(\t| )+Class\:(\t| )+(.*+)/ and not $line =~ m[(\://)])
43 0 0 if ($line =~ /^(\t| )+Author\:(\t| )+(.*+)/)
45 0 0 if ($line =~ /^(\t| )+Has latency\:(\t| )+(.*+)/)
49 0 0 if ($line =~ m[^(\t| )+file\://.*\.ttl$] and $currentport == -1)
56 0 0 if ($line =~ /(\t| )+Port (\d+)\:$/)
61 0 0 if ($line =~ /lv2core#(.+)Port$/)
63 0 0 if ($match =~ /Input|Output/) { }
67 0 0 if (exists $plugin{$currentport}{'etype'})
75 0 0 if ($line =~ /http.+\#(.+)Event$/)
77 0 0 if (exists $plugin{$currentport}{'etype'})
84 0 0 if ($line =~ /(\t| )+Name\:(\t| )+(.+$)/ and $currentport != -1)
90 0 0 if ($line =~ /(\t| )+Minimum\:(\t| )+(.+$)/)
94 0 0 if ($line =~ /(\t| )+Maximum\:(\t| )+(.+$)/)
97 0 0 if ($line =~ /(\t| )+Default\:(\t| )+(.+$)/)
101 0 0 if ($line =~ /extportinfo#(.+$)/)
102 0 0 if (exists $plugin{$currentport}{'props'})
107 0 0 if ($currentport != -1 and $line =~ /Scale Points\:/)
110 0 0 if ($line =~ /(\t+| +)+(-?\d+\.?\d*) = \"(.*)\"$/ and exists $plugin{$currentport}{'scalepoints'})
127 0 0 if (exists $plugin{$currentport}{'scalepoints'})
128 0 0 if (exists $plugin{$currentport}{'props'})
152 0 0 if (exists $plugin{$currentport}{'units'})
159 0 0 if exists $plugin{$currentport}{'minval'}
161 0 0 if exists $plugin{$currentport}{'maxval'}
165 0 0 if exists $plugin{$currentport}{'defval'} and $plugin{$currentport}{'defval'} ne 'nan'
168 0 0 if exists $plugin{$currentport}{'props'} and filterprops($plugin{$currentport}{'props'}) ne ''
186 0 0 if exists $plugin{'general'}{'name'}
189 0 0 if exists $plugin{'general'}{'class'}
191 0 0 if exists $plugin{'general'}{'author'}
193 0 0 if exists $plugin{'general'}{'has_latency'}
195 0 0 if ($currentport == 0) { }
211 0 0 if $contents[0] eq ''
219 0 0 if ($output =~ m[^/.+lv2info$]) { }
224 0 0 if ($output =~ m[^/.+lv2ls$]) { }
236 0 0 if $uline =~ /$string/i
243 0 0 if (keys %scalepoints > 0) { }
259 0 0 if (find_utils()) { }
279 0 0 unless open my $fh, '<', $file
282 0 0 if ($curline =~ /lv2\:index +(\d+) *;$/)
285 0 0 if ($curline =~ /ue\:unit +ue\:([a-zA-Z0-9_]+) *;$/ and $currentport != -1)
297 0 0 if $units =~ /pc/