You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Generated Content

This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly.

Version number:
v5.0 

<ac:macro ac:name="info"><ac:parameter ac:name="title">Generated Content</ac:parameter><ac:rich-text-body><p>This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly.</p></ac:rich-text-body></ac:macro>
<p>Version number:<br />
v5.0 </p>

<table><tbody>
<tr>
<th><p> C++ checkers </p></th>
<th><p> Rule </p></th>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="ARR01-CPP. Do not apply the sizeof operator to a pointer when taking the size of an array" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="ARR02-CPP. Explicitly specify array bounds, even if implicitly defined by an initializer" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="ARR30-CPP. Guarantee that array and vector indices are within the valid range" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="DCL01-CPP. Do not reuse variable names in subscopes" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="DCL02-CPP. Use visually distinct identifiers" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="DCL06-CPP. Use meaningful symbolic constants to represent literal values in program logic" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="EXP12-CPP. Do not ignore values returned by functions or methods" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="EXP35-CPP. Do not cast away a const qualification" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="EXP36-CPP. Do not convert pointers into more strictly aligned pointer types" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="FIO07-CPP. Prefer fseek() to rewind()" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="FIO12-CPP. Prefer setvbuf() to setbuf()" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="INT07-CPP. Use only explicitly signed or unsigned char type for numeric values" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="INT09-CPP. Ensure enumeration constants map to unique values" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="INT12-CPP. Do not make assumptions about the type of a plain int bit-field when used in an expression" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="MSC18-CPP. Finish every set of statements associated with a case label with a break statement" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="MSC30-CPP. Do not use the rand() function for generating pseudorandom numbers" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="STR34-CPP. Cast characters to unsigned types before converting to larger integer sizes" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="STR36-CPP. Do not specify the bound of a character array initialized with a string literal" /></ac:link> </p></td>
</tr>
</tbody></table>

  • No labels