You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sonar-cxx-plugin/src/main/resources/cppcheck.xml
+75-2Lines changed: 75 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Follow these steps to make your custom Custom rules available in SonarQube:
15
15
<li>Create a new rule in SonarQube by "copying" this rule template and specify the <code>CheckId</code> of your custom rule, a title, a description, and a default severity.</li>
16
16
<li>Enable the newly created rule in your quality profile</li>
17
17
</ol>
18
-
<li>Relaunch an analysis on your projects, et voilà, your custom rules are executed!</li>
18
+
<li>Relaunch an analysis on your projects, et voila, your custom rules are executed!</li>
19
19
</ol>
20
20
]]>
21
21
</description>
@@ -1022,7 +1022,7 @@ Follow these steps to make your custom Custom rules available in SonarQube:
<name>'operator=' should either return reference to 'this'</name>
2906
+
<description>
2907
+
'operator=' should either return reference to 'this' instance or be declared private and left unimplemented.
2908
+
</description>
2909
+
</rule>
2910
+
<rule>
2911
+
<key>redundantPointerOp</key>
2912
+
<configkey>redundantPointerOp</configkey>
2913
+
<name>Redundant pointer operation on varname</name>
2914
+
<description>
2915
+
Redundant pointer operation on varname - it's already a pointer.
2916
+
</description>
2917
+
</rule>
2918
+
<rule>
2919
+
<key>throwInNoexceptFunction</key>
2920
+
<configkey>throwInNoexceptFunction</configkey>
2921
+
<name>Exception thrown in function declared not to throw exceptions</name>
2922
+
<description>
2923
+
Exception thrown in function declared not to throw exceptions.
2924
+
</description>
2925
+
</rule>
2926
+
<rule>
2927
+
<key>useAutoPointerMalloc</key>
2928
+
<configkey>useAutoPointerMalloc</configkey>
2929
+
<name>Object pointed by an 'auto_ptr' is destroyed using operator 'delete'</name>
2930
+
<description>
2931
+
Object pointed by an 'auto_ptr' is destroyed using operator 'delete'. You should not use 'auto_ptr' for pointers obtained with function 'malloc'.
0 commit comments