spotbugs-exclude.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <FindBugsFilter>
  3. <!-- The set failing checks when spotbugs was set up were added to this file, as a baseline -->
  4. <!-- These exclusions should each be justified or removed and fixed AP (2023-02-09) -->
  5. <Match>
  6. <Class name="org.rocksdb.SstFileWriter"/>
  7. <Bug pattern="UPM_UNCALLED_PRIVATE_METHOD" />
  8. </Match>
  9. <Match>
  10. <Class name="org.rocksdb.AbstractTransactionNotifier"/>
  11. <Bug pattern="UPM_UNCALLED_PRIVATE_METHOD" />
  12. </Match>
  13. <Match>
  14. <Class name="org.rocksdb.Env"/>
  15. <Bug pattern="MS_EXPOSE_REP" />
  16. </Match>
  17. <Match>
  18. <Class name="org.rocksdb.BackupEngineOptions"/>
  19. <Bug pattern="EI_EXPOSE_REP" />
  20. </Match>
  21. <Match>
  22. <Class name="org.rocksdb.BackupEngineOptions"/>
  23. <Bug pattern="EI_EXPOSE_REP" />
  24. </Match>
  25. <Match>
  26. <Class name="org.rocksdb.Transaction$WaitingTransactions"/>
  27. <Bug pattern="EI_EXPOSE_REP" />
  28. </Match>
  29. <Match>
  30. <Class name="org.rocksdb.TransactionDB$KeyLockInfo"/>
  31. <Bug pattern="EI_EXPOSE_REP" />
  32. </Match>
  33. <Match>
  34. <Class name="org.rocksdb.Options"/>
  35. <Bug pattern="EI_EXPOSE_REP" />
  36. </Match>
  37. <Match>
  38. <Class name="org.rocksdb.ColumnFamilyDescriptor"/>
  39. <Bug pattern="EI_EXPOSE_REP" />
  40. </Match>
  41. <Match>
  42. <Class name="org.rocksdb.ColumnFamilyOptions"/>
  43. <Bug pattern="EI_EXPOSE_REP" />
  44. </Match>
  45. <Match>
  46. <Class name="org.rocksdb.DBOptions"/>
  47. <Bug pattern="EI_EXPOSE_REP" />
  48. </Match>
  49. <Match>
  50. <Class name="org.rocksdb.EnvOptions"/>
  51. <Bug pattern="EI_EXPOSE_REP" />
  52. </Match>
  53. <Match>
  54. <Class name="org.rocksdb.LiveFileMetaData"/>
  55. <Bug pattern="EI_EXPOSE_REP" />
  56. </Match>
  57. <Match>
  58. <Class name="org.rocksdb.SstFileMetaData"/>
  59. <Bug pattern="EI_EXPOSE_REP" />
  60. </Match>
  61. <Match>
  62. <Class name="org.rocksdb.StatsCollectorInput"/>
  63. <Bug pattern="EI_EXPOSE_REP" />
  64. </Match>
  65. <Match>
  66. <Class name="org.rocksdb.ThreadStatus"/>
  67. <Bug pattern="EI_EXPOSE_REP" />
  68. </Match>
  69. <Match>
  70. <Class name="org.rocksdb.ColumnFamilyMetaData"/>
  71. <Bug pattern="EI_EXPOSE_REP" />
  72. </Match>
  73. <Match>
  74. <Class name="org.rocksdb.TransactionLogIterator$BatchResult"/>
  75. <Bug pattern="EI_EXPOSE_REP" />
  76. </Match>
  77. <Match>
  78. <Class name="org.rocksdb.WBWIRocksIterator$WriteEntry"/>
  79. <Bug pattern="EI_EXPOSE_REP" />
  80. </Match>
  81. <Match>
  82. <Class name="org.rocksdb.TableProperties"/>
  83. <Bug pattern="EI_EXPOSE_REP" />
  84. </Match>
  85. <Match>
  86. <Class name="org.rocksdb.WBWIRocksIterator$WriteEntry"/>
  87. <Bug pattern="EI_EXPOSE_REP2" />
  88. </Match>
  89. <Match>
  90. <Class name="org.rocksdb.TransactionDB$DeadlockPath"/>
  91. <Bug pattern="EI_EXPOSE_REP2" />
  92. </Match>
  93. <Match>
  94. <Class name="org.rocksdb.StatisticsCollector"/>
  95. <Bug pattern="EI_EXPOSE_REP2" />
  96. </Match>
  97. <Match>
  98. <Class name="org.rocksdb.ReadOptions"/>
  99. <Bug pattern="EI_EXPOSE_REP2" />
  100. </Match>
  101. <Match>
  102. <Class name="org.rocksdb.Range"/>
  103. <Bug pattern="EI_EXPOSE_REP2" />
  104. </Match>
  105. <Match>
  106. <Class name="org.rocksdb.Options"/>
  107. <Bug pattern="EI_EXPOSE_REP2" />
  108. </Match>
  109. <Match>
  110. <Class name="org.rocksdb.StatsCollectorInput"/>
  111. <Bug pattern="EI_EXPOSE_REP2" />
  112. </Match>
  113. <Match>
  114. <Class name="org.rocksdb.EnvOptions"/>
  115. <Bug pattern="EI_EXPOSE_REP2" />
  116. </Match>
  117. <Match>
  118. <Class name="org.rocksdb.DBOptions"/>
  119. <Bug pattern="EI_EXPOSE_REP2" />
  120. </Match>
  121. <Match>
  122. <Class name="org.rocksdb.ColumnFamilyOptions"/>
  123. <Bug pattern="EI_EXPOSE_REP2" />
  124. </Match>
  125. <Match>
  126. <Class name="org.rocksdb.ColumnFamilyDescriptor"/>
  127. <Bug pattern="EI_EXPOSE_REP2" />
  128. </Match>
  129. <Match>
  130. <Class name="org.rocksdb.BackupEngineOptions"/>
  131. <Bug pattern="EI_EXPOSE_REP2" />
  132. </Match>
  133. <!-- comment out a single exclusion to test that CI reports the consequent spotbugs [Error]
  134. <Match>
  135. <Class name="org.rocksdb.TransactionDB$KeyLockInfo"/>
  136. <Bug pattern="EI_EXPOSE_REP2" />
  137. </Match>
  138. -->
  139. <Match>
  140. <Bug pattern="BIT_IOR_OF_SIGNED_BYTE" />
  141. </Match>
  142. <Match>
  143. <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" />
  144. </Match>
  145. <Match>
  146. <Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" />
  147. </Match>
  148. <Match>
  149. <Class name="org.rocksdb.AbstractCompactionFilterFactory" />
  150. </Match>
  151. </FindBugsFilter>