Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5b0d591

Browse files
committed
Fixing sonar reporter bug that was causing sonar analysis to fail.
1 parent fe1dadc commit 5b0d591

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/reporters/ut_coverage_sonar_reporter.tpb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ create or replace type body ut_coverage_sonar_reporter is
8484
function get_lines_xml(a_unit_coverage ut_coverage.t_unit_coverage) return clob is
8585
l_file_part varchar2(32767);
8686
l_result clob;
87-
c_no_lines constant varchar2(30) := '<lineToCover/>'||chr(10);
87+
c_no_lines constant varchar2(100) := '<lineToCover lineNumber="1" covered="false"/>'||chr(10);
8888
l_line_no binary_integer;
8989
begin
9090
dbms_lob.createtemporary(l_result, true);

0 commit comments

Comments
 (0)