https://XXX/api/rules/search?activation=true&qprofile=XXX&ps=290&f=severity,name,htmlDesc,htmlNote,params,actives&active_severities=INFO,MINOR,MAJOR,CRITICAL,BLOCKER&facets=active_severities"key": "squid:S00117", "name": "Local variable and method parameter names should comply with a naming convention", "htmlDesc": "<p>Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all local\nvariable and function parameter names match a provided regular expression.</p>\n<h2>Noncompliant Code Example</h2>\n<p>With the default regular expression <code>^[a-z][a-zA-Z0-9]*$</code>:</p>\n<pre>\npublic void doSomething(int my_param) {\n int LOCAL;\n ...\n}\n</pre>\n<h2>Compliant Solution</h2>\n<pre>\npublic void doSomething(int myParam) {\n int local;\n ...\n}\n</pre>\n<h2>Exceptions</h2>\n<p>Loop counters are ignored by this rule.</p>\n<pre>\nfor (int i_1 = 0; i_1 < limit; i_1++) { // Compliant\n // ...\n}\n</pre>", "htmlNote": "<h2>Lorem ipsum...<br/></blockquote>", "severity": "MINOR", "params": [ { "key": "format", "htmlDesc": "Regular expression used to check the names against.", "defaultValue": "^[a-z][a-zA-Z0-9]*$", "type": "STRING" } ], "type": "CODE_SMELL"--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/FLXs9600nCc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/49e806c7-a3cf-4ae6-9968-3d585835e741%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/bc142403-2ec8-4564-9b49-249a779de37d%40googlegroups.com.