File: findbugs-exclude.xml

package info (click to toggle)
google-api-client-java 1.27.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,296 kB
  • sloc: java: 10,742; xml: 1,982; makefile: 4
file content (113 lines) | stat: -rw-r--r-- 4,572 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="UTF-8"?>

<FindBugsFilter>
  <!-- http://findbugs.sourceforge.net/bugDescriptions.html -->
  <!-- http://findbugs.sourceforge.net/manual/filter.html -->
  <LastVersion value="-1" relOp="NEQ"/>
  <!-- The following have not yet been investigated -->

  <!-- The following are known to be bugs and should be fixed -->
  <And>
    <Package name="com.google.api.client.googleapis.auth.clientlogin"/>
  </And>

  <!-- The following are known to NOT be bugs and should not be fixed -->
  <And>
    <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/> 
    <!-- Class doesn't override equals in superclass -->   
    <Class name="com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeRequestUrl"/>
  </And>
  <And>
    <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>    
    <Class name="com.google.api.client.googleapis.auth.oauth2.GoogleBrowserClientRequestUrl"/>
  </And>
  <And>
    <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>    
    <Class name="com.google.api.client.googleapis.GoogleUrl"/>
  </And>
  <And>
    <Bug pattern="NP_DEREFERENCE_OF_READLINE_VALUE"/>
    <!-- Dereference of the result of readLine() without nullcheck -->
    <Class name="com.google.api.client.googleapis.batch.BatchUnparsedResponse"/>
  </And>
  <And>
    <Bug pattern="NP_NULL_PARAM_DEREF"/>
    <!-- Method call passes null for nonnull parameter -->
    <Class name="com.google.api.client.googleapis.batch.BatchUnparsedResponse"/>
  </And>
  <And>
    <Bug pattern="DM_DEFAULT_ENCODING"/>
    <!-- Reliance on default encoding -->
    <Class name="com.google.api.client.googleapis.auth.oauth2.GoogleCredential$Builder"/>
  </And>
  <And>
    <Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
    <!-- Usage of an &#64;Beta class or method -->
    <Class name="com.google.api.client.googleapis.batch.BatchUnparsedResponse"/>
  </And>
  <And>
    <Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
    <Class name="com.google.api.client.googleapis.batch.BatchRequest"/>
  </And>
  <And>
    <Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
    <Class name="com.google.api.client.googleapis.media.MediaHttpDownloader"/>
  </And>
  <And>
    <Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
    <Class name="~com.google.api.client.googleapis.media.MediaHttpUploader"/>
  </And>
  <And>
    <Bug pattern="BETA_CLASS_USAGE"/>
    <!-- Usage of DefaultCredentialProvider in static field constructor -->
    <Class name="com.google.api.client.googleapis.auth.oauth2.GoogleCredential"/>
  </And>
  <And>
    <Bug pattern="BETA_CLASS_USAGE"/>
    <!-- Usage of Beta class in the nested anonymous class -->
    <Class name="com.google.api.client.googleapis.testing.compute.MockMetadataServerTransport$1"/>
  </And>
  <And>
    <Bug pattern="BETA_CLASS_USAGE"/>
    <!-- Usage of Beta class in the nested anonymous class -->
    <Class name="com.google.api.client.googleapis.testing.compute.MockMetadataServerTransport$2"/>
  </And>
  <And>
    <Bug pattern="BETA_CLASS_USAGE"/>
    <!-- Usage of Beta class in the nested anonymous class -->
    <Class name="com.google.api.client.googleapis.testing.auth.oauth2.MockTokenServerTransport$1"/>
  </And>
  <And>
    <Bug pattern="BETA_METHOD_USAGE"/>
    <Class name="com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow$Builder"/>
  </And>
  <And>
    <Bug pattern="NP_BOOLEAN_RETURN_NULL"/>
    <!-- Method with Boolean return type returns explicit null -->
  </And>
  <And>
    <Bug pattern="DM_STRING_CTOR"/>
    <!-- Method invokes inefficient new String(String) constructor -->
    <Class name="com.google.api.client.googleapis.batch.BatchRequest"/>    
  </And>  
  <And>
    <Bug pattern="DM_STRING_CTOR"/>
    <!-- Method invokes inefficient new String(String) constructor -->
    <Class name="com.google.api.client.googleapis.services.AbstractGoogleClient"/>    
  </And>  
  <And>
    <Bug pattern="DM_STRING_CTOR"/>
    <!-- Method invokes inefficient new String(String) constructor -->
    <Class name="com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential"/>    
  </And>  
  <And>
    <Bug pattern="DM_STRING_CTOR"/>
    <!-- Method invokes inefficient new String(String) constructor -->
    <Class name="com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential$RequestHandler"/>    
  </And>  
  <And>
    <Bug pattern="DM_STRING_CTOR"/>
    <!-- Method invokes inefficient new String(String) constructor -->
    <Class name="com.google.api.client.googleapis.xml.atom.MultiKindFeedParser"/>    
  </And>  
</FindBugsFilter>