PageRenderTime 21ms CodeModel.GetById 10ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/Spss.FxCop

#
Unknown | 266 lines | 266 code | 0 blank | 0 comment | 0 complexity | 744dcff807b77417139d419ff52a1681 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8"?>
  2<FxCopProject Version="1.3" Name="SPSS.NET FxCop Project">
  3 <ProjectOptions>
  4  <SharedProject>False</SharedProject>
  5  <Stylesheet Apply="False">c:\program files\microsoft fxcop 1.30\Xml\FxCopReport.Xsl</Stylesheet>
  6  <SaveMessages>
  7   <Project Status="Active, Excluded" NewOnly="False" />
  8   <Report Status="Active" NewOnly="False" />
  9  </SaveMessages>
 10  <ProjectFile Compress="True" DefaultTargetCheck="True" DefaultRuleCheck="True" SaveByRuleGroup="" Deterministic="False" />
 11  <PermitAnalysis>True</PermitAnalysis>
 12  <SourceLookup>True</SourceLookup>
 13  <AnalysisExceptionsThreshold>100</AnalysisExceptionsThreshold>
 14  <RuleExceptionsThreshold>10</RuleExceptionsThreshold>
 15  <Spelling Locale="en-us" />
 16 </ProjectOptions>
 17 <Targets>
 18  <Target Name="C:\Sandbox\Tools\SPSS.NET\SPSS.NET\bin\Release\SPSS.net.dll" Analyze="True" AnalyzeAllChildren="False">
 19   <Modules AnalyzeAllChildren="False">
 20    <Module Name="spss.net.dll" Analyze="True" AnalyzeAllChildren="False">
 21     <Namespaces AnalyzeAllChildren="False">
 22      <Namespace Name="SpssDotNet" Analyze="True" AnalyzeAllChildren="False">
 23       <Classes AnalyzeAllChildren="False">
 24        <Class Name="SpssCase" Analyze="True" AnalyzeAllChildren="True" />
 25        <Class Name="SpssCasesCollection" Analyze="True" AnalyzeAllChildren="True" />
 26        <Class Name="SpssConvert" Analyze="True" AnalyzeAllChildren="True" />
 27        <Class Name="SpssDataDocument" Analyze="True" AnalyzeAllChildren="True" />
 28        <Class Name="SpssDateVariable" Analyze="True" AnalyzeAllChildren="True" />
 29        <Class Name="SpssException" Analyze="True" AnalyzeAllChildren="True" />
 30        <Class Name="SpssNumericVariable" Analyze="True" AnalyzeAllChildren="True" />
 31        <Class Name="SpssNumericVariableValueLabelsCollection" Analyze="True" AnalyzeAllChildren="True" />
 32        <Class Name="SpssStringVariable" Analyze="True" AnalyzeAllChildren="True" />
 33        <Class Name="SpssStringVariableValueLabelsCollection" Analyze="True" AnalyzeAllChildren="True" />
 34        <Class Name="SpssVariable" Analyze="True" AnalyzeAllChildren="True" />
 35        <Class Name="SpssVariableNameConflictException" Analyze="True" AnalyzeAllChildren="True" />
 36        <Class Name="SpssVariablesCollection" Analyze="True" AnalyzeAllChildren="True" />
 37        <Class Name="SpssVariableValueLabelsCollection" Analyze="True" AnalyzeAllChildren="True" />
 38        <Class Name="VarMetaData" Analyze="True" AnalyzeAllChildren="True" />
 39       </Classes>
 40       <Delegates AnalyzeAllChildren="True" />
 41       <Enums AnalyzeAllChildren="False">
 42        <Enum Name="SpssFileAccess" Analyze="True" AnalyzeAllChildren="True" />
 43       </Enums>
 44      </Namespace>
 45     </Namespaces>
 46     <Resources AnalyzeAllChildren="True" />
 47    </Module>
 48   </Modules>
 49  </Target>
 50 </Targets>
 51 <Rules>
 52  <RuleFiles>
 53   <RuleFile Name="$(FxCopDir)\Rules\PerformanceRules.dll" Enabled="True" AllRulesEnabled="True" />
 54   <RuleFile Name="$(FxCopDir)\Rules\ComRules.dll" Enabled="True" AllRulesEnabled="True" />
 55   <RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
 56   <RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
 57   <RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="True" />
 58   <RuleFile Name="$(FxCopDir)\Rules\GlobalizationRules.dll" Enabled="False" AllRulesEnabled="False" />
 59   <RuleFile Name="$(FxCopDir)\Rules\NamingRules.dll" Enabled="True" AllRulesEnabled="True" />
 60  </RuleFiles>
 61  <Groups />
 62  <Settings />
 63 </Rules>
 64 <FxCopReport Version="1.3" LastAnalysis="2005-01-03 23:35:09Z">
 65  <Targets>
 66   <Target Name="C:\Sandbox\Tools\SPSS.NET\SPSS.NET\bin\Release\SPSS.net.dll">
 67    <Modules>
 68     <Module Name="spss.net.dll">
 69      <Namespaces>
 70       <Namespace Name="SpssDotNet">
 71        <Classes>
 72         <Class Name="SpssStringVariableValueLabelsCollection">
 73          <Properties>
 74           <Property Name="Item[System.String]">
 75            <Methods>
 76             <Method Name="set_Item(System.String,System.String):System.Void">
 77              <Messages>
 78               <Message Status="Excluded" Created="2005-01-03 22:51:14Z">
 79                <Rule TypeName="ParameterNamesDifferByMoreThanCase" />
 80                <Issues>
 81                 <Issue Certainty="99" Level="Error">
 82                  <Resolution>
 83                   <Data>
 84                    <Items>
 85                     <Item>'Value' and 'value'</Item>
 86                    </Items>
 87                   </Data>
 88                  </Resolution>
 89                 </Issue>
 90                </Issues>
 91                <Notes>
 92                 <User Name="andrew">
 93                  <Note ID="1" />
 94                 </User>
 95                </Notes>
 96               </Message>
 97              </Messages>
 98             </Method>
 99            </Methods>
