srcanamdw/codescanner/cs_config.xml
author noe\swadi
Thu, 18 Feb 2010 12:29:02 +0530
changeset 1 22878952f6e2
permissions -rw-r--r--
Committing the CodeScanner Core tool This component has been moved from the StaticAnaApps package. BUG : 5889 (http://developer.symbian.org/webbugs/show_bug.cgi?id=5889).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     1
<!-- This is a configuration file for Codescanner from Nokia. -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     2
<codescannerConfig>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     3
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     4
	<sources>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     5
		<!-- source files matching any of the exclude patterns below will not be scanned -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     6
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     7
		<!-- binary files -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     8
		<exclude>.*\.au</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     9
		<exclude>.*\.avi</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    10
		<exclude>.*\.bmp</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    11
		<exclude>.*\.dll</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    12
		<exclude>.*\.doc</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    13
		<exclude>.*\.exe</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    14
		<exclude>.*\.gif</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    15
		<exclude>.*\.jpg</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    16
		<exclude>.*\.mbm</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    17
		<exclude>.*\.mp3</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    18
		<exclude>.*\.mpg</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    19
		<exclude>.*\.png</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    20
		<exclude>.*\.raw</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    21
		<exclude>.*\.rtf</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    22
		<exclude>.*\.tif</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    23
		<exclude>.*\.wav</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    24
		<exclude>.*\.wbmp</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    25
		<exclude>.*\.wmf</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    26
		<exclude>.*\.xls</exclude>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    27
	</sources>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    28
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    29
	<scripts>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    30
		<!-- Every element in this section corresponds to a Codescanner script -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    31
		<!-- Every element has the following common attributes: -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    32
		<!--    enable="true" or "false" -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    33
		<!-- Some scripts have additional attributes or elements. -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    34
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    35
		<accessArrayElementWithoutCheck enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    36
		<accessArrayElementWithoutCheck2 enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    37
		<activestart enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    38
		<activestop enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    39
		<arraypassing enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    40
		<arrayptrcleanup enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    41
		<assertdebuginvariant enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    42
		<baddefines enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    43
		<baseconstruct enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    44
		<callActiveObjectWithoutCheckingOrStopping enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    45
		<changenotification enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    46
		<cleanup enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    47
		<commentcode enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    48
		<connect enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    49
		<ConnectAndDontCloseMemberVariable enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    50
		<constnames enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    51
		<consttdescptr enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    52
		<controlornull enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    53
		<ctltargettype enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    54
		<debugrom enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    55
		<declarename enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    56
		<deleteMemberVariable enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    57
		<destructor enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    58
		<doubleSemiColon enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    59
		<driveletters enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    60
		<eikbuttons enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    61
		<eikonenvstatic enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    62
		<enummembers enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    63
		<enumnames enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    64
		<exportinline enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    65
		<exportpurevirtual enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    66
		<externaldriveletters enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    67
		<foff enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    68
		<forbiddenwords enable="true">
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    69
			<!-- the following regular expression specifies the forbidden words detected by this script -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    70
			<wordsRE>Typhoon|Hurricane|HelloWorld|Calypso|Rubik|Epoc|Nokia Mobile Phones|NMP|Mobile Innovation|(^|\s)S90|(^|\s)S80|(^|\s)S60</wordsRE>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    71
		</forbiddenwords>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    72
		<forgottoputptroncleanupstack enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    73
		<friend enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    74
		<goto enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    75
		<ifassignments enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    76
		<ifpreprocessor enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    77
		<intleaves enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    78
		<jmp enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    79
		<leave enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    80
		<LeaveNoError enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    81
		<leavingoperators enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    82
		<LFunctionCantLeave enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    83
		<!-- the length attribute specifies the largest number of characters permitted by this script -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    84
		<longlines enable="true" length="160" />
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    85
		<magicnumbers enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    86
		<mclassdestructor enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    87
		<memberlc enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    88
		<membervariablecallld enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    89
		<missingcclass enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    90
		<mmpsourcepath enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    91
		<multilangrsc enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    92
		<multipledeclarations enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    93
		<multipleinheritance enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    94
		<mydocs enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    95
		<namespace enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    96
		<newlreferences enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    97
		<noleavetrap enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    98
		<nonconsthbufc enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    99
		<nonconsttdesc enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   100
		<nonleavenew enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   101
		<nonunicodeskins enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   102
		<null enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   103
		<open enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   104
		<pointertoarrays enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   105
		<pragmadisable enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   106
		<pragmamessage enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   107
		<pragmaother enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   108
		<privateinheritance enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   109
		<pushaddrvar enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   110
		<pushmember enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   111
		<readresource enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   112
		<resourcesonheap enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   113
		<returndescriptoroutofscope enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   114
		<rfs enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   115
		<rssnames enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   116
		<stringliterals enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   117
		<stringsinresourcefiles enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   118
		<struct enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   119
		<tcclasses enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   120
		<tclassdestructor enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   121
		<todocomments enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   122
		<trapcleanup enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   123
		<trapeleave enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   124
		<traprunl enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   125
		<trspassing enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   126
		<uids enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   127
		<uncompressedaif enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   128
		<uncompressedbmp enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   129
		<unicodesource enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   130
		<userafter enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   131
		<userfree enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   132
		<userWaitForRequest enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   133
		<variablenames enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   134
		<voidparameter enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   135
		<worryingcomments enable="true">
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   136
			<!-- the following regular expression specifies the worrying comments detected by this script -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   137
			<worryRE>\!|\?|[Zz]{3}|kludge|workaround|\scrap|hack</worryRE>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   138
		</worryingcomments>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   139
	</scripts>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   140
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   141
	<severities>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   142
		<!-- Group scripts based on severity level: -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   143
		<!--    enable="true" or "false" -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   144
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   145
		<high enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   146
		<medium enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   147
		<low enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   148
	</severities>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   149
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   150
	<categories>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   151
		<!-- Group scripts based on category: -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   152
		<!--    enable="true" or "false" -->
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   153
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   154
		<legal enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   155
		<panic enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   156
		<canpanic enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   157
		<functionality enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   158
		<localisation enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   159
		<performance enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   160
		<codingstandards enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   161
		<documentation enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   162
		<codereview enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   163
		<other enable="true"/>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   164
	</categories>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   165
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
   166
</codescannerConfig>