<!DOCTYPE html>
<html><head>
<title> LDRA Testbed Code Review Report </title>
<style type="text/css">
.orag-line, .break {background-color: #ff7b42;}
.blue-line {background-color: #000080;}
.break-p {background-color: #000084;}
.break-p, .break {border-radius:10px;}
div {padding:0;margin:0;}
h2,h3,.header {text-align:center;}
table td {text-align:left;}
table {margin:auto;}
p.pagebreak {page-break-before: always}
p.nopagebreak {page-break-after: never}
p.shiftleft {margin-left:-54.0pt}
ul {padding-left: 20px;}
br.pagebreak {page-break-before: always}
</style>
<SCRIPT LANGUAGE="Javascript">
function popup(mylink, windowname)
{
if (! window.focus && window.opener)
{
return true;
}
var href;
var temp;
if (typeof(mylink)=='string')
{
href=mylink;
}
else
{
href=mylink.href;
temp = window.open(href, windowname, 'width=600, height=300,scrollbars=yes');
temp.focus();
return false;
}
}
function targetopener(mylink, closeme, closeonly)
{
if (! (window.focus && window.opener)) return true;
if (! closeonly) window.opener.location.href=mylink.href;
window.blur();
window.opener.focus();
if (closeme) window.close();
return false;
return false;
}
</SCRIPT>
<SCRIPT LANGUAGE="Javascript" SRC="imagejs.js">
// -->
</SCRIPT>
</head><body bgcolor="#FFFFF2" >
<div class="break"style="width:80%;height:10px;margin:0px auto;display:block;"></div>
<BR>
<a id="top_of_rep">
</a><BR>
<Style type='text/css'><!--A.set1:link{color:#FBFCC8;background:none transparent;text-decoration: none}A.set1:visited{color:#FBFCC8;background:none transparent;text-decoration: none}A.set1:active{color:#FBFCC8;background:none transparent;text-decoration: none}A:link{color:BLUE;background:none transparent;text-decoration: none}A:visited{color:BLUE;background:none transparent;text-decoration: none}A:active{color:BLUE;background:none transparent;text-decoration: none}--></style><CENTER><font size='9'><b> LDRA Testbed ® Code Review Report </font></b>
</CENTER>
<CENTER><font size='9'><b> </font></b>
</CENTER>
<CENTER><H1> System : demo_set </H1>
</CENTER>
<BR>
<BR>
<BR>
<BR>
<HR WIDTH="100%">
<CENTER><TABLE BORDER WIDTH=50%><TR><TH BGCOLOR="#FF0000"><font color='#FBFCC8' size='5'> Overall Result: FAIL </font></TH></TR> </TABLE></CENTER>
<HR WIDTH="100%">
<BR>
<BR>
<BR>
<div class="break-p"style="width:425px;height:10px;margin:0px auto;display:block;"></div>
<BR>
<BR>
<CENTER> <TABLE bgcolor="#D7EDED" BORDER WIDTH=80% >
<TR><th > Report Production </th><th > Report Configuration </th><th > Analysis phases </th></TR>
<TR><td > <ul><li>C/C++ LDRA Testbed Version: 9.9.0</li><li>Config. File: C:\LDRA_Toolsuite\c\creport.dat</li><li>Produced On: Fri Jan 5 2024 at 13:41:19</li><li>Penalty File: C:\LDRA_Toolsuite\c\cpen.dat</li></ul> </td><td > <ul><li>Report Level: Summary Report</li><li>Procedures Reported: Fails Only</li><li>Programming Standards Model: MISRA-C:2012/AMD2</li><li>Line Numbers refer to: Original Source File</li><li>Violation Details: Violations Only</li><li>Reporting Scope: Source file and associated header</li></ul> </td><td > <ul><li>Static: Yes</li><li>Complexity: Yes</li><li>Static Data Flow: Yes</li><li>Information Flow: No</li><li>Cross Reference: Yes</li></ul> </td></TR>
</TABLE>
</CENTER>
<BR>
<BR>
<div class="break-p"style="width:425px;height:10px;margin:0px auto;display:block;"></div>
<h4><a id="contents">Contents
</a></h4>
Overall Code Review Summary
<BR>
<UL>
<LI> Totals of Violations for each Standard
<BR>
<LI> <a href="#procedure_table">Table of Procedure Results
</a><BR>
<LI> <a href="#source_file_table">Table of Source Files in System
</a><BR>
<LI> Table of Global Basic Information
<BR>
<BR>
</UL>
<a href="#procedure_reports">Report on Program Components
</a><BR>
<UL>
<LI> Code Review Results Global Program and Selected Procedures
<BR>
<BR>
</UL>
<a href="#key_to_terms">Key to Terms
</a><BR>
<HR>
<BR>
<BR>
<BR>
<BR>
<CENTER> <h2>Overall Code Review Summary</h2>
</CENTER>
<BR>
<BR>
<h4>Totals of Violations for Selected Code Review Standards
</h4>
'-' indicates required Analysis Phase results are not yet available.
<BR>
'Off' indicates that the standard is switched off in the Penalty File (<lang>pen.dat).
<BR>
<BR>
<CENTER> <TABLE bgcolor="#ECE2E2" BORDER WIDTH=80% >
<TR><th > Number of Violations </th><th > LDRA Code </th><th > Mandatory Standards </th><th > MISRA-C:2012/AMD2 Code
</th></TR>
<TR><td bgcolor='#FF8181', align=center><font color='blue'> <center> <a href='demo_set_link_popup36S.htm' onClick='return popup(this, "knotes")'> 1</a> </center> </font></td><td bgcolor='#FF8181', ><font color='blue'> 36 S </font></td><td bgcolor='#FF8181', ><font color='blue'> <script language='javascript'> document.write(base_str + 'standards_info/html/c/standards.htm#standard_s36">') + document.write('Function has no return statement.') + document.write('</a>') </script> </font></td><td bgcolor='#FF8181', ><font color='blue'> <script language='javascript'> document.write(base_str + 'standards_info/html/c/misra-c_2012_amd2_model.htm#rule_misra-c%3A2012%2Famd2_r.17.4">') + document.write('MISRA-C:2012/AMD2 R.17.4') + document.write('</a>') </script> </font></td></TR>
<TR><td align=center> <CENTER> 0 </CENTER> </td><td > 54 S </td><td > <script language='javascript'> document.write(base_str + 'standards_info/html/c/standards.htm#standard_s54">') + document.write('Sizeof operator with side effects.') + document.write('</a>') </script> </td><td > <script language='javascript'> document.write(base_str + 'standards_info/html/c/misra-c_2012_amd2_model.htm#rule_misra-c%3A2012%2Famd2_r.13.6">') + document.write('MISRA-C:2012/AMD2 R.13.6') + document.write('</a>') </script> </td></TR>
<TR><td align=center> <CENTER> 0 </CENTER> </td><td > 66 S </td><td > <script language='javascript'> document.write(base_str + 'standards_info/html/c/standards.htm#standard_s66">') + document.write('Function with empty return expression.') + document.write('</a>') </script> </td><td > <script language='javascript'> document.write(base_str + 'standards_info/html/c/misra-c_2012_amd2_model.htm#rule_misra-c%3A2012%2Famd2_r.17.4">') + document.write('MISRA-C:2012/AMD2 R.17.4') + document.write('</a>') </script> </td></TR>
<TR><td bgcolor='#FF8181', align=center><font color='blue'> <center> <a href='demo_set_link_popup401S.htm' onClick='return popup(this, "knotes")'> 1</a> </center> </font></td><td bgcolor='#FF8181', ><font color='blue'> 401 S </font></td><td bgcolor='#FF8181', ><font color='blue'> <script language='javascript'> document.write(base_str + 'standards_info/html/c/standards.htm#standard_s401">') + document.write('Use of sizeof on an array parameter.') + document.write('</a>') </script> </font></td><td bgcolor='#FF8181', ><font color='blue'> <script language='javascript'> document.write(base_str + 'standards_info/html/c/misra-c_2012_amd2_model.htm#rule_misra-c%3A2012%2Famd2_r.12.5">') + document.write('MISRA-C:2012/AMD2 R.12.5') + document.write('</a>') </script> </font></td></TR>
<TR><td align=center> <CENTER> 0 </CENTER> </td><td > 407 S </td><td > <script language='javascript'> document.write(base_str + 'standards_info/html/c/standards.htm#standard_s407">') + document.write('free used on string.') + document.write('</a>') </script> </td><td > <script language='javascript'> document.write(base_str + 'standards_info/html/c/misra-c_2012_amd2_model.htm#rule_misra-c%3A2012%2Famd2_r.22.2">') + document.write('MISRA-C:2012/AMD2 R.22.2') + document.write('</a>') </script> </td></TR>
<TR><td bgcolor='#FF8181', align=center><font color='blue'> <center> <a href='demo_set_link_popup480S.htm' onClick='return popup(this, "knotes")'> 1</a> </center> </font></td><td bgcolor='#FF8181', ><font color='blue'> 480 S </font></td><td bgcolor='#FF8181', ><font color='blue'>
MrxMyx
- 粉丝: 3423
- 资源: 115