100           </Property>
101          </Properties>
102         </Class>
103         <Class Name="SpssVariable">
104          <Properties>
105           <Property Name="Name">
106            <Methods>
107             <Method Name="set_Name(System.String):System.Void">
108              <Messages>
109               <Message Status="Active" Created="2005-01-03 22:18:21Z">
110                <Rule TypeName="CallArgumentExceptionWithCorrectArguments" />
111                <Issues>
112                 <Issue Certainty="99" Level="CriticalError">
113                  <Resolution>
114                   <Data>
115                    <Id>OneArgumentShouldBeParameterName</Id>
116                    <Items>
117                     <Item>System.ArgumentNullException</Item>
118                     <Item>ArgumentNullException..ctor(String paramName)</Item>
119                     <Item>Name</Item>
120                    </Items>
121                   </Data>
122                  </Resolution>
123                 </Issue>
124                </Issues>
125               </Message>
126              </Messages>
127             </Method>
128            </Methods>
129           </Property>
130          </Properties>
131         </Class>
132         <Class Name="SpssNumericVariableValueLabelsCollection">
133          <Properties>
134           <Property Name="Item[System.Double]">
135            <Messages>
136             <Message Status="Excluded" Created="2005-01-03 22:51:14Z">
137              <Rule TypeName="OnlyIntegralValuesOrStringsShouldBeUsedForIndexers" />
138              <Issues>
139               <Issue Certainty="95" Level="Error">
140                <Resolution>
141                 <Data>
142                  <Items>
143                   <Item>SpssNumericVariableValueLabelsCollection.get_Item(Double Value)</Item>
144                  </Items>
145                 </Data>
146                </Resolution>
147               </Issue>
148              </Issues>
149              <Notes>
150               <User Name="andrew">
151                <Note ID="2" />
152               </User>
153              </Notes>
154             </Message>
155            </Messages>
156            <Methods>
157             <Method Name="set_Item(System.Double,System.String):System.Void">
158              <Messages>
159               <Message Status="Excluded" Created="2005-01-03 22:51:14Z">
160                <Rule TypeName="ParameterNamesDifferByMoreThanCase" />
161                <Issues>
162                 <Issue Certainty="99" Level="Error">
163                  <Resolution>
164                   <Data>
165                    <Items>
166                     <Item>'Value' and 'value'</Item>
167                    </Items>
168                   </Data>
169                  </Resolution>
170                 </Issue>
171                </Issues>
172                <Notes>
173                 <User Name="andrew">
174                  <Note ID="3" />
175                 </User>
176                </Notes>
177               </Message>
178              </Messages>
179             </Method>
180            </Methods>
181           </Property>
182          </Properties>
183         </Class>
184         <Class Name="SpssVariableValueLabelsCollection">
185          <Properties>
186           <Property Name="Item[System.Object]">
187            <Methods>
188             <Method Name="set_Item(System.Object,System.String):System.Void">
189              <Messages>
190               <Message Status="Excluded" Created="2005-01-03 22:50:44Z">
191                <Rule TypeName="ParameterNamesDifferByMoreThanCase" />
192                <Issues>
193                 <Issue Certainty="99" Level="Error">
194                  <Resolution>
195                   <Data>
196                    <Items>
197                     <Item>'Value' and 'value'</Item>
198                    </Items>
199                   </Data>
200                  </Resolution>
201                 </Issue>
202                </Issues>
203                <Notes>
204                 <User Name="andrew">
205                  <Note ID="0" />
206                 </User>
207                </Notes>
208               </Message>
209              </Messages>
210             </Method>
211            </Methods>
212           </Property>
213          </Properties>
214         </Class>
215        </Classes>
216       </Namespace>
217      </Namespaces>
218     </Module>
219    </Modules>
220   </Target>
221  </Targets>
222  <Notes>
223   <User Name="andrew">
224    <Note ID="0" Modified="2005-01-03 23:10:18Z">C# controls value, an implied parameter name.</Note>
225    <Note ID="1" Modified="2005-01-03 22:51:47Z">C# calls it value, but SPSS has Values, so the conflict is unavoidable.</Note>
226    <Note ID="2" Modified="2005-01-03 22:53:02Z">Doubles are what SPSS uses natively.  And they will probably always be used as integers anyway.</Note>
227    <Note ID="3" Modified="2005-01-03 22:53:18Z">C# calls it value, but SPSS has Values, so the conflict is unavoidable.</Note>
228   </User>
229  </Notes>
230  <Rules>
231   <Rule TypeName="CallArgumentExceptionWithCorrectArguments">
232    <Name>Call ArgumentException with correct arguments</Name>
233    <Description>String arguments passed to constructors of ArgumentException and its derived types should be correct.</Description>
234    <LongDescription>Types derived from ArgumentException have inconsistent constructor overloads with respect to the message and paramName parameters as compared to ArgumentException.</LongDescription>
235    <GroupOwner>MS FxCopDev</GroupOwner>
236    <DevOwner />
237    <Url>http://www.gotdotnet.com/team/fxcop/docs/rules/UsageRules/CallArgumentExceptionWithCorrectArguments.html</Url>
238    <Email>askfxcop@microsoft.com</Email>
239    <MessageLevel Certainty="99">CriticalError</MessageLevel>
240    <File Name="UsageRules.dll" Version="1.30.0.0" />
241   </Rule>
242   <Rule TypeName="OnlyIntegralValuesOrStringsShouldBeUsedForIndexers">
243    <Name>Only integral values or strings should be used for indexers</Name>
244    <Description>Indexers (indexed properties) should use either integer or string types for indexing values. These types are easy to use and commonly used for indexing data structures; using other types can significantly reduce the usability of the library.</Description>
245    <LongDescription>For example, public char this [int index] is the C# signature for the String type's indexer.</LongDescription>
246    <GroupOwner>MS FxCopDev</GroupOwner>
247    <DevOwner />
248    <Url>http://www.gotdotnet.com/team/fxcop/docs/rules/DesignRules/OnlyIntegralValuesOrStrings.html</Url>
249    <Email>askfxcop@microsoft.com</Email>
250    <MessageLevel Certainty="95">Error</MessageLevel>
251    <File Name="DesignRules.dll" Version="1.30.0.0" />
252   </Rule>
253   <Rule TypeName="ParameterNamesDifferByMoreThanCase">
254    <Name>Parameter names differ by more than case</Name>
255    <Description>Do not use names that require case sensitivity for uniqueness.</Description>
256    <LongDescription />
257    <GroupOwner>MS FxCopDev</GroupOwner>
258    <DevOwner />
259    <Url>http://www.gotdotnet.com/team/fxcop/docs/rules/NamingRules/ParmNamesDifferByMoreThanCase.html</Url>
260    <Email>askfxcop@microsoft.com</Email>
261    <MessageLevel Certainty="99">Error</MessageLevel>
262    <File Name="NamingRules.dll" Version="1.30.0.0" />
263   </Rule>
264  </Rules>
265 </FxCopReport>
266</FxCopProject>