.fbwarnings 93 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <BugCollection version="1.1.0" sequence="0" timestamp="-1" analysisTimestamp="1193065894037" release="">
  3. <Project filename="&lt;&lt;unnamed project&gt;&gt;">
  4. <AuxClasspathEntry>E:\DATEN\SOURCEN\java\MCSUtils\bin</AuxClasspathEntry>
  5. <AuxClasspathEntry>D:\sprachen\java\ide\eclipse_3.2\plugins\org.junit_3.8.1\junit.jar</AuxClasspathEntry>
  6. <AuxClasspathEntry>D:\sprachen\java\ide\eclipse_3.2\plugins\org.junit_3.8.1\junit-addons-1.4.jar</AuxClasspathEntry>
  7. </Project>
  8. <BugInstance type="DLS_DEAD_LOCAL_STORE" priority="3" abbrev="DLS" category="STYLE">
  9. <Class classname="de.mcs.utils.ArrayUtils">
  10. <SourceLine classname="de.mcs.utils.ArrayUtils" sourcefile="ArrayUtils.java" sourcepath="de/mcs/utils/ArrayUtils.java"/>
  11. </Class>
  12. <Method classname="de.mcs.utils.ArrayUtils" name="stringToArray" signature="(Ljava/lang/String;)[Ljava/lang/String;" isStatic="true">
  13. <SourceLine classname="de.mcs.utils.ArrayUtils" start="69" end="114" startBytecode="0" endBytecode="91" sourcefile="ArrayUtils.java" sourcepath="de/mcs/utils/ArrayUtils.java"/>
  14. </Method>
  15. <LocalVariable name="stop" register="5" pc="18" role="LOCAL_VARIABLE_NAMED"/>
  16. <SourceLine classname="de.mcs.utils.ArrayUtils" start="73" end="73" startBytecode="16" endBytecode="16" sourcefile="ArrayUtils.java" sourcepath="de/mcs/utils/ArrayUtils.java"/>
  17. </BugInstance>
  18. <BugInstance type="ITA_INEFFICIENT_TO_ARRAY" priority="3" abbrev="ITA" category="PERFORMANCE">
  19. <Class classname="de.mcs.utils.ArrayUtils">
  20. <SourceLine classname="de.mcs.utils.ArrayUtils" sourcefile="ArrayUtils.java" sourcepath="de/mcs/utils/ArrayUtils.java"/>
  21. </Class>
  22. <Method classname="de.mcs.utils.ArrayUtils" name="stringToArray" signature="(Ljava/lang/String;)[Ljava/lang/String;" isStatic="true">
  23. <SourceLine classname="de.mcs.utils.ArrayUtils" start="69" end="114" startBytecode="0" endBytecode="215" sourcefile="ArrayUtils.java" sourcepath="de/mcs/utils/ArrayUtils.java"/>
  24. </Method>
  25. <SourceLine classname="de.mcs.utils.ArrayUtils" start="114" end="114" startBytecode="209" endBytecode="209" sourcefile="ArrayUtils.java" sourcepath="de/mcs/utils/ArrayUtils.java"/>
  26. </BugInstance>
  27. <BugInstance type="DLS_DEAD_LOCAL_STORE" priority="2" abbrev="DLS" category="STYLE">
  28. <Class classname="de.mcs.utils.Conversions">
  29. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  30. </Class>
  31. <Method classname="de.mcs.utils.Conversions" name="byteToDouble" signature="([BI)D" isStatic="true">
  32. <SourceLine classname="de.mcs.utils.Conversions" start="333" end="335" startBytecode="0" endBytecode="11" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  33. </Method>
  34. <LocalVariable name="dval" register="2" pc="4" role="LOCAL_VARIABLE_NAMED"/>
  35. <SourceLine classname="de.mcs.utils.Conversions" start="333" end="333" startBytecode="3" endBytecode="3" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  36. </BugInstance>
  37. <BugInstance type="DLS_DEAD_LOCAL_STORE" priority="2" abbrev="DLS" category="STYLE">
  38. <Class classname="de.mcs.utils.Conversions">
  39. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  40. </Class>
  41. <Method classname="de.mcs.utils.Conversions" name="byteToFloat" signature="([BI)F" isStatic="true">
  42. <SourceLine classname="de.mcs.utils.Conversions" start="257" end="259" startBytecode="0" endBytecode="11" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  43. </Method>
  44. <LocalVariable name="fval" register="2" pc="4" role="LOCAL_VARIABLE_NAMED"/>
  45. <SourceLine classname="de.mcs.utils.Conversions" start="257" end="257" startBytecode="3" endBytecode="3" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  46. </BugInstance>
  47. <BugInstance type="DLS_DEAD_LOCAL_STORE" priority="2" abbrev="DLS" category="STYLE">
  48. <Class classname="de.mcs.utils.Conversions">
  49. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  50. </Class>
  51. <Method classname="de.mcs.utils.Conversions" name="byteToInt" signature="([BI)I" isStatic="true">
  52. <SourceLine classname="de.mcs.utils.Conversions" start="181" end="183" startBytecode="0" endBytecode="11" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  53. </Method>
  54. <LocalVariable name="ival" register="2" pc="4" role="LOCAL_VARIABLE_NAMED"/>
  55. <SourceLine classname="de.mcs.utils.Conversions" start="181" end="181" startBytecode="3" endBytecode="3" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  56. </BugInstance>
  57. <BugInstance type="DLS_DEAD_LOCAL_STORE" priority="2" abbrev="DLS" category="STYLE">
  58. <Class classname="de.mcs.utils.Conversions">
  59. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  60. </Class>
  61. <Method classname="de.mcs.utils.Conversions" name="byteToLong" signature="([BI)J" isStatic="true">
  62. <SourceLine classname="de.mcs.utils.Conversions" start="295" end="297" startBytecode="0" endBytecode="11" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  63. </Method>
  64. <LocalVariable name="lval" register="2" pc="4" role="LOCAL_VARIABLE_NAMED"/>
  65. <SourceLine classname="de.mcs.utils.Conversions" start="295" end="295" startBytecode="3" endBytecode="3" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  66. </BugInstance>
  67. <BugInstance type="DLS_DEAD_LOCAL_STORE" priority="2" abbrev="DLS" category="STYLE">
  68. <Class classname="de.mcs.utils.Conversions">
  69. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  70. </Class>
  71. <Method classname="de.mcs.utils.Conversions" name="byteToShort" signature="([BI)S" isStatic="true">
  72. <SourceLine classname="de.mcs.utils.Conversions" start="219" end="221" startBytecode="0" endBytecode="11" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  73. </Method>
  74. <LocalVariable name="sval" register="2" pc="4" role="LOCAL_VARIABLE_NAMED"/>
  75. <SourceLine classname="de.mcs.utils.Conversions" start="219" end="219" startBytecode="3" endBytecode="3" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  76. </BugInstance>
  77. <BugInstance type="DM_FP_NUMBER_CTOR" priority="3" abbrev="Dm" category="PERFORMANCE">
  78. <Class classname="de.mcs.utils.Conversions">
  79. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  80. </Class>
  81. <Method classname="de.mcs.utils.Conversions" name="byteToNumber" signature="([BLjava/lang/Object;)Ljava/lang/Object;" isStatic="true">
  82. <SourceLine classname="de.mcs.utils.Conversions" start="616" end="643" startBytecode="0" endBytecode="241" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  83. </Method>
  84. <SourceLine classname="de.mcs.utils.Conversions" start="630" end="630" startBytecode="128" endBytecode="128" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  85. <String value="Float(float)"/>
  86. <String value="Float.valueOf(float)"/>
  87. </BugInstance>
  88. <BugInstance type="DM_FP_NUMBER_CTOR" priority="3" abbrev="Dm" category="PERFORMANCE">
  89. <Class classname="de.mcs.utils.Conversions">
  90. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  91. </Class>
  92. <Method classname="de.mcs.utils.Conversions" name="byteToNumber" signature="([BLjava/lang/Object;)Ljava/lang/Object;" isStatic="true">
  93. <SourceLine classname="de.mcs.utils.Conversions" start="616" end="643" startBytecode="0" endBytecode="241" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  94. </Method>
  95. <SourceLine classname="de.mcs.utils.Conversions" start="636" end="636" startBytecode="194" endBytecode="194" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  96. <String value="Double(double)"/>
  97. <String value="Double.valueOf(double)"/>
  98. </BugInstance>
  99. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  100. <Class classname="de.mcs.utils.Conversions">
  101. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  102. </Class>
  103. <Method classname="de.mcs.utils.Conversions" name="byteToNumber" signature="([BLjava/lang/Object;)Ljava/lang/Object;" isStatic="true">
  104. <SourceLine classname="de.mcs.utils.Conversions" start="616" end="643" startBytecode="0" endBytecode="241" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  105. </Method>
  106. <SourceLine classname="de.mcs.utils.Conversions" start="622" end="622" startBytecode="38" endBytecode="38" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  107. <String value="Integer(int)"/>
  108. <String value="Integer.valueOf(int)"/>
  109. </BugInstance>
  110. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  111. <Class classname="de.mcs.utils.Conversions">
  112. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  113. </Class>
  114. <Method classname="de.mcs.utils.Conversions" name="byteToNumber" signature="([BLjava/lang/Object;)Ljava/lang/Object;" isStatic="true">
  115. <SourceLine classname="de.mcs.utils.Conversions" start="616" end="643" startBytecode="0" endBytecode="241" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  116. </Method>
  117. <SourceLine classname="de.mcs.utils.Conversions" start="624" end="624" startBytecode="62" endBytecode="62" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  118. <String value="Byte(byte)"/>
  119. <String value="Byte.valueOf(byte)"/>
  120. </BugInstance>
  121. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  122. <Class classname="de.mcs.utils.Conversions">
  123. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  124. </Class>
  125. <Method classname="de.mcs.utils.Conversions" name="byteToNumber" signature="([BLjava/lang/Object;)Ljava/lang/Object;" isStatic="true">
  126. <SourceLine classname="de.mcs.utils.Conversions" start="616" end="643" startBytecode="0" endBytecode="241" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  127. </Method>
  128. <SourceLine classname="de.mcs.utils.Conversions" start="627" end="627" startBytecode="95" endBytecode="95" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  129. <String value="Short(short)"/>
  130. <String value="Short.valueOf(short)"/>
  131. </BugInstance>
  132. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  133. <Class classname="de.mcs.utils.Conversions">
  134. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  135. </Class>
  136. <Method classname="de.mcs.utils.Conversions" name="byteToNumber" signature="([BLjava/lang/Object;)Ljava/lang/Object;" isStatic="true">
  137. <SourceLine classname="de.mcs.utils.Conversions" start="616" end="643" startBytecode="0" endBytecode="241" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  138. </Method>
  139. <SourceLine classname="de.mcs.utils.Conversions" start="633" end="633" startBytecode="161" endBytecode="161" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  140. <String value="Long(long)"/>
  141. <String value="Long.valueOf(long)"/>
  142. </BugInstance>
  143. <BugInstance type="PZLA_PREFER_ZERO_LENGTH_ARRAYS" priority="3" abbrev="PZLA" category="STYLE">
  144. <Class classname="de.mcs.utils.Conversions">
  145. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  146. </Class>
  147. <Method classname="de.mcs.utils.Conversions" name="doubleToByte" signature="(D)[B" isStatic="true">
  148. <SourceLine classname="de.mcs.utils.Conversions" start="588" end="588" startBytecode="0" endBytecode="1" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  149. </Method>
  150. <SourceLine classname="de.mcs.utils.Conversions" start="588" end="588" startBytecode="1" endBytecode="1" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  151. </BugInstance>
  152. <BugInstance type="PZLA_PREFER_ZERO_LENGTH_ARRAYS" priority="3" abbrev="PZLA" category="STYLE">
  153. <Class classname="de.mcs.utils.Conversions">
  154. <SourceLine classname="de.mcs.utils.Conversions" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  155. </Class>
  156. <Method classname="de.mcs.utils.Conversions" name="floatToByte" signature="(F)[B" isStatic="true">
  157. <SourceLine classname="de.mcs.utils.Conversions" start="535" end="535" startBytecode="0" endBytecode="1" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  158. </Method>
  159. <SourceLine classname="de.mcs.utils.Conversions" start="535" end="535" startBytecode="1" endBytecode="1" sourcefile="Conversions.java" sourcepath="de/mcs/utils/Conversions.java"/>
  160. </BugInstance>
  161. <BugInstance type="PZLA_PREFER_ZERO_LENGTH_ARRAYS" priority="3" abbrev="PZLA" category="STYLE">
  162. <Class classname="de.mcs.utils.ExtendedProperties">
  163. <SourceLine classname="de.mcs.utils.ExtendedProperties" sourcefile="ExtendedProperties.java" sourcepath="de/mcs/utils/ExtendedProperties.java"/>
  164. </Class>
  165. <Method classname="de.mcs.utils.ExtendedProperties" name="getStrings" signature="(Ljava/lang/String;)[Ljava/lang/String;" isStatic="false">
  166. <SourceLine classname="de.mcs.utils.ExtendedProperties" start="178" end="182" startBytecode="0" endBytecode="20" sourcefile="ExtendedProperties.java" sourcepath="de/mcs/utils/ExtendedProperties.java"/>
  167. </Method>
  168. <SourceLine classname="de.mcs.utils.ExtendedProperties" start="182" end="182" startBytecode="20" endBytecode="20" sourcefile="ExtendedProperties.java" sourcepath="de/mcs/utils/ExtendedProperties.java"/>
  169. </BugInstance>
  170. <BugInstance type="SE_NO_SERIALVERSIONID" priority="3" abbrev="SnVI" category="BAD_PRACTICE">
  171. <Class classname="de.mcs.utils.ExtendedProperties">
  172. <SourceLine classname="de.mcs.utils.ExtendedProperties" sourcefile="ExtendedProperties.java" sourcepath="de/mcs/utils/ExtendedProperties.java"/>
  173. </Class>
  174. </BugInstance>
  175. <BugInstance type="DM_EXIT" priority="3" abbrev="Dm" category="BAD_PRACTICE">
  176. <Class classname="de.mcs.utils.FileTool">
  177. <SourceLine classname="de.mcs.utils.FileTool" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  178. </Class>
  179. <Method classname="de.mcs.utils.FileTool" name="readFileToArrayList" signature="(Ljava/lang/String;)Ljava/util/ArrayList;" isStatic="true">
  180. <SourceLine classname="de.mcs.utils.FileTool" start="565" end="594" startBytecode="0" endBytecode="206" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  181. </Method>
  182. <SourceLine classname="de.mcs.utils.FileTool" start="574" end="574" startBytecode="71" endBytecode="71" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  183. </BugInstance>
  184. <BugInstance type="DM_EXIT" priority="3" abbrev="Dm" category="BAD_PRACTICE">
  185. <Class classname="de.mcs.utils.FileTool">
  186. <SourceLine classname="de.mcs.utils.FileTool" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  187. </Class>
  188. <Method classname="de.mcs.utils.FileTool" name="readFileToString" signature="(Ljava/lang/String;)Ljava/lang/String;" isStatic="true">
  189. <SourceLine classname="de.mcs.utils.FileTool" start="605" end="636" startBytecode="0" endBytecode="209" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  190. </Method>
  191. <SourceLine classname="de.mcs.utils.FileTool" start="614" end="614" startBytecode="71" endBytecode="71" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  192. </BugInstance>
  193. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  194. <Class classname="de.mcs.utils.FileTool">
  195. <SourceLine classname="de.mcs.utils.FileTool" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  196. </Class>
  197. <Method classname="de.mcs.utils.FileTool" name="writeStringToFile" signature="(Ljava/lang/String;Ljava/lang/String;)V" isStatic="true">
  198. <SourceLine classname="de.mcs.utils.FileTool" start="649" end="658" startBytecode="0" endBytecode="22" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  199. </Method>
  200. <SourceLine classname="de.mcs.utils.FileTool" start="651" end="651" startBytecode="9" endBytecode="9" sourcefile="FileTool.java" sourcepath="de/mcs/utils/FileTool.java"/>
  201. </BugInstance>
  202. <BugInstance type="DM_EXIT" priority="3" abbrev="Dm" category="BAD_PRACTICE">
  203. <Class classname="de.mcs.utils.Files">
  204. <SourceLine classname="de.mcs.utils.Files" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  205. </Class>
  206. <Method classname="de.mcs.utils.Files" name="readFileToArrayList" signature="(Ljava/lang/String;)Ljava/util/ArrayList;" isStatic="true">
  207. <SourceLine classname="de.mcs.utils.Files" start="801" end="827" startBytecode="0" endBytecode="205" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  208. </Method>
  209. <SourceLine classname="de.mcs.utils.Files" start="808" end="808" startBytecode="71" endBytecode="71" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  210. </BugInstance>
  211. <BugInstance type="DM_EXIT" priority="3" abbrev="Dm" category="BAD_PRACTICE">
  212. <Class classname="de.mcs.utils.Files">
  213. <SourceLine classname="de.mcs.utils.Files" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  214. </Class>
  215. <Method classname="de.mcs.utils.Files" name="readFileToString" signature="(Ljava/lang/String;)Ljava/lang/String;" isStatic="true">
  216. <SourceLine classname="de.mcs.utils.Files" start="838" end="865" startBytecode="0" endBytecode="203" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  217. </Method>
  218. <SourceLine classname="de.mcs.utils.Files" start="845" end="845" startBytecode="71" endBytecode="71" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  219. </BugInstance>
  220. <BugInstance type="ITA_INEFFICIENT_TO_ARRAY" priority="3" abbrev="ITA" category="PERFORMANCE">
  221. <Class classname="de.mcs.utils.Files">
  222. <SourceLine classname="de.mcs.utils.Files" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  223. </Class>
  224. <Method classname="de.mcs.utils.Files" name="getFiles" signature="(Ljava/io/File;Z)[Ljava/io/File;" isStatic="true">
  225. <SourceLine classname="de.mcs.utils.Files" start="268" end="281" startBytecode="0" endBytecode="107" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  226. </Method>
  227. <SourceLine classname="de.mcs.utils.Files" start="281" end="281" startBytecode="101" endBytecode="101" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  228. </BugInstance>
  229. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  230. <Class classname="de.mcs.utils.Files">
  231. <SourceLine classname="de.mcs.utils.Files" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  232. </Class>
  233. <Method classname="de.mcs.utils.Files" name="computeMD5FromFile" signature="(Ljava/lang/String;)Ljava/lang/String;" isStatic="true">
  234. <SourceLine classname="de.mcs.utils.Files" start="116" end="170" startBytecode="0" endBytecode="125" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  235. </Method>
  236. <SourceLine classname="de.mcs.utils.Files" start="122" end="122" startBytecode="11" endBytecode="11" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  237. </BugInstance>
  238. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  239. <Class classname="de.mcs.utils.Files">
  240. <SourceLine classname="de.mcs.utils.Files" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  241. </Class>
  242. <Method classname="de.mcs.utils.Files" name="writeStringToFile" signature="(Ljava/lang/String;Ljava/lang/String;)V" isStatic="true">
  243. <SourceLine classname="de.mcs.utils.Files" start="877" end="886" startBytecode="0" endBytecode="22" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  244. </Method>
  245. <SourceLine classname="de.mcs.utils.Files" start="879" end="879" startBytecode="9" endBytecode="9" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  246. </BugInstance>
  247. <BugInstance type="RV_RETURN_VALUE_IGNORED" priority="3" abbrev="RV" category="CORRECTNESS">
  248. <Class classname="de.mcs.utils.Files">
  249. <SourceLine classname="de.mcs.utils.Files" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  250. </Class>
  251. <Method classname="de.mcs.utils.Files" name="fileCopy" signature="(Ljava/io/File;Ljava/io/File;Z)V" isStatic="true">
  252. <SourceLine classname="de.mcs.utils.Files" start="191" end="239" startBytecode="0" endBytecode="213" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  253. </Method>
  254. <Method classname="java.io.File" name="createNewFile" signature="()Z" isStatic="false" role="METHOD_CALLED">
  255. <SourceLine classname="java.io.File"/>
  256. </Method>
  257. <SourceLine classname="de.mcs.utils.Files" start="192" end="192" startBytecode="8" endBytecode="8" sourcefile="Files.java" sourcepath="de/mcs/utils/Files.java"/>
  258. </BugInstance>
  259. <BugInstance type="DM_EXIT" priority="3" abbrev="Dm" category="BAD_PRACTICE">
  260. <Class classname="de.mcs.utils.FolderZipper">
  261. <SourceLine classname="de.mcs.utils.FolderZipper" sourcefile="FolderZipper.java" sourcepath="de/mcs/utils/FolderZipper.java"/>
  262. </Class>
  263. <Method classname="de.mcs.utils.FolderZipper" name="zipFolder" signature="(Ljava/lang/String;Ljava/lang/String;)V" isStatic="true">
  264. <SourceLine classname="de.mcs.utils.FolderZipper" start="49" end="66" startBytecode="0" endBytecode="61" sourcefile="FolderZipper.java" sourcepath="de/mcs/utils/FolderZipper.java"/>
  265. </Method>
  266. <SourceLine classname="de.mcs.utils.FolderZipper" start="56" end="56" startBytecode="33" endBytecode="33" sourcefile="FolderZipper.java" sourcepath="de/mcs/utils/FolderZipper.java"/>
  267. </BugInstance>
  268. <BugInstance type="REC_CATCH_EXCEPTION" priority="3" abbrev="REC" category="STYLE">
  269. <Class classname="de.mcs.utils.FolderZipper">
  270. <SourceLine classname="de.mcs.utils.FolderZipper" sourcefile="FolderZipper.java" sourcepath="de/mcs/utils/FolderZipper.java"/>
  271. </Class>
  272. <Method classname="de.mcs.utils.FolderZipper" name="addToZip" signature="(Ljava/lang/String;Ljava/lang/String;Ljava/util/zip/ZipOutputStream;)V" isStatic="true">
  273. <SourceLine classname="de.mcs.utils.FolderZipper" start="83" end="116" startBytecode="0" endBytecode="232" sourcefile="FolderZipper.java" sourcepath="de/mcs/utils/FolderZipper.java"/>
  274. </Method>
  275. <SourceLine classname="de.mcs.utils.FolderZipper" start="112" end="112" startBytecode="225" endBytecode="225" sourcefile="FolderZipper.java" sourcepath="de/mcs/utils/FolderZipper.java"/>
  276. </BugInstance>
  277. <BugInstance type="DM_CONVERT_CASE" priority="3" abbrev="Dm" category="I18N">
  278. <Class classname="de.mcs.utils.GetEnviroment">
  279. <SourceLine classname="de.mcs.utils.GetEnviroment" sourcefile="GetEnviroment.java" sourcepath="de/mcs/utils/GetEnviroment.java"/>
  280. </Class>
  281. <Method classname="de.mcs.utils.GetEnviroment" name="&lt;clinit&gt;" signature="()V" isStatic="true">
  282. <SourceLine classname="de.mcs.utils.GetEnviroment" start="41" end="30" startBytecode="0" endBytecode="167" sourcefile="GetEnviroment.java" sourcepath="de/mcs/utils/GetEnviroment.java"/>
  283. </Method>
  284. <SourceLine classname="de.mcs.utils.GetEnviroment" start="45" end="45" startBytecode="9" endBytecode="9" sourcefile="GetEnviroment.java" sourcepath="de/mcs/utils/GetEnviroment.java"/>
  285. </BugInstance>
  286. <BugInstance type="PZLA_PREFER_ZERO_LENGTH_ARRAYS" priority="3" abbrev="PZLA" category="STYLE">
  287. <Class classname="de.mcs.utils.MD5Utils">
  288. <SourceLine classname="de.mcs.utils.MD5Utils" sourcefile="MD5Utils.java" sourcepath="de/mcs/utils/MD5Utils.java"/>
  289. </Class>
  290. <Method classname="de.mcs.utils.MD5Utils" name="md5Bytes" signature="([B)[B" isStatic="true">
  291. <SourceLine classname="de.mcs.utils.MD5Utils" start="48" end="56" startBytecode="0" endBytecode="24" sourcefile="MD5Utils.java" sourcepath="de/mcs/utils/MD5Utils.java"/>
  292. </Method>
  293. <SourceLine classname="de.mcs.utils.MD5Utils" start="56" end="56" startBytecode="24" endBytecode="24" sourcefile="MD5Utils.java" sourcepath="de/mcs/utils/MD5Utils.java"/>
  294. </BugInstance>
  295. <BugInstance type="SF_SWITCH_FALLTHROUGH" priority="2" abbrev="SF" category="STYLE">
  296. <Class classname="de.mcs.utils.NumberHelper">
  297. <SourceLine classname="de.mcs.utils.NumberHelper" sourcefile="NumberHelper.java" sourcepath="de/mcs/utils/NumberHelper.java"/>
  298. </Class>
  299. <Method classname="de.mcs.utils.NumberHelper" name="parseTime" signature="(Ljava/lang/String;)J" isStatic="true">
  300. <SourceLine classname="de.mcs.utils.NumberHelper" start="66" end="84" startBytecode="0" endBytecode="119" sourcefile="NumberHelper.java" sourcepath="de/mcs/utils/NumberHelper.java"/>
  301. </Method>
  302. <SourceLine classname="de.mcs.utils.NumberHelper" start="71" end="73" startBytecode="80" endBytecode="81" sourcefile="NumberHelper.java" sourcepath="de/mcs/utils/NumberHelper.java"/>
  303. <SourceLine classname="de.mcs.utils.NumberHelper" start="73" end="75" startBytecode="85" endBytecode="86" sourcefile="NumberHelper.java" sourcepath="de/mcs/utils/NumberHelper.java"/>
  304. <SourceLine classname="de.mcs.utils.NumberHelper" start="75" end="77" startBytecode="90" endBytecode="91" sourcefile="NumberHelper.java" sourcepath="de/mcs/utils/NumberHelper.java"/>
  305. </BugInstance>
  306. <BugInstance type="DM_CONVERT_CASE" priority="3" abbrev="Dm" category="I18N">
  307. <Class classname="de.mcs.utils.OSInformations">
  308. <SourceLine classname="de.mcs.utils.OSInformations" sourcefile="OSInformations.java" sourcepath="de/mcs/utils/OSInformations.java"/>
  309. </Class>
  310. <Method classname="de.mcs.utils.OSInformations" name="&lt;clinit&gt;" signature="()V" isStatic="true">
  311. <SourceLine classname="de.mcs.utils.OSInformations" start="33" end="25" startBytecode="0" endBytecode="53" sourcefile="OSInformations.java" sourcepath="de/mcs/utils/OSInformations.java"/>
  312. </Method>
  313. <SourceLine classname="de.mcs.utils.OSInformations" start="38" end="38" startBytecode="17" endBytecode="17" sourcefile="OSInformations.java" sourcepath="de/mcs/utils/OSInformations.java"/>
  314. </BugInstance>
  315. <BugInstance type="ITA_INEFFICIENT_TO_ARRAY" priority="3" abbrev="ITA" category="PERFORMANCE">
  316. <Class classname="de.mcs.utils.PropertiesHelper">
  317. <SourceLine classname="de.mcs.utils.PropertiesHelper" sourcefile="PropertiesHelper.java" sourcepath="de/mcs/utils/PropertiesHelper.java"/>
  318. </Class>
  319. <Method classname="de.mcs.utils.PropertiesHelper" name="getKeys" signature="(Ljava/lang/String;)[Ljava/lang/String;" isStatic="false">
  320. <SourceLine classname="de.mcs.utils.PropertiesHelper" start="52" end="59" startBytecode="0" endBytecode="68" sourcefile="PropertiesHelper.java" sourcepath="de/mcs/utils/PropertiesHelper.java"/>
  321. </Method>
  322. <SourceLine classname="de.mcs.utils.PropertiesHelper" start="59" end="59" startBytecode="62" endBytecode="62" sourcefile="PropertiesHelper.java" sourcepath="de/mcs/utils/PropertiesHelper.java"/>
  323. </BugInstance>
  324. <BugInstance type="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" priority="3" abbrev="Se" category="BAD_PRACTICE">
  325. <Class classname="de.mcs.utils.PropertiesHelper$1">
  326. <SourceLine classname="de.mcs.utils.PropertiesHelper$1" sourcefile="PropertiesHelper.java" sourcepath="de/mcs/utils/PropertiesHelper.java"/>
  327. </Class>
  328. </BugInstance>
  329. <BugInstance type="SIC_INNER_SHOULD_BE_STATIC_ANON" priority="3" abbrev="SIC" category="PERFORMANCE">
  330. <Class classname="de.mcs.utils.PropertiesHelper$1">
  331. <SourceLine classname="de.mcs.utils.PropertiesHelper$1" sourcefile="PropertiesHelper.java" sourcepath="de/mcs/utils/PropertiesHelper.java"/>
  332. </Class>
  333. </BugInstance>
  334. <BugInstance type="DM_CONVERT_CASE" priority="3" abbrev="Dm" category="I18N">
  335. <Class classname="de.mcs.utils.StringFormat">
  336. <SourceLine classname="de.mcs.utils.StringFormat" sourcefile="StringFormat.java" sourcepath="de/mcs/utils/StringFormat.java"/>
  337. </Class>
  338. <Method classname="de.mcs.utils.StringFormat" name="fromHexString" signature="(Ljava/lang/String;)[B" isStatic="true">
  339. <SourceLine classname="de.mcs.utils.StringFormat" start="108" end="129" startBytecode="0" endBytecode="152" sourcefile="StringFormat.java" sourcepath="de/mcs/utils/StringFormat.java"/>
  340. </Method>
  341. <SourceLine classname="de.mcs.utils.StringFormat" start="108" end="108" startBytecode="1" endBytecode="1" sourcefile="StringFormat.java" sourcepath="de/mcs/utils/StringFormat.java"/>
  342. </BugInstance>
  343. <BugInstance type="UPM_UNCALLED_PRIVATE_METHOD" priority="3" abbrev="UPM" category="PERFORMANCE">
  344. <Class classname="de.mcs.utils.StringFormat">
  345. <SourceLine classname="de.mcs.utils.StringFormat" sourcefile="StringFormat.java" sourcepath="de/mcs/utils/StringFormat.java"/>
  346. </Class>
  347. <Method classname="de.mcs.utils.StringFormat" name="toHex" signature="(I)C" isStatic="true">
  348. <SourceLine classname="de.mcs.utils.StringFormat" start="867" end="867" startBytecode="0" endBytecode="8" sourcefile="StringFormat.java" sourcepath="de/mcs/utils/StringFormat.java"/>
  349. </Method>
  350. </BugInstance>
  351. <BugInstance type="WMI_WRONG_MAP_ITERATOR" priority="2" abbrev="WMI" category="PERFORMANCE">
  352. <Class classname="de.mcs.utils.StringFormat">
  353. <SourceLine classname="de.mcs.utils.StringFormat" sourcefile="StringFormat.java" sourcepath="de/mcs/utils/StringFormat.java"/>
  354. </Class>
  355. <Method classname="de.mcs.utils.StringFormat" name="getPropertyString" signature="(Ljava/util/Map;)Ljava/lang/String;" isStatic="true">
  356. <SourceLine classname="de.mcs.utils.StringFormat" start="589" end="601" startBytecode="0" endBytecode="138" sourcefile="StringFormat.java" sourcepath="de/mcs/utils/StringFormat.java"/>
  357. </Method>
  358. <SourceLine classname="de.mcs.utils.StringFormat" start="592" end="592" startBytecode="52" endBytecode="52" sourcefile="StringFormat.java" sourcepath="de/mcs/utils/StringFormat.java"/>
  359. </BugInstance>
  360. <BugInstance type="ITA_INEFFICIENT_TO_ARRAY" priority="3" abbrev="ITA" category="PERFORMANCE">
  361. <Class classname="de.mcs.utils.StringUtils">
  362. <SourceLine classname="de.mcs.utils.StringUtils" sourcefile="StringUtils.java" sourcepath="de/mcs/utils/StringUtils.java"/>
  363. </Class>
  364. <Method classname="de.mcs.utils.StringUtils" name="csvStringToArray" signature="(Ljava/lang/String;CC)[Ljava/lang/String;" isStatic="true">
  365. <SourceLine classname="de.mcs.utils.StringUtils" start="326" end="328" startBytecode="0" endBytecode="30" sourcefile="StringUtils.java" sourcepath="de/mcs/utils/StringUtils.java"/>
  366. </Method>
  367. <SourceLine classname="de.mcs.utils.StringUtils" start="328" end="328" startBytecode="24" endBytecode="24" sourcefile="StringUtils.java" sourcepath="de/mcs/utils/StringUtils.java"/>
  368. </BugInstance>
  369. <BugInstance type="PZLA_PREFER_ZERO_LENGTH_ARRAYS" priority="3" abbrev="PZLA" category="STYLE">
  370. <Class classname="de.mcs.utils.StringUtils">
  371. <SourceLine classname="de.mcs.utils.StringUtils" sourcefile="StringUtils.java" sourcepath="de/mcs/utils/StringUtils.java"/>
  372. </Class>
  373. <Method classname="de.mcs.utils.StringUtils" name="md5StringBytes" signature="(Ljava/lang/String;)[B" isStatic="true">
  374. <SourceLine classname="de.mcs.utils.StringUtils" start="484" end="492" startBytecode="0" endBytecode="27" sourcefile="StringUtils.java" sourcepath="de/mcs/utils/StringUtils.java"/>
  375. </Method>
  376. <SourceLine classname="de.mcs.utils.StringUtils" start="492" end="492" startBytecode="27" endBytecode="27" sourcefile="StringUtils.java" sourcepath="de/mcs/utils/StringUtils.java"/>
  377. </BugInstance>
  378. <BugInstance type="EC_UNRELATED_TYPES" priority="1" abbrev="EC" category="CORRECTNESS">
  379. <Class classname="de.mcs.utils.Version">
  380. <SourceLine classname="de.mcs.utils.Version" sourcefile="Version.java" sourcepath="de/mcs/utils/Version.java"/>
  381. </Class>
  382. <Method classname="de.mcs.utils.Version" name="main" signature="([Ljava/lang/String;)V" isStatic="true">
  383. <SourceLine classname="de.mcs.utils.Version" start="235" end="270" startBytecode="0" endBytecode="197" sourcefile="Version.java" sourcepath="de/mcs/utils/Version.java"/>
  384. </Method>
  385. <Type descriptor="Lde/mcs/utils/Version;"/>
  386. <Type descriptor="Ljava/lang/String;"/>
  387. <SourceLine classname="de.mcs.utils.Version" start="250" end="250" startBytecode="215" endBytecode="215" sourcefile="Version.java" sourcepath="de/mcs/utils/Version.java"/>
  388. </BugInstance>
  389. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  390. <Class classname="de.mcs.utils.XarExtracter">
  391. <SourceLine classname="de.mcs.utils.XarExtracter" sourcefile="XarExtracter.java" sourcepath="de/mcs/utils/XarExtracter.java"/>
  392. </Class>
  393. <Method classname="de.mcs.utils.XarExtracter" name="extract" signature="(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;" isStatic="false">
  394. <SourceLine classname="de.mcs.utils.XarExtracter" start="140" end="176" startBytecode="0" endBytecode="115" sourcefile="XarExtracter.java" sourcepath="de/mcs/utils/XarExtracter.java"/>
  395. </Method>
  396. <SourceLine classname="de.mcs.utils.XarExtracter" start="164" end="164" startBytecode="140" endBytecode="140" sourcefile="XarExtracter.java" sourcepath="de/mcs/utils/XarExtracter.java"/>
  397. </BugInstance>
  398. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  399. <Class classname="de.mcs.utils.XarExtracter">
  400. <SourceLine classname="de.mcs.utils.XarExtracter" sourcefile="XarExtracter.java" sourcepath="de/mcs/utils/XarExtracter.java"/>
  401. </Class>
  402. <Method classname="de.mcs.utils.XarExtracter" name="extractAll" signature="(ZI)V" isStatic="false">
  403. <SourceLine classname="de.mcs.utils.XarExtracter" start="225" end="265" startBytecode="0" endBytecode="134" sourcefile="XarExtracter.java" sourcepath="de/mcs/utils/XarExtracter.java"/>
  404. </Method>
  405. <SourceLine classname="de.mcs.utils.XarExtracter" start="238" end="238" startBytecode="107" endBytecode="107" sourcefile="XarExtracter.java" sourcepath="de/mcs/utils/XarExtracter.java"/>
  406. </BugInstance>
  407. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  408. <Class classname="de.mcs.utils.XarUpdater">
  409. <SourceLine classname="de.mcs.utils.XarUpdater" sourcefile="XarUpdater.java" sourcepath="de/mcs/utils/XarUpdater.java"/>
  410. </Class>
  411. <Method classname="de.mcs.utils.XarUpdater" name="addFile" signature="(Ljava/util/zip/ZipOutputStream;Ljava/lang/String;Ljava/io/File;[B)V" isStatic="false">
  412. <SourceLine classname="de.mcs.utils.XarUpdater" start="159" end="200" startBytecode="0" endBytecode="117" sourcefile="XarUpdater.java" sourcepath="de/mcs/utils/XarUpdater.java"/>
  413. </Method>
  414. <SourceLine classname="de.mcs.utils.XarUpdater" start="189" end="189" startBytecode="201" endBytecode="201" sourcefile="XarUpdater.java" sourcepath="de/mcs/utils/XarUpdater.java"/>
  415. </BugInstance>
  416. <BugInstance type="DE_MIGHT_IGNORE" priority="3" abbrev="DE" category="BAD_PRACTICE">
  417. <Class classname="de.mcs.utils.codecs.Base64">
  418. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  419. </Class>
  420. <Method classname="de.mcs.utils.codecs.Base64" name="decode" signature="(Ljava/lang/String;)[B" isStatic="true">
  421. <SourceLine classname="de.mcs.utils.codecs.Base64" start="709" end="762" startBytecode="0" endBytecode="240" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  422. </Method>
  423. <Class classname="java.lang.Exception" role="CLASS_EXCEPTION">
  424. <SourceLine classname="java.lang.Exception"/>
  425. </Class>
  426. <SourceLine classname="de.mcs.utils.codecs.Base64" start="747" end="747" startBytecode="154" endBytecode="154" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  427. </BugInstance>
  428. <BugInstance type="DE_MIGHT_IGNORE" priority="3" abbrev="DE" category="BAD_PRACTICE">
  429. <Class classname="de.mcs.utils.codecs.Base64">
  430. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  431. </Class>
  432. <Method classname="de.mcs.utils.codecs.Base64" name="encodeBytes" signature="([BIII)Ljava/lang/String;" isStatic="true">
  433. <SourceLine classname="de.mcs.utils.codecs.Base64" start="473" end="548" startBytecode="0" endBytecode="392" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  434. </Method>
  435. <Class classname="java.lang.Exception" role="CLASS_EXCEPTION">
  436. <SourceLine classname="java.lang.Exception"/>
  437. </Class>
  438. <SourceLine classname="de.mcs.utils.codecs.Base64" start="496" end="496" startBytecode="92" endBytecode="92" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  439. </BugInstance>
  440. <BugInstance type="DE_MIGHT_IGNORE" priority="3" abbrev="DE" category="BAD_PRACTICE">
  441. <Class classname="de.mcs.utils.codecs.Base64">
  442. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  443. </Class>
  444. <Method classname="de.mcs.utils.codecs.Base64" name="encodeObject" signature="(Ljava/io/Serializable;I)Ljava/lang/String;" isStatic="true">
  445. <SourceLine classname="de.mcs.utils.codecs.Base64" start="331" end="380" startBytecode="0" endBytecode="246" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  446. </Method>
  447. <Class classname="java.lang.Exception" role="CLASS_EXCEPTION">
  448. <SourceLine classname="java.lang.Exception"/>
  449. </Class>
  450. <SourceLine classname="de.mcs.utils.codecs.Base64" start="360" end="360" startBytecode="106" endBytecode="106" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  451. </BugInstance>
  452. <BugInstance type="DLS_DEAD_LOCAL_STORE" priority="3" abbrev="DLS" category="STYLE">
  453. <Class classname="de.mcs.utils.codecs.Base64">
  454. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  455. </Class>
  456. <Method classname="de.mcs.utils.codecs.Base64" name="decodeFromFile" signature="(Ljava/lang/String;)[B" isStatic="true">
  457. <SourceLine classname="de.mcs.utils.codecs.Base64" start="879" end="919" startBytecode="0" endBytecode="108" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  458. </Method>
  459. <LocalVariable name="buffer" register="4" pc="22" role="LOCAL_VARIABLE_NAMED"/>
  460. <SourceLine classname="de.mcs.utils.codecs.Base64" start="884" end="884" startBytecode="20" endBytecode="20" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  461. </BugInstance>
  462. <BugInstance type="NP_ALWAYS_NULL" priority="1" abbrev="NP" category="CORRECTNESS">
  463. <Class classname="de.mcs.utils.codecs.Base64">
  464. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  465. </Class>
  466. <Method classname="de.mcs.utils.codecs.Base64" name="decodeFromFile" signature="(Ljava/lang/String;)[B" isStatic="true">
  467. <SourceLine classname="de.mcs.utils.codecs.Base64" start="879" end="919" startBytecode="0" endBytecode="108" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  468. </Method>
  469. <LocalVariable name="bis" register="2" pc="71" role="LOCAL_VARIABLE_NAMED"/>
  470. <SourceLine classname="de.mcs.utils.codecs.Base64" start="914" end="914" startBytecode="72" endBytecode="72" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  471. </BugInstance>
  472. <BugInstance type="NP_NULL_ON_SOME_PATH" priority="2" abbrev="NP" category="CORRECTNESS">
  473. <Class classname="de.mcs.utils.codecs.Base64">
  474. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  475. </Class>
  476. <Method classname="de.mcs.utils.codecs.Base64" name="encodeObject" signature="(Ljava/io/Serializable;I)Ljava/lang/String;" isStatic="true">
  477. <SourceLine classname="de.mcs.utils.codecs.Base64" start="331" end="380" startBytecode="0" endBytecode="120" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  478. </Method>
  479. <LocalVariable name="gzos" register="5" pc="191" role="LOCAL_VARIABLE_NAMED"/>
  480. <SourceLine classname="de.mcs.utils.codecs.Base64" start="363" end="363" startBytecode="193" endBytecode="193" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  481. </BugInstance>
  482. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  483. <Class classname="de.mcs.utils.codecs.Base64">
  484. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  485. </Class>
  486. <Method classname="de.mcs.utils.codecs.Base64" name="decode" signature="(Ljava/lang/String;)[B" isStatic="true">
  487. <SourceLine classname="de.mcs.utils.codecs.Base64" start="709" end="762" startBytecode="0" endBytecode="122" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  488. </Method>
  489. <LocalVariable name="bais" register="3" pc="166" role="LOCAL_VARIABLE_NAMED"/>
  490. <SourceLine classname="de.mcs.utils.codecs.Base64" start="754" end="754" startBytecode="167" endBytecode="167" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  491. </BugInstance>
  492. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  493. <Class classname="de.mcs.utils.codecs.Base64">
  494. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  495. </Class>
  496. <Method classname="de.mcs.utils.codecs.Base64" name="decode" signature="(Ljava/lang/String;)[B" isStatic="true">
  497. <SourceLine classname="de.mcs.utils.codecs.Base64" start="709" end="762" startBytecode="0" endBytecode="122" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  498. </Method>
  499. <LocalVariable name="baos" register="5" pc="146" role="LOCAL_VARIABLE_NAMED"/>
  500. <SourceLine classname="de.mcs.utils.codecs.Base64" start="746" end="746" startBytecode="148" endBytecode="148" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  501. </BugInstance>
  502. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  503. <Class classname="de.mcs.utils.codecs.Base64">
  504. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  505. </Class>
  506. <Method classname="de.mcs.utils.codecs.Base64" name="decode" signature="(Ljava/lang/String;)[B" isStatic="true">
  507. <SourceLine classname="de.mcs.utils.codecs.Base64" start="709" end="762" startBytecode="0" endBytecode="122" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  508. </Method>
  509. <LocalVariable name="gzis" register="4" pc="156" role="LOCAL_VARIABLE_NAMED"/>
  510. <SourceLine classname="de.mcs.utils.codecs.Base64" start="750" end="750" startBytecode="158" endBytecode="158" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  511. </BugInstance>
  512. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  513. <Class classname="de.mcs.utils.codecs.Base64">
  514. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  515. </Class>
  516. <Method classname="de.mcs.utils.codecs.Base64" name="decodeFromFile" signature="(Ljava/lang/String;)[B" isStatic="true">
  517. <SourceLine classname="de.mcs.utils.codecs.Base64" start="879" end="919" startBytecode="0" endBytecode="108" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  518. </Method>
  519. <LocalVariable name="bis" register="2" pc="189" role="LOCAL_VARIABLE_NAMED"/>
  520. <SourceLine classname="de.mcs.utils.codecs.Base64" start="914" end="914" startBytecode="190" endBytecode="190" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  521. </BugInstance>
  522. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  523. <Class classname="de.mcs.utils.codecs.Base64">
  524. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  525. </Class>
  526. <Method classname="de.mcs.utils.codecs.Base64" name="decodeToFile" signature="(Ljava/lang/String;Ljava/lang/String;)Z" isStatic="true">
  527. <SourceLine classname="de.mcs.utils.codecs.Base64" start="851" end="867" startBytecode="0" endBytecode="42" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  528. </Method>
  529. <LocalVariable name="bos" register="3" pc="45" role="LOCAL_VARIABLE_NAMED"/>
  530. <SourceLine classname="de.mcs.utils.codecs.Base64" start="862" end="862" startBytecode="46" endBytecode="46" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  531. </BugInstance>
  532. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  533. <Class classname="de.mcs.utils.codecs.Base64">
  534. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  535. </Class>
  536. <Method classname="de.mcs.utils.codecs.Base64" name="decodeToObject" signature="(Ljava/lang/String;)Ljava/lang/Object;" isStatic="true">
  537. <SourceLine classname="de.mcs.utils.codecs.Base64" start="776" end="804" startBytecode="0" endBytecode="64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  538. </Method>
  539. <LocalVariable name="bais" register="2" pc="67" role="LOCAL_VARIABLE_NAMED"/>
  540. <SourceLine classname="de.mcs.utils.codecs.Base64" start="795" end="795" startBytecode="68" endBytecode="68" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  541. </BugInstance>
  542. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  543. <Class classname="de.mcs.utils.codecs.Base64">
  544. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  545. </Class>
  546. <Method classname="de.mcs.utils.codecs.Base64" name="decodeToObject" signature="(Ljava/lang/String;)Ljava/lang/Object;" isStatic="true">
  547. <SourceLine classname="de.mcs.utils.codecs.Base64" start="776" end="804" startBytecode="0" endBytecode="64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  548. </Method>
  549. <LocalVariable name="ois" register="3" pc="76" role="LOCAL_VARIABLE_NAMED"/>
  550. <SourceLine classname="de.mcs.utils.codecs.Base64" start="799" end="799" startBytecode="77" endBytecode="77" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  551. </BugInstance>
  552. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  553. <Class classname="de.mcs.utils.codecs.Base64">
  554. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  555. </Class>
  556. <Method classname="de.mcs.utils.codecs.Base64" name="encodeBytes" signature="([BIII)Ljava/lang/String;" isStatic="true">
  557. <SourceLine classname="de.mcs.utils.codecs.Base64" start="473" end="548" startBytecode="0" endBytecode="201" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  558. </Method>
  559. <LocalVariable name="b64os" register="8" pc="128" role="LOCAL_VARIABLE_NAMED"/>
  560. <SourceLine classname="de.mcs.utils.codecs.Base64" start="499" end="499" startBytecode="130" endBytecode="130" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  561. </BugInstance>
  562. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  563. <Class classname="de.mcs.utils.codecs.Base64">
  564. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  565. </Class>
  566. <Method classname="de.mcs.utils.codecs.Base64" name="encodeBytes" signature="([BIII)Ljava/lang/String;" isStatic="true">
  567. <SourceLine classname="de.mcs.utils.codecs.Base64" start="473" end="548" startBytecode="0" endBytecode="201" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  568. </Method>
  569. <LocalVariable name="baos" register="6" pc="138" role="LOCAL_VARIABLE_NAMED"/>
  570. <SourceLine classname="de.mcs.utils.codecs.Base64" start="503" end="503" startBytecode="140" endBytecode="140" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  571. </BugInstance>
  572. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  573. <Class classname="de.mcs.utils.codecs.Base64">
  574. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  575. </Class>
  576. <Method classname="de.mcs.utils.codecs.Base64" name="encodeBytes" signature="([BIII)Ljava/lang/String;" isStatic="true">
  577. <SourceLine classname="de.mcs.utils.codecs.Base64" start="473" end="548" startBytecode="0" endBytecode="201" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  578. </Method>
  579. <LocalVariable name="gzos" register="7" pc="118" role="LOCAL_VARIABLE_NAMED"/>
  580. <SourceLine classname="de.mcs.utils.codecs.Base64" start="495" end="495" startBytecode="120" endBytecode="120" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  581. </BugInstance>
  582. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  583. <Class classname="de.mcs.utils.codecs.Base64">
  584. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  585. </Class>
  586. <Method classname="de.mcs.utils.codecs.Base64" name="encodeFromFile" signature="(Ljava/lang/String;)Ljava/lang/String;" isStatic="true">
  587. <SourceLine classname="de.mcs.utils.codecs.Base64" start="931" end="962" startBytecode="0" endBytecode="83" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  588. </Method>
  589. <LocalVariable name="bis" register="2" pc="131" role="LOCAL_VARIABLE_NAMED"/>
  590. <SourceLine classname="de.mcs.utils.codecs.Base64" start="957" end="957" startBytecode="132" endBytecode="132" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  591. </BugInstance>
  592. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  593. <Class classname="de.mcs.utils.codecs.Base64">
  594. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  595. </Class>
  596. <Method classname="de.mcs.utils.codecs.Base64" name="encodeObject" signature="(Ljava/io/Serializable;I)Ljava/lang/String;" isStatic="true">
  597. <SourceLine classname="de.mcs.utils.codecs.Base64" start="331" end="380" startBytecode="0" endBytecode="120" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  598. </Method>
  599. <LocalVariable name="b64os" register="3" pc="160" role="LOCAL_VARIABLE_NAMED"/>
  600. <SourceLine classname="de.mcs.utils.codecs.Base64" start="367" end="367" startBytecode="161" endBytecode="161" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  601. </BugInstance>
  602. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  603. <Class classname="de.mcs.utils.codecs.Base64">
  604. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  605. </Class>
  606. <Method classname="de.mcs.utils.codecs.Base64" name="encodeObject" signature="(Ljava/io/Serializable;I)Ljava/lang/String;" isStatic="true">
  607. <SourceLine classname="de.mcs.utils.codecs.Base64" start="331" end="380" startBytecode="0" endBytecode="120" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  608. </Method>
  609. <LocalVariable name="baos" register="2" pc="169" role="LOCAL_VARIABLE_NAMED"/>
  610. <SourceLine classname="de.mcs.utils.codecs.Base64" start="371" end="371" startBytecode="170" endBytecode="170" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  611. </BugInstance>
  612. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  613. <Class classname="de.mcs.utils.codecs.Base64">
  614. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  615. </Class>
  616. <Method classname="de.mcs.utils.codecs.Base64" name="encodeObject" signature="(Ljava/io/Serializable;I)Ljava/lang/String;" isStatic="true">
  617. <SourceLine classname="de.mcs.utils.codecs.Base64" start="331" end="380" startBytecode="0" endBytecode="120" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  618. </Method>
  619. <LocalVariable name="gzos" register="5" pc="150" role="LOCAL_VARIABLE_NAMED"/>
  620. <SourceLine classname="de.mcs.utils.codecs.Base64" start="363" end="363" startBytecode="152" endBytecode="152" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  621. </BugInstance>
  622. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  623. <Class classname="de.mcs.utils.codecs.Base64">
  624. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  625. </Class>
  626. <Method classname="de.mcs.utils.codecs.Base64" name="encodeObject" signature="(Ljava/io/Serializable;I)Ljava/lang/String;" isStatic="true">
  627. <SourceLine classname="de.mcs.utils.codecs.Base64" start="331" end="380" startBytecode="0" endBytecode="120" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  628. </Method>
  629. <LocalVariable name="oos" register="4" pc="140" role="LOCAL_VARIABLE_NAMED"/>
  630. <SourceLine classname="de.mcs.utils.codecs.Base64" start="359" end="359" startBytecode="142" endBytecode="142" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  631. </BugInstance>
  632. <BugInstance type="NP_NULL_ON_SOME_PATH_EXCEPTION" priority="2" abbrev="NP" category="CORRECTNESS">
  633. <Class classname="de.mcs.utils.codecs.Base64">
  634. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  635. </Class>
  636. <Method classname="de.mcs.utils.codecs.Base64" name="encodeToFile" signature="([BLjava/lang/String;)Z" isStatic="true">
  637. <SourceLine classname="de.mcs.utils.codecs.Base64" start="819" end="836" startBytecode="0" endBytecode="40" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  638. </Method>
  639. <LocalVariable name="bos" register="3" pc="40" role="LOCAL_VARIABLE_NAMED"/>
  640. <SourceLine classname="de.mcs.utils.codecs.Base64" start="831" end="831" startBytecode="41" endBytecode="41" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  641. </BugInstance>
  642. <BugInstance type="PZLA_PREFER_ZERO_LENGTH_ARRAYS" priority="3" abbrev="PZLA" category="STYLE">
  643. <Class classname="de.mcs.utils.codecs.Base64">
  644. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  645. </Class>
  646. <Method classname="de.mcs.utils.codecs.Base64" name="decode" signature="([BII)[B" isStatic="true">
  647. <SourceLine classname="de.mcs.utils.codecs.Base64" start="656" end="694" startBytecode="0" endBytecode="187" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  648. </Method>
  649. <SourceLine classname="de.mcs.utils.codecs.Base64" start="688" end="688" startBytecode="156" endBytecode="156" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  650. </BugInstance>
  651. <BugInstance type="PZLA_PREFER_ZERO_LENGTH_ARRAYS" priority="3" abbrev="PZLA" category="STYLE">
  652. <Class classname="de.mcs.utils.codecs.Base64">
  653. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  654. </Class>
  655. <Method classname="de.mcs.utils.codecs.Base64" name="decodeFromFile" signature="(Ljava/lang/String;)[B" isStatic="true">
  656. <SourceLine classname="de.mcs.utils.codecs.Base64" start="879" end="919" startBytecode="0" endBytecode="223" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  657. </Method>
  658. <SourceLine classname="de.mcs.utils.codecs.Base64" start="893" end="893" startBytecode="81" endBytecode="81" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  659. </BugInstance>
  660. <BugInstance type="REC_CATCH_EXCEPTION" priority="3" abbrev="REC" category="STYLE">
  661. <Class classname="de.mcs.utils.codecs.Base64">
  662. <SourceLine classname="de.mcs.utils.codecs.Base64" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  663. </Class>
  664. <Method classname="de.mcs.utils.codecs.Base64" name="decode4to3" signature="([BI[BI)I" isStatic="true">
  665. <SourceLine classname="de.mcs.utils.codecs.Base64" start="582" end="635" startBytecode="0" endBytecode="393" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  666. </Method>
  667. <SourceLine classname="de.mcs.utils.codecs.Base64" start="626" end="626" startBytecode="230" endBytecode="230" sourcefile="Base64.java" sourcepath="de/mcs/utils/codecs/Base64.java"/>
  668. </BugInstance>
  669. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  670. <Class classname="de.mcs.utils.codecs.TestBase64">
  671. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  672. </Class>
  673. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64InputStream" signature="()V" isStatic="false">
  674. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="29" end="68" startBytecode="0" endBytecode="123" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  675. </Method>
  676. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="38" end="38" startBytecode="54" endBytecode="54" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  677. </BugInstance>
  678. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  679. <Class classname="de.mcs.utils.codecs.TestBase64">
  680. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  681. </Class>
  682. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64InputStream" signature="()V" isStatic="false">
  683. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="29" end="68" startBytecode="0" endBytecode="123" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  684. </Method>
  685. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="44" end="44" startBytecode="98" endBytecode="98" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  686. </BugInstance>
  687. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  688. <Class classname="de.mcs.utils.codecs.TestBase64">
  689. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  690. </Class>
  691. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64InputStream" signature="()V" isStatic="false">
  692. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="29" end="68" startBytecode="0" endBytecode="123" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  693. </Method>
  694. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="52" end="52" startBytecode="149" endBytecode="149" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  695. </BugInstance>
  696. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  697. <Class classname="de.mcs.utils.codecs.TestBase64">
  698. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  699. </Class>
  700. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64InputStream" signature="()V" isStatic="false">
  701. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="29" end="68" startBytecode="0" endBytecode="123" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  702. </Method>
  703. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="58" end="58" startBytecode="183" endBytecode="183" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  704. </BugInstance>
  705. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  706. <Class classname="de.mcs.utils.codecs.TestBase64">
  707. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  708. </Class>
  709. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64OutputStream" signature="()V" isStatic="false">
  710. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="71" end="110" startBytecode="0" endBytecode="123" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  711. </Method>
  712. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="80" end="80" startBytecode="54" endBytecode="54" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  713. </BugInstance>
  714. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  715. <Class classname="de.mcs.utils.codecs.TestBase64">
  716. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  717. </Class>
  718. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64OutputStream" signature="()V" isStatic="false">
  719. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="71" end="110" startBytecode="0" endBytecode="123" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  720. </Method>
  721. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="86" end="86" startBytecode="98" endBytecode="98" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  722. </BugInstance>
  723. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  724. <Class classname="de.mcs.utils.codecs.TestBase64">
  725. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  726. </Class>
  727. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64OutputStream" signature="()V" isStatic="false">
  728. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="71" end="110" startBytecode="0" endBytecode="123" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  729. </Method>
  730. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="94" end="94" startBytecode="149" endBytecode="149" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  731. </BugInstance>
  732. <BugInstance type="OS_OPEN_STREAM_EXCEPTION_PATH" priority="3" abbrev="OS" category="BAD_PRACTICE">
  733. <Class classname="de.mcs.utils.codecs.TestBase64">
  734. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  735. </Class>
  736. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64OutputStream" signature="()V" isStatic="false">
  737. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="71" end="110" startBytecode="0" endBytecode="123" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  738. </Method>
  739. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="100" end="100" startBytecode="183" endBytecode="183" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  740. </BugInstance>
  741. <BugInstance type="RR_NOT_CHECKED" priority="2" abbrev="RR" category="BAD_PRACTICE">
  742. <Class classname="de.mcs.utils.codecs.TestBase64">
  743. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  744. </Class>
  745. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64InputStream" signature="()V" isStatic="false">
  746. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="29" end="68" startBytecode="0" endBytecode="260" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  747. </Method>
  748. <Method classname="java.io.FileInputStream" name="read" signature="([B)I" isStatic="false" role="METHOD_CALLED">
  749. <SourceLine classname="java.io.FileInputStream"/>
  750. </Method>
  751. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="59" end="59" startBytecode="198" endBytecode="198" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  752. </BugInstance>
  753. <BugInstance type="RR_NOT_CHECKED" priority="2" abbrev="RR" category="BAD_PRACTICE">
  754. <Class classname="de.mcs.utils.codecs.TestBase64">
  755. <SourceLine classname="de.mcs.utils.codecs.TestBase64" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  756. </Class>
  757. <Method classname="de.mcs.utils.codecs.TestBase64" name="testBase64OutputStream" signature="()V" isStatic="false">
  758. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="71" end="110" startBytecode="0" endBytecode="260" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  759. </Method>
  760. <Method classname="java.io.FileInputStream" name="read" signature="([B)I" isStatic="false" role="METHOD_CALLED">
  761. <SourceLine classname="java.io.FileInputStream"/>
  762. </Method>
  763. <SourceLine classname="de.mcs.utils.codecs.TestBase64" start="101" end="101" startBytecode="198" endBytecode="198" sourcefile="TestBase64.java" sourcepath="de/mcs/utils/codecs/TestBase64.java"/>
  764. </BugInstance>
  765. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  766. <Class classname="de.mcs.utils.tstConversions">
  767. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  768. </Class>
  769. <Method classname="de.mcs.utils.tstConversions" name="testByteToByteByte1" signature="()V" isStatic="false">
  770. <SourceLine classname="de.mcs.utils.tstConversions" start="416" end="421" startBytecode="0" endBytecode="43" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  771. </Method>
  772. <SourceLine classname="de.mcs.utils.tstConversions" start="417" end="417" startBytecode="12" endBytecode="12" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  773. <String value="Byte(byte)"/>
  774. <String value="Byte.valueOf(byte)"/>
  775. </BugInstance>
  776. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  777. <Class classname="de.mcs.utils.tstConversions">
  778. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  779. </Class>
  780. <Method classname="de.mcs.utils.tstConversions" name="testIntToByteInteger" signature="()V" isStatic="false">
  781. <SourceLine classname="de.mcs.utils.tstConversions" start="460" end="487" startBytecode="0" endBytecode="212" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  782. </Method>
  783. <SourceLine classname="de.mcs.utils.tstConversions" start="460" end="460" startBytecode="5" endBytecode="5" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  784. <String value="Integer(int)"/>
  785. <String value="Integer.valueOf(int)"/>
  786. </BugInstance>
  787. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  788. <Class classname="de.mcs.utils.tstConversions">
  789. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  790. </Class>
  791. <Method classname="de.mcs.utils.tstConversions" name="testIntToByteInteger" signature="()V" isStatic="false">
  792. <SourceLine classname="de.mcs.utils.tstConversions" start="460" end="487" startBytecode="0" endBytecode="212" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  793. </Method>
  794. <SourceLine classname="de.mcs.utils.tstConversions" start="464" end="464" startBytecode="27" endBytecode="27" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  795. <String value="Integer(int)"/>
  796. <String value="Integer.valueOf(int)"/>
  797. </BugInstance>
  798. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  799. <Class classname="de.mcs.utils.tstConversions">
  800. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  801. </Class>
  802. <Method classname="de.mcs.utils.tstConversions" name="testIntToByteInteger" signature="()V" isStatic="false">
  803. <SourceLine classname="de.mcs.utils.tstConversions" start="460" end="487" startBytecode="0" endBytecode="212" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  804. </Method>
  805. <SourceLine classname="de.mcs.utils.tstConversions" start="468" end="468" startBytecode="66" endBytecode="66" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  806. <String value="Integer(int)"/>
  807. <String value="Integer.valueOf(int)"/>
  808. </BugInstance>
  809. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  810. <Class classname="de.mcs.utils.tstConversions">
  811. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  812. </Class>
  813. <Method classname="de.mcs.utils.tstConversions" name="testIntToByteInteger" signature="()V" isStatic="false">
  814. <SourceLine classname="de.mcs.utils.tstConversions" start="460" end="487" startBytecode="0" endBytecode="212" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  815. </Method>
  816. <SourceLine classname="de.mcs.utils.tstConversions" start="472" end="472" startBytecode="93" endBytecode="93" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  817. <String value="Integer(int)"/>
  818. <String value="Integer.valueOf(int)"/>
  819. </BugInstance>
  820. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  821. <Class classname="de.mcs.utils.tstConversions">
  822. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  823. </Class>
  824. <Method classname="de.mcs.utils.tstConversions" name="testIntToByteInteger" signature="()V" isStatic="false">
  825. <SourceLine classname="de.mcs.utils.tstConversions" start="460" end="487" startBytecode="0" endBytecode="212" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  826. </Method>
  827. <SourceLine classname="de.mcs.utils.tstConversions" start="476" end="476" startBytecode="121" endBytecode="121" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  828. <String value="Integer(int)"/>
  829. <String value="Integer.valueOf(int)"/>
  830. </BugInstance>
  831. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  832. <Class classname="de.mcs.utils.tstConversions">
  833. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  834. </Class>
  835. <Method classname="de.mcs.utils.tstConversions" name="testIntToByteInteger" signature="()V" isStatic="false">
  836. <SourceLine classname="de.mcs.utils.tstConversions" start="460" end="487" startBytecode="0" endBytecode="212" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  837. </Method>
  838. <SourceLine classname="de.mcs.utils.tstConversions" start="480" end="480" startBytecode="155" endBytecode="155" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  839. <String value="Integer(int)"/>
  840. <String value="Integer.valueOf(int)"/>
  841. </BugInstance>
  842. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  843. <Class classname="de.mcs.utils.tstConversions">
  844. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  845. </Class>
  846. <Method classname="de.mcs.utils.tstConversions" name="testIntToByteInteger" signature="()V" isStatic="false">
  847. <SourceLine classname="de.mcs.utils.tstConversions" start="460" end="487" startBytecode="0" endBytecode="212" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  848. </Method>
  849. <SourceLine classname="de.mcs.utils.tstConversions" start="484" end="484" startBytecode="180" endBytecode="180" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  850. <String value="Integer(int)"/>
  851. <String value="Integer.valueOf(int)"/>
  852. </BugInstance>
  853. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  854. <Class classname="de.mcs.utils.tstConversions">
  855. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  856. </Class>
  857. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  858. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  859. </Method>
  860. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="631" startBytecode="5" endBytecode="5" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  861. <String value="Long(long)"/>
  862. <String value="Long.valueOf(long)"/>
  863. </BugInstance>
  864. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  865. <Class classname="de.mcs.utils.tstConversions">
  866. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  867. </Class>
  868. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  869. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  870. </Method>
  871. <SourceLine classname="de.mcs.utils.tstConversions" start="635" end="635" startBytecode="29" endBytecode="29" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  872. <String value="Long(long)"/>
  873. <String value="Long.valueOf(long)"/>
  874. </BugInstance>
  875. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  876. <Class classname="de.mcs.utils.tstConversions">
  877. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  878. </Class>
  879. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  880. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  881. </Method>
  882. <SourceLine classname="de.mcs.utils.tstConversions" start="639" end="639" startBytecode="88" endBytecode="88" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  883. <String value="Long(long)"/>
  884. <String value="Long.valueOf(long)"/>
  885. </BugInstance>
  886. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  887. <Class classname="de.mcs.utils.tstConversions">
  888. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  889. </Class>
  890. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  891. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  892. </Method>
  893. <SourceLine classname="de.mcs.utils.tstConversions" start="643" end="643" startBytecode="117" endBytecode="117" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  894. <String value="Long(long)"/>
  895. <String value="Long.valueOf(long)"/>
  896. </BugInstance>
  897. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  898. <Class classname="de.mcs.utils.tstConversions">
  899. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  900. </Class>
  901. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  902. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  903. </Method>
  904. <SourceLine classname="de.mcs.utils.tstConversions" start="647" end="647" startBytecode="146" endBytecode="146" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  905. <String value="Long(long)"/>
  906. <String value="Long.valueOf(long)"/>
  907. </BugInstance>
  908. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  909. <Class classname="de.mcs.utils.tstConversions">
  910. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  911. </Class>
  912. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  913. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  914. </Method>
  915. <SourceLine classname="de.mcs.utils.tstConversions" start="651" end="651" startBytecode="199" endBytecode="199" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  916. <String value="Long(long)"/>
  917. <String value="Long.valueOf(long)"/>
  918. </BugInstance>
  919. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  920. <Class classname="de.mcs.utils.tstConversions">
  921. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  922. </Class>
  923. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  924. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  925. </Method>
  926. <SourceLine classname="de.mcs.utils.tstConversions" start="655" end="655" startBytecode="228" endBytecode="228" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  927. <String value="Long(long)"/>
  928. <String value="Long.valueOf(long)"/>
  929. </BugInstance>
  930. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  931. <Class classname="de.mcs.utils.tstConversions">
  932. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  933. </Class>
  934. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  935. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  936. </Method>
  937. <SourceLine classname="de.mcs.utils.tstConversions" start="659" end="659" startBytecode="284" endBytecode="284" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  938. <String value="Long(long)"/>
  939. <String value="Long.valueOf(long)"/>
  940. </BugInstance>
  941. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  942. <Class classname="de.mcs.utils.tstConversions">
  943. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  944. </Class>
  945. <Method classname="de.mcs.utils.tstConversions" name="testLongToByteLong1" signature="()V" isStatic="false">
  946. <SourceLine classname="de.mcs.utils.tstConversions" start="631" end="667" startBytecode="0" endBytecode="364" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  947. </Method>
  948. <SourceLine classname="de.mcs.utils.tstConversions" start="663" end="663" startBytecode="313" endBytecode="313" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  949. <String value="Long(long)"/>
  950. <String value="Long.valueOf(long)"/>
  951. </BugInstance>
  952. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  953. <Class classname="de.mcs.utils.tstConversions">
  954. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  955. </Class>
  956. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  957. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  958. </Method>
  959. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="534" startBytecode="5" endBytecode="5" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  960. <String value="Short(short)"/>
  961. <String value="Short.valueOf(short)"/>
  962. </BugInstance>
  963. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  964. <Class classname="de.mcs.utils.tstConversions">
  965. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  966. </Class>
  967. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  968. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  969. </Method>
  970. <SourceLine classname="de.mcs.utils.tstConversions" start="538" end="538" startBytecode="28" endBytecode="28" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  971. <String value="Short(short)"/>
  972. <String value="Short.valueOf(short)"/>
  973. </BugInstance>
  974. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  975. <Class classname="de.mcs.utils.tstConversions">
  976. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  977. </Class>
  978. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  979. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  980. </Method>
  981. <SourceLine classname="de.mcs.utils.tstConversions" start="542" end="542" startBytecode="60" endBytecode="60" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  982. <String value="Short(short)"/>
  983. <String value="Short.valueOf(short)"/>
  984. </BugInstance>
  985. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  986. <Class classname="de.mcs.utils.tstConversions">
  987. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  988. </Class>
  989. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  990. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  991. </Method>
  992. <SourceLine classname="de.mcs.utils.tstConversions" start="546" end="546" startBytecode="88" endBytecode="88" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  993. <String value="Short(short)"/>
  994. <String value="Short.valueOf(short)"/>
  995. </BugInstance>
  996. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  997. <Class classname="de.mcs.utils.tstConversions">
  998. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  999. </Class>
  1000. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  1001. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1002. </Method>
  1003. <SourceLine classname="de.mcs.utils.tstConversions" start="550" end="550" startBytecode="115" endBytecode="115" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1004. <String value="Short(short)"/>
  1005. <String value="Short.valueOf(short)"/>
  1006. </BugInstance>
  1007. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  1008. <Class classname="de.mcs.utils.tstConversions">
  1009. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1010. </Class>
  1011. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  1012. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1013. </Method>
  1014. <SourceLine classname="de.mcs.utils.tstConversions" start="554" end="554" startBytecode="142" endBytecode="142" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1015. <String value="Short(short)"/>
  1016. <String value="Short.valueOf(short)"/>
  1017. </BugInstance>
  1018. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  1019. <Class classname="de.mcs.utils.tstConversions">
  1020. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1021. </Class>
  1022. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  1023. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1024. </Method>
  1025. <SourceLine classname="de.mcs.utils.tstConversions" start="558" end="558" startBytecode="169" endBytecode="169" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1026. <String value="Short(short)"/>
  1027. <String value="Short.valueOf(short)"/>
  1028. </BugInstance>
  1029. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  1030. <Class classname="de.mcs.utils.tstConversions">
  1031. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1032. </Class>
  1033. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  1034. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1035. </Method>
  1036. <SourceLine classname="de.mcs.utils.tstConversions" start="562" end="562" startBytecode="198" endBytecode="198" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1037. <String value="Short(short)"/>
  1038. <String value="Short.valueOf(short)"/>
  1039. </BugInstance>
  1040. <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Dm" category="PERFORMANCE">
  1041. <Class classname="de.mcs.utils.tstConversions">
  1042. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1043. </Class>
  1044. <Method classname="de.mcs.utils.tstConversions" name="testShortToByteShort1" signature="()V" isStatic="false">
  1045. <SourceLine classname="de.mcs.utils.tstConversions" start="534" end="569" startBytecode="0" endBytecode="247" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1046. </Method>
  1047. <SourceLine classname="de.mcs.utils.tstConversions" start="566" end="566" startBytecode="223" endBytecode="223" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1048. <String value="Short(short)"/>
  1049. <String value="Short.valueOf(short)"/>
  1050. </BugInstance>
  1051. <BugInstance type="NM_CLASS_NAMING_CONVENTION" priority="2" abbrev="Nm" category="BAD_PRACTICE">
  1052. <Class classname="de.mcs.utils.tstConversions">
  1053. <SourceLine classname="de.mcs.utils.tstConversions" sourcefile="tstConversions.java" sourcepath="de/mcs/utils/tstConversions.java"/>
  1054. </Class>
  1055. </BugInstance>
  1056. <BugInstance type="NM_CLASS_NAMING_CONVENTION" priority="2" abbrev="Nm" category="BAD_PRACTICE">
  1057. <Class classname="de.mcs.utils.tstWorkingThread">
  1058. <SourceLine classname="de.mcs.utils.tstWorkingThread" sourcefile="tstWorkingThread.java" sourcepath="de/mcs/utils/tstWorkingThread.java"/>
  1059. </Class>
  1060. </BugInstance>
  1061. <BugInstance type="SIC_INNER_SHOULD_BE_STATIC" priority="2" abbrev="SIC" category="PERFORMANCE">
  1062. <Class classname="de.mcs.utils.tstWorkingThread$MyRunnable">
  1063. <SourceLine classname="de.mcs.utils.tstWorkingThread$MyRunnable" sourcefile="tstWorkingThread.java" sourcepath="de/mcs/utils/tstWorkingThread.java"/>
  1064. </Class>
  1065. <SourceLine classname="de.mcs.utils.tstWorkingThread$MyRunnable" start="25" end="25" startBytecode="0" endBytecode="0" sourcefile="E:\DATEN\SOURCEN\java\MCSUtils\testsrc\de\mcs\utils\tstWorkingThread.java" sourcepath="de/mcs/utils/E:\DATEN\SOURCEN\java\MCSUtils\testsrc\de\mcs\utils\tstWorkingThread.java"/>
  1066. </BugInstance>
  1067. <Errors></Errors>
  1068. <FindBugsSummary timestamp="Thu, 21 Sep 2006 11:31:11 +0200" total_classes="24" total_bugs="108" total_size="0" num_packages="2" cpu_seconds="210.99" clock_seconds="56191.40" peak_mbytes="247.47" gc_seconds="30.22" priority_3="47" priority_2="59" priority_1="2">
  1069. <PackageStats package="de.mcs.utils" total_bugs="73" total_types="22" total_size="0" priority_3="32" priority_2="40" priority_1="1">
  1070. <ClassStats class="de.mcs.utils.ArrayUtils" interface="false" size="0" bugs="2" priority_3="2"/>
  1071. <ClassStats class="de.mcs.utils.Conversions" interface="false" size="0" bugs="13" priority_3="4" priority_2="9"/>
  1072. <ClassStats class="de.mcs.utils.ExtendedProperties" interface="false" size="0" bugs="2" priority_3="2"/>
  1073. <ClassStats class="de.mcs.utils.FileTool" interface="false" size="0" bugs="3" priority_3="3"/>
  1074. <ClassStats class="de.mcs.utils.Files" interface="false" size="0" bugs="6" priority_3="6"/>
  1075. <ClassStats class="de.mcs.utils.FolderZipper" interface="false" size="0" bugs="2" priority_3="2"/>
  1076. <ClassStats class="de.mcs.utils.GetEnviroment" interface="false" size="0" bugs="1" priority_3="1"/>
  1077. <ClassStats class="de.mcs.utils.MD5Utils" interface="false" size="0" bugs="1" priority_3="1"/>
  1078. <ClassStats class="de.mcs.utils.NumberHelper" interface="false" size="0" bugs="1" priority_2="1"/>
  1079. <ClassStats class="de.mcs.utils.OSInformations" interface="false" size="0" bugs="1" priority_3="1"/>
  1080. <ClassStats class="de.mcs.utils.PropertiesHelper" interface="false" size="0" bugs="1" priority_3="1"/>
  1081. <ClassStats class="de.mcs.utils.PropertiesHelper$1" interface="false" size="0" bugs="2" priority_3="2"/>
  1082. <ClassStats class="de.mcs.utils.StringFormat" interface="false" size="0" bugs="3" priority_3="2" priority_2="1"/>
  1083. <ClassStats class="de.mcs.utils.StringUtils" interface="false" size="0" bugs="2" priority_3="2"/>
  1084. <ClassStats class="de.mcs.utils.ThreadPool" interface="false" size="0" bugs="0"/>
  1085. <ClassStats class="de.mcs.utils.Version" interface="false" size="0" bugs="1" priority_1="1"/>
  1086. <ClassStats class="de.mcs.utils.WorkingThread" interface="false" size="0" bugs="0"/>
  1087. <ClassStats class="de.mcs.utils.XarExtracter" interface="false" size="0" bugs="2" priority_3="2"/>
  1088. <ClassStats class="de.mcs.utils.XarUpdater" interface="false" size="0" bugs="1" priority_3="1"/>
  1089. <ClassStats class="de.mcs.utils.tstConversions" interface="false" size="0" bugs="27" priority_2="27"/>
  1090. <ClassStats class="de.mcs.utils.tstWorkingThread" interface="false" size="0" bugs="1" priority_2="1"/>
  1091. <ClassStats class="de.mcs.utils.tstWorkingThread$MyRunnable" interface="false" size="0" bugs="1" priority_2="1"/>
  1092. </PackageStats>
  1093. <PackageStats package="de.mcs.utils.codecs" total_bugs="35" total_types="2" total_size="0" priority_3="15" priority_2="19" priority_1="1">
  1094. <ClassStats class="de.mcs.utils.codecs.Base64" interface="false" size="0" bugs="25" priority_3="7" priority_2="17" priority_1="1"/>
  1095. <ClassStats class="de.mcs.utils.codecs.TestBase64" interface="false" size="0" bugs="10" priority_3="8" priority_2="2"/>
  1096. </PackageStats>
  1097. </FindBugsSummary>
  1098. <ClassFeatures></ClassFeatures>
  1099. <History></History>
  1100. </BugCollection>