Skip to content

Commit 7288dc0

Browse files
committed
Merge pull request #30 from jgebal/feature/coverage_bigfix
Fixed regex on profiler. The regex was only working for UPCASE
2 parents 96e6312 + 2fb6c79 commit 7288dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plsql/coverage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def details_report(schema, object)
207207

208208
# sometimes first PROCEDURE or FUNCTION line is reported as not executed, force ignoring it
209209
source.each do |line, text|
210-
if text =~ /^\s*(PROCEDURE|FUNCTION)/ && coverage[line] == 0
210+
if text =~ /^\s*(PROCEDURE|FUNCTION)/i && coverage[line] == 0
211211
coverage.delete(line)
212212
end
213213
end

0 commit comments

Comments
 (0)