| # | File | Line | Problem |
| 1 |
net\sf\xwsf\client\swt\ImageAdapter.java |
22 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2 |
net\sf\xwsf\client\swt\ImageAdapter.java |
41 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 3 |
net\sf\xwsf\client\swt\ImageAdapter.java |
41 |
Document empty constructor |
| 4 |
net\sf\xwsf\client\swt\ImageAdapter.java |
47 |
Avoid variables with short names like im |
| 5 |
net\sf\xwsf\client\swt\ImageAdapter.java |
47 |
Found 'DD'-anomaly for variable 'im' (lines '47'-'51'). |
| 6 |
net\sf\xwsf\client\swt\MessageProcessor.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7 |
net\sf\xwsf\client\swt\MessageProcessor.java |
47 |
A class which only has private constructors should be final |
| 8 |
net\sf\xwsf\client\swt\MessageProcessor.java |
47 |
The class 'MessageProcessor' has a Cyclomatic Complexity of 4 (Highest = 16). |
| 9 |
net\sf\xwsf\client\swt\MessageProcessor.java |
58 |
Avoid unused private fields such as 'communicator'. |
| 10 |
net\sf\xwsf\client\swt\MessageProcessor.java |
58 |
Perhaps 'communicator' could be replaced by a local variable. |
| 11 |
net\sf\xwsf\client\swt\MessageProcessor.java |
58 |
Private field 'communicator' could be made final; it is only initialized in the declaration or constructor. |
| 12 |
net\sf\xwsf\client\swt\MessageProcessor.java |
79 |
An empty statement (semicolon) not part of a loop |
| 13 |
net\sf\xwsf\client\swt\MessageProcessor.java |
133 |
Found 'DD'-anomaly for variable 'messageDocument' (lines '133'-'141'). |
| 14 |
net\sf\xwsf\client\swt\MessageProcessor.java |
159 |
Found 'DD'-anomaly for variable 'updateNode' (lines '159'-'163'). |
| 15 |
net\sf\xwsf\client\swt\MessageProcessor.java |
159 |
Found 'DU'-anomaly for variable 'updateNode' (lines '159'-'167'). |
| 16 |
net\sf\xwsf\client\swt\MessageProcessor.java |
173 |
The method 'handleUpdateMessage' has a Cyclomatic Complexity of 10. |
| 17 |
net\sf\xwsf\client\swt\MessageProcessor.java |
173 |
Use explicit scoping instead of the default package private level |
| 18 |
net\sf\xwsf\client\swt\MessageProcessor.java |
187 |
Avoid variables with short names like id |
| 19 |
net\sf\xwsf\client\swt\MessageProcessor.java |
201 |
Avoid using final local variables, turn them into fields |
| 20 |
net\sf\xwsf\client\swt\MessageProcessor.java |
201 |
Avoid variables with short names like id |
| 21 |
net\sf\xwsf\client\swt\MessageProcessor.java |
208 |
Avoid using final local variables, turn them into fields |
| 22 |
net\sf\xwsf\client\swt\MessageProcessor.java |
208 |
Avoid variables with short names like id |
| 23 |
net\sf\xwsf\client\swt\MessageProcessor.java |
213 |
Avoid using final local variables, turn them into fields |
| 24 |
net\sf\xwsf\client\swt\MessageProcessor.java |
213 |
Avoid variables with short names like id |
| 25 |
net\sf\xwsf\client\swt\MessageProcessor.java |
237 |
Avoid really long methods. |
| 26 |
net\sf\xwsf\client\swt\MessageProcessor.java |
237 |
The method 'refreshWidget' has a Cyclomatic Complexity of 16. |
| 27 |
net\sf\xwsf\client\swt\MessageProcessor.java |
237 |
Use explicit scoping instead of the default package private level |
| 28 |
net\sf\xwsf\client\swt\MessageProcessor.java |
240 |
Avoid using final local variables, turn them into fields |
| 29 |
net\sf\xwsf\client\swt\MessageProcessor.java |
240 |
Avoid variables with short names like id |
| 30 |
net\sf\xwsf\client\swt\MessageProcessor.java |
241 |
Avoid using final local variables, turn them into fields |
| 31 |
net\sf\xwsf\client\swt\MessageProcessor.java |
242 |
Avoid using final local variables, turn them into fields |
| 32 |
net\sf\xwsf\client\swt\MessageProcessor.java |
242 |
Found 'DU'-anomaly for variable 'node' (lines '242'-'360'). |
| 33 |
net\sf\xwsf\client\swt\MessageProcessor.java |
242 |
Found 'DU'-anomaly for variable 'node' (lines '242'-'360'). |
| 34 |
net\sf\xwsf\client\swt\MessageProcessor.java |
242 |
Found 'DU'-anomaly for variable 'node' (lines '242'-'360'). |
| 35 |
net\sf\xwsf\client\swt\MessageProcessor.java |
243 |
Avoid if (x != y) ..; else ..; |
| 36 |
net\sf\xwsf\client\swt\MessageProcessor.java |
258 |
Avoid using final local variables, turn them into fields |
| 37 |
net\sf\xwsf\client\swt\MessageProcessor.java |
258 |
Found 'DU'-anomaly for variable 'path' (lines '258'-'360'). |
| 38 |
net\sf\xwsf\client\swt\MessageProcessor.java |
258 |
Found 'DU'-anomaly for variable 'path' (lines '258'-'360'). |
| 39 |
net\sf\xwsf\client\swt\MessageProcessor.java |
258 |
Found 'DU'-anomaly for variable 'path' (lines '258'-'360'). |
| 40 |
net\sf\xwsf\client\swt\MessageProcessor.java |
265 |
The method 'run' has a Cyclomatic Complexity of 11. |
| 41 |
net\sf\xwsf\client\swt\MessageProcessor.java |
267 |
Avoid using final local variables, turn them into fields |
| 42 |
net\sf\xwsf\client\swt\MessageProcessor.java |
298 |
Avoid if (x != y) ..; else ..; |
| 43 |
net\sf\xwsf\client\swt\MessageProcessor.java |
365 |
Use explicit scoping instead of the default package private level |
| 44 |
net\sf\xwsf\client\swt\MessageProcessor.java |
367 |
Avoid using final local variables, turn them into fields |
| 45 |
net\sf\xwsf\client\swt\MessageProcessor.java |
367 |
Avoid variables with short names like id |
| 46 |
net\sf\xwsf\client\swt\MessageProcessor.java |
367 |
Found 'DU'-anomaly for variable 'id' (lines '367'-'420'). |
| 47 |
net\sf\xwsf\client\swt\MessageProcessor.java |
367 |
Found 'DU'-anomaly for variable 'id' (lines '367'-'420'). |
| 48 |
net\sf\xwsf\client\swt\MessageProcessor.java |
367 |
Found 'DU'-anomaly for variable 'id' (lines '367'-'420'). |
| 49 |
net\sf\xwsf\client\swt\MessageProcessor.java |
373 |
Avoid using final local variables, turn them into fields |
| 50 |
net\sf\xwsf\client\swt\MessageProcessor.java |
373 |
Avoid variables with short names like w |
| 51 |
net\sf\xwsf\client\swt\MessageProcessor.java |
425 |
Use explicit scoping instead of the default package private level |
| 52 |
net\sf\xwsf\client\swt\MessageProcessor.java |
428 |
Avoid using final local variables, turn them into fields |
| 53 |
net\sf\xwsf\client\swt\MessageProcessor.java |
428 |
Avoid variables with short names like id |
| 54 |
net\sf\xwsf\client\swt\MessageProcessor.java |
428 |
Found 'DU'-anomaly for variable 'id' (lines '428'-'466'). |
| 55 |
net\sf\xwsf\client\swt\MessageProcessor.java |
428 |
Found 'DU'-anomaly for variable 'id' (lines '428'-'466'). |
| 56 |
net\sf\xwsf\client\swt\MessageProcessor.java |
428 |
Found 'DU'-anomaly for variable 'id' (lines '428'-'466'). |
| 57 |
net\sf\xwsf\client\swt\MessageProcessor.java |
429 |
Avoid using final local variables, turn them into fields |
| 58 |
net\sf\xwsf\client\swt\MessageProcessor.java |
429 |
Found 'DU'-anomaly for variable 'value' (lines '429'-'466'). |
| 59 |
net\sf\xwsf\client\swt\MessageProcessor.java |
429 |
Found 'DU'-anomaly for variable 'value' (lines '429'-'466'). |
| 60 |
net\sf\xwsf\client\swt\MessageProcessor.java |
429 |
Found 'DU'-anomaly for variable 'value' (lines '429'-'466'). |
| 61 |
net\sf\xwsf\client\swt\MessageProcessor.java |
435 |
Avoid using final local variables, turn them into fields |
| 62 |
net\sf\xwsf\client\swt\MessageProcessor.java |
435 |
Avoid variables with short names like w |
| 63 |
net\sf\xwsf\client\swt\MessageProcessor.java |
438 |
Avoid variables with short names like c |
| 64 |
net\sf\xwsf\client\swt\MessageProcessor.java |
439 |
Position literals first in String comparisons |
| 65 |
net\sf\xwsf\client\swt\MessageProcessor.java |
471 |
The method 'makeWidgetSelected' has a Cyclomatic Complexity of 10. |
| 66 |
net\sf\xwsf\client\swt\MessageProcessor.java |
474 |
Avoid using final local variables, turn them into fields |
| 67 |
net\sf\xwsf\client\swt\MessageProcessor.java |
474 |
Avoid variables with short names like id |
| 68 |
net\sf\xwsf\client\swt\MessageProcessor.java |
474 |
Found 'DU'-anomaly for variable 'id' (lines '474'-'524'). |
| 69 |
net\sf\xwsf\client\swt\MessageProcessor.java |
474 |
Found 'DU'-anomaly for variable 'id' (lines '474'-'524'). |
| 70 |
net\sf\xwsf\client\swt\MessageProcessor.java |
474 |
Found 'DU'-anomaly for variable 'id' (lines '474'-'524'). |
| 71 |
net\sf\xwsf\client\swt\MessageProcessor.java |
475 |
Found 'DD'-anomaly for variable 'tabItem' (lines '475'-'482'). |
| 72 |
net\sf\xwsf\client\swt\MessageProcessor.java |
475 |
Found 'DD'-anomaly for variable 'tabItem' (lines '475'-'482'). |
| 73 |
net\sf\xwsf\client\swt\MessageProcessor.java |
475 |
Found 'DD'-anomaly for variable 'tabItem' (lines '475'-'482'). |
| 74 |
net\sf\xwsf\client\swt\MessageProcessor.java |
481 |
Avoid using final local variables, turn them into fields |
| 75 |
net\sf\xwsf\client\swt\MessageProcessor.java |
481 |
Avoid variables with short names like w |
| 76 |
net\sf\xwsf\client\swt\MessageProcessor.java |
482 |
Found 'DD'-anomaly for variable 'tabItem' (lines '482'-'498'). |
| 77 |
net\sf\xwsf\client\swt\MessageProcessor.java |
482 |
Found 'DD'-anomaly for variable 'tabItem' (lines '482'-'498'). |
| 78 |
net\sf\xwsf\client\swt\MessageProcessor.java |
482 |
Found 'DD'-anomaly for variable 'tabItem' (lines '482'-'498'). |
| 79 |
net\sf\xwsf\client\swt\MessageProcessor.java |
482 |
Found 'DU'-anomaly for variable 'tabItem' (lines '482'-'524'). |
| 80 |
net\sf\xwsf\client\swt\MessageProcessor.java |
482 |
Found 'DU'-anomaly for variable 'tabItem' (lines '482'-'524'). |
| 81 |
net\sf\xwsf\client\swt\MessageProcessor.java |
482 |
Found 'DU'-anomaly for variable 'tabItem' (lines '482'-'524'). |
| 82 |
net\sf\xwsf\client\swt\MessageProcessor.java |
539 |
Avoid using final local variables, turn them into fields |
| 83 |
net\sf\xwsf\client\swt\MessageProcessor.java |
539 |
Found 'DU'-anomaly for variable 'startMarking' (lines '539'-'576'). |
| 84 |
net\sf\xwsf\client\swt\MessageProcessor.java |
539 |
Found 'DU'-anomaly for variable 'startMarking' (lines '539'-'576'). |
| 85 |
net\sf\xwsf\client\swt\MessageProcessor.java |
539 |
Found 'DU'-anomaly for variable 'startMarking' (lines '539'-'576'). |
| 86 |
net\sf\xwsf\client\swt\MessageProcessor.java |
540 |
Avoid using final local variables, turn them into fields |
| 87 |
net\sf\xwsf\client\swt\MessageProcessor.java |
540 |
Found 'DU'-anomaly for variable 'endMarking' (lines '540'-'576'). |
| 88 |
net\sf\xwsf\client\swt\MessageProcessor.java |
540 |
Found 'DU'-anomaly for variable 'endMarking' (lines '540'-'576'). |
| 89 |
net\sf\xwsf\client\swt\MessageProcessor.java |
540 |
Found 'DU'-anomaly for variable 'endMarking' (lines '540'-'576'). |
| 90 |
net\sf\xwsf\client\swt\MessageProcessor.java |
541 |
Avoid using final local variables, turn them into fields |
| 91 |
net\sf\xwsf\client\swt\MessageProcessor.java |
541 |
Avoid variables with short names like id |
| 92 |
net\sf\xwsf\client\swt\MessageProcessor.java |
541 |
Found 'DU'-anomaly for variable 'id' (lines '541'-'576'). |
| 93 |
net\sf\xwsf\client\swt\MessageProcessor.java |
541 |
Found 'DU'-anomaly for variable 'id' (lines '541'-'576'). |
| 94 |
net\sf\xwsf\client\swt\MessageProcessor.java |
541 |
Found 'DU'-anomaly for variable 'id' (lines '541'-'576'). |
| 95 |
net\sf\xwsf\client\swt\MessageProcessor.java |
548 |
Avoid using final local variables, turn them into fields |
| 96 |
net\sf\xwsf\client\swt\MessageProcessor.java |
548 |
Avoid variables with short names like w |
| 97 |
net\sf\xwsf\client\swt\MessageProcessor.java |
551 |
Avoid using final local variables, turn them into fields |
| 98 |
net\sf\xwsf\client\swt\MessageProcessor.java |
583 |
Use explicit scoping instead of the default package private level |
| 99 |
net\sf\xwsf\client\swt\MessageProcessor.java |
585 |
Avoid using final local variables, turn them into fields |
| 100 |
net\sf\xwsf\client\swt\MessageProcessor.java |
585 |
Avoid variables with short names like id |
| 101 |
net\sf\xwsf\client\swt\MessageProcessor.java |
585 |
Found 'DU'-anomaly for variable 'id' (lines '585'-'640'). |
| 102 |
net\sf\xwsf\client\swt\MessageProcessor.java |
585 |
Found 'DU'-anomaly for variable 'id' (lines '585'-'640'). |
| 103 |
net\sf\xwsf\client\swt\MessageProcessor.java |
585 |
Found 'DU'-anomaly for variable 'id' (lines '585'-'640'). |
| 104 |
net\sf\xwsf\client\swt\MessageProcessor.java |
586 |
Avoid using final local variables, turn them into fields |
| 105 |
net\sf\xwsf\client\swt\MessageProcessor.java |
587 |
Avoid using final local variables, turn them into fields |
| 106 |
net\sf\xwsf\client\swt\MessageProcessor.java |
589 |
Avoid excessively long variable names like childViewXmlDefinition |
| 107 |
net\sf\xwsf\client\swt\MessageProcessor.java |
589 |
Avoid using final local variables, turn them into fields |
| 108 |
net\sf\xwsf\client\swt\Poller.java |
38 |
To be compliant to J2EE, a webapp should not use any thread. |
| 109 |
net\sf\xwsf\client\swt\Poller.java |
45 |
Avoid unused private fields such as 'imageUrlPath'. |
| 110 |
net\sf\xwsf\client\swt\Poller.java |
45 |
Perhaps 'imageUrlPath' could be replaced by a local variable. |
| 111 |
net\sf\xwsf\client\swt\Poller.java |
48 |
Private field 'messageProcessor' could be made final; it is only initialized in the declaration or constructor. |
| 112 |
net\sf\xwsf\client\swt\Poller.java |
50 |
Private field 'communicator' could be made final; it is only initialized in the declaration or constructor. |
| 113 |
net\sf\xwsf\client\swt\SWTClient.java |
51 |
The class 'SWTClient' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 114 |
net\sf\xwsf\client\swt\SWTClient.java |
58 |
Avoid unused private fields such as 'serverURL'. |
| 115 |
net\sf\xwsf\client\swt\SWTClient.java |
58 |
Perhaps 'serverURL' could be replaced by a local variable. |
| 116 |
net\sf\xwsf\client\swt\SWTClient.java |
58 |
Private field 'serverURL' could be made final; it is only initialized in the declaration or constructor. |
| 117 |
net\sf\xwsf\client\swt\SWTClient.java |
63 |
Private field 'viewName' could be made final; it is only initialized in the declaration or constructor. |
| 118 |
net\sf\xwsf\client\swt\SWTClient.java |
65 |
Avoid excessively long variable names like applicationInitializerName |
| 119 |
net\sf\xwsf\client\swt\SWTClient.java |
82 |
Perhaps 'widgetDisposed' could be replaced by a local variable. |
| 120 |
net\sf\xwsf\client\swt\SWTClient.java |
90 |
The method 'run' has a Cyclomatic Complexity of 10. |
| 121 |
net\sf\xwsf\client\swt\SWTClient.java |
94 |
Found 'DD'-anomaly for variable 'clientRequest' (lines '94'-'101'). |
| 122 |
net\sf\xwsf\client\swt\SWTClient.java |
94 |
Found 'DD'-anomaly for variable 'clientRequest' (lines '94'-'97'). |
| 123 |
net\sf\xwsf\client\swt\SWTClient.java |
95 |
Position literals first in String comparisons |
| 124 |
net\sf\xwsf\client\swt\SWTClient.java |
99 |
Position literals first in String comparisons |
| 125 |
net\sf\xwsf\client\swt\SWTClient.java |
185 |
Avoid variables with short names like id |
| 126 |
net\sf\xwsf\client\swt\SWTClient.java |
190 |
The method 'main' has a Cyclomatic Complexity of 10. |
| 127 |
net\sf\xwsf\client\swt\SWTClient.java |
192 |
Found 'DD'-anomaly for variable 'serverUrl' (lines '192'-'205'). |
| 128 |
net\sf\xwsf\client\swt\SWTClient.java |
193 |
Found 'DD'-anomaly for variable 'viewName' (lines '193'-'209'). |
| 129 |
net\sf\xwsf\client\swt\SWTClient.java |
194 |
Avoid excessively long variable names like applicationInitializerName |
| 130 |
net\sf\xwsf\client\swt\SWTClient.java |
194 |
Found 'DD'-anomaly for variable 'applicationInitializerName' (lines '194'-'213'). |
| 131 |
net\sf\xwsf\client\swt\SWTClient.java |
195 |
Avoid excessively long variable names like applicationContextURL |
| 132 |
net\sf\xwsf\client\swt\SWTClient.java |
195 |
Found 'DD'-anomaly for variable 'applicationContextURL' (lines '195'-'217'). |
| 133 |
net\sf\xwsf\client\swt\SWTClient.java |
253 |
Avoid variables with short names like id |
| 134 |
net\sf\xwsf\client\swt\SWTClient.java |
264 |
Avoid variables with short names like id |
| 135 |
net\sf\xwsf\client\swt\SWTClientConstants.java |
29 |
An Interface should be used only to model a behaviour; consider converting this to a class. |
| 136 |
net\sf\xwsf\client\swt\SWTClientConstants.java |
31 |
Avoid modifiers which are implied by the context |
| 137 |
net\sf\xwsf\client\swt\SWTClientConstants.java |
38 |
Avoid excessively long variable names like REFRESH_VIEW_PLACE_HOLDER |
| 138 |
net\sf\xwsf\client\swt\SWTClientConstants.java |
41 |
Avoid variables with short names like ID |
| 139 |
net\sf\xwsf\client\swt\SWTClientFactory.java |
39 |
A class which only has private constructors should be final |
| 140 |
net\sf\xwsf\client\swt\SWTClientFactory.java |
43 |
Avoid excessively long variable names like transformerFactory |
| 141 |
net\sf\xwsf\client\swt\SWTClientFactory.java |
47 |
Avoid unused private fields such as 'transformURI'. |
| 142 |
net\sf\xwsf\client\swt\SWTClientFactory.java |
58 |
Singleton is not thread safe |
| 143 |
net\sf\xwsf\client\swt\SWTClientFactory.java |
82 |
Use block level rather than method level synchronization |
| 144 |
net\sf\xwsf\client\swt\SWTCommunicator.java |
48 |
Consider replacing this Hashtable with the newer java.util.Map |
| 145 |
net\sf\xwsf\client\swt\SWTCommunicator.java |
62 |
Avoid reassigning parameters such as 'request' |
| 146 |
net\sf\xwsf\client\swt\SWTCommunicator.java |
66 |
Avoid variables with short names like p |
| 147 |
net\sf\xwsf\client\swt\SWTCommunicator.java |
95 |
Avoid assignments in operands |
| 148 |
net\sf\xwsf\client\swt\SWTCommunicator.java |
95 |
Found 'DU'-anomaly for variable 'temp' (lines '95'-'114'). |
| 149 |
net\sf\xwsf\client\swt\SWTExecution.java |
44 |
Avoid excessively long variable names like _theOneAndOnlyGlobalDisplay |
| 150 |
net\sf\xwsf\client\swt\SWTExecution.java |
48 |
Avoid excessively long variable names like waitingThreadExecutor |
| 151 |
net\sf\xwsf\client\swt\SWTExecution.java |
48 |
To be compliant to J2EE, a webapp should not use any thread. |
| 152 |
net\sf\xwsf\client\swt\SWTExecution.java |
66 |
Avoid excessively long variable names like APPLICATION_THREAD_EXECUTOR |
| 153 |
net\sf\xwsf\client\swt\SWTExecution.java |
79 |
Avoid excessively long variable names like SINGLE_THREAD_SYNCHRONOUS_EXECUTOR |
| 154 |
net\sf\xwsf\client\swt\SWTExecution.java |
79 |
Avoid unused private fields such as 'SINGLE_THREAD_SYNCHRONOUS_EXECUTOR'. |
| 155 |
net\sf\xwsf\client\swt\SWTExecution.java |
81 |
To be compliant to J2EE, a webapp should not use any thread. |
| 156 |
net\sf\xwsf\client\swt\SWTExecution.java |
86 |
To be compliant to J2EE, a webapp should not use any thread. |
| 157 |
net\sf\xwsf\client\swt\SWTExecution.java |
92 |
Avoid excessively long variable names like NEW_THREAD_START_EXECUTOR |
| 158 |
net\sf\xwsf\client\swt\SWTExecution.java |
94 |
To be compliant to J2EE, a webapp should not use any thread. |
| 159 |
net\sf\xwsf\client\swt\SWTExecution.java |
96 |
To be compliant to J2EE, a webapp should not use any thread. |
| 160 |
net\sf\xwsf\client\swt\SWTExecution.java |
99 |
To be compliant to J2EE, a webapp should not use any thread. |
| 161 |
net\sf\xwsf\client\swt\SWTExecution.java |
105 |
Avoid excessively long variable names like UI_THREAD_START_EXECUTOR |
| 162 |
net\sf\xwsf\client\swt\SWTExecution.java |
107 |
To be compliant to J2EE, a webapp should not use any thread. |
| 163 |
net\sf\xwsf\client\swt\SWTExecution.java |
109 |
To be compliant to J2EE, a webapp should not use any thread. |
| 164 |
net\sf\xwsf\client\swt\SWTExecution.java |
112 |
To be compliant to J2EE, a webapp should not use any thread. |
| 165 |
net\sf\xwsf\client\swt\SWTExecution.java |
118 |
Avoid excessively long variable names like UI_THREAD_ASYNC_EXECUTOR |
| 166 |
net\sf\xwsf\client\swt\SWTExecution.java |
120 |
To be compliant to J2EE, a webapp should not use any thread. |
| 167 |
net\sf\xwsf\client\swt\SWTExecution.java |
127 |
A method should have only one exit point, and that should be the last statement in the method |
| 168 |
net\sf\xwsf\client\swt\SWTExecution.java |
143 |
To be compliant to J2EE, a webapp should not use any thread. |
| 169 |
net\sf\xwsf\client\swt\SWTExecution.java |
149 |
Avoid excessively long variable names like UI_THREAD_SYNC_EXECUTOR |
| 170 |
net\sf\xwsf\client\swt\SWTExecution.java |
152 |
To be compliant to J2EE, a webapp should not use any thread. |
| 171 |
net\sf\xwsf\client\swt\SWTExecution.java |
164 |
To be compliant to J2EE, a webapp should not use any thread. |
| 172 |
net\sf\xwsf\client\swt\SWTExecution.java |
187 |
Singleton is not thread safe |
| 173 |
net\sf\xwsf\client\swt\SWTExecution.java |
189 |
To be compliant to J2EE, a webapp should not use any thread. |
| 174 |
net\sf\xwsf\client\swt\SWTExecution.java |
189 |
To be compliant to J2EE, a webapp should not use any thread. |
| 175 |
net\sf\xwsf\client\swt\SWTExecution.java |
209 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 176 |
net\sf\xwsf\client\swt\SWTExecution.java |
217 |
Avoid unnecessary return statements |
| 177 |
net\sf\xwsf\client\swt\SWTExecution.java |
249 |
Singleton is not thread safe |
| 178 |
net\sf\xwsf\client\swt\SWTExecution.java |
257 |
Avoid modifiers which are implied by the context |
| 179 |
net\sf\xwsf\client\swt\SWTExecution.java |
257 |
To be compliant to J2EE, a webapp should not use any thread. |
| 180 |
net\sf\xwsf\client\swt\SWTExecution.java |
260 |
Avoid modifiers which are implied by the context |
| 181 |
net\sf\xwsf\client\swt\SWTExecution.java |
262 |
Avoid modifiers which are implied by the context |
| 182 |
net\sf\xwsf\client\swt\SWTExecution.java |
264 |
Avoid modifiers which are implied by the context |
| 183 |
net\sf\xwsf\client\swt\SWTExecution.java |
274 |
To be compliant to J2EE, a webapp should not use any thread. |
| 184 |
net\sf\xwsf\client\swt\SWTExecution.java |
274 |
To be compliant to J2EE, a webapp should not use any thread. |
| 185 |
net\sf\xwsf\client\swt\SWTExecution.java |
282 |
To be compliant to J2EE, a webapp should not use any thread. |
| 186 |
net\sf\xwsf\client\swt\SWTExecution.java |
282 |
To be compliant to J2EE, a webapp should not use any thread. |
| 187 |
net\sf\xwsf\client\swt\SWTExecution.java |
284 |
Avoid excessively long variable names like _applicationRunning |
| 188 |
net\sf\xwsf\client\swt\SWTExecution.java |
284 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 189 |
net\sf\xwsf\client\swt\SWTExecution.java |
288 |
To be compliant to J2EE, a webapp should not use any thread. |
| 190 |
net\sf\xwsf\client\swt\SWTExecution.java |
288 |
To be compliant to J2EE, a webapp should not use any thread. |
| 191 |
net\sf\xwsf\client\swt\SWTExecution.java |
294 |
An empty statement (semicolon) not part of a loop |
| 192 |
net\sf\xwsf\client\swt\SWTExecution.java |
300 |
To be compliant to J2EE, a webapp should not use any thread. |
| 193 |
net\sf\xwsf\client\swt\SWTExecution.java |
300 |
To be compliant to J2EE, a webapp should not use any thread. |
| 194 |
net\sf\xwsf\client\swt\SWTExecution.java |
306 |
An empty statement (semicolon) not part of a loop |
| 195 |
net\sf\xwsf\client\swt\SWTExecution.java |
309 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 196 |
net\sf\xwsf\client\swt\SWTExecution.java |
313 |
To be compliant to J2EE, a webapp should not use any thread. |
| 197 |
net\sf\xwsf\client\swt\SWTExecution.java |
313 |
To be compliant to J2EE, a webapp should not use any thread. |
| 198 |
net\sf\xwsf\client\swt\SWTExecution.java |
313 |
To be compliant to J2EE, a webapp should not use any thread. |
| 199 |
net\sf\xwsf\client\swt\SWTExecution.java |
321 |
To be compliant to J2EE, a webapp should not use any thread. |
| 200 |
net\sf\xwsf\client\swt\SWTExecution.java |
352 |
To be compliant to J2EE, a webapp should not use any thread. |
| 201 |
net\sf\xwsf\client\swt\SWTExecution.java |
365 |
To be compliant to J2EE, a webapp should not use any thread. |
| 202 |
net\sf\xwsf\client\swt\SWTView.java |
42 |
Private field '_children' could be made final; it is only initialized in the declaration or constructor. |
| 203 |
net\sf\xwsf\client\swt\SWTView.java |
44 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 204 |
net\sf\xwsf\client\swt\SWTView.java |
118 |
A method should have only one exit point, and that should be the last statement in the method |
| 205 |
net\sf\xwsf\client\swt\SWTView.java |
169 |
Avoid if (x != y) ..; else ..; |
| 206 |
net\sf\xwsf\client\swt\SWTView.java |
180 |
Avoid excessively long variable names like isDisposingChildren |
| 207 |
net\sf\xwsf\client\swt\SWTView.java |
221 |
To be compliant to J2EE, a webapp should not use any thread. |
| 208 |
net\sf\xwsf\client\swt\SWTView.java |
251 |
Use explicit scoping instead of the default package private level |
| 209 |
net\sf\xwsf\client\swt\UpdateJob.java |
5 |
Abstract classes should be named AbstractXXX |
| 210 |
net\sf\xwsf\client\swt\UpdateJob.java |
5 |
To be compliant to J2EE, a webapp should not use any thread. |
| 211 |
net\sf\xwsf\client\swt\UpdateJob.java |
9 |
Document empty constructor |
| 212 |
net\sf\xwsf\client\swt\eventhandler\CTabFolder2EventHandler.java |
103 |
Document empty method |
| 213 |
net\sf\xwsf\client\swt\eventhandler\DragSourceEventHandler.java |
21 |
Private field 'dndId' could be made final; it is only initialized in the declaration or constructor. |
| 214 |
net\sf\xwsf\client\swt\eventhandler\DragSourceEventHandler.java |
74 |
Document empty method |
| 215 |
net\sf\xwsf\client\swt\eventhandler\DragSourceEventHandler.java |
95 |
Avoid variables with short names like id |
| 216 |
net\sf\xwsf\client\swt\eventhandler\DropTargetEventHandler.java |
18 |
Private field 'dndId' could be made final; it is only initialized in the declaration or constructor. |
| 217 |
net\sf\xwsf\client\swt\eventhandler\DropTargetEventHandler.java |
84 |
Document empty method |
| 218 |
net\sf\xwsf\client\swt\eventhandler\DropTargetEventHandler.java |
88 |
Document empty method |
| 219 |
net\sf\xwsf\client\swt\eventhandler\DropTargetEventHandler.java |
92 |
Document empty method |
| 220 |
net\sf\xwsf\client\swt\eventhandler\DropTargetEventHandler.java |
96 |
Document empty method |
| 221 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
35 |
Abstract classes should be named AbstractXXX |
| 222 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
121 |
Found 'DD'-anomaly for variable 'eventHandler' (lines '121'-'126'). |
| 223 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
121 |
Found 'DD'-anomaly for variable 'eventHandler' (lines '121'-'130'). |
| 224 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
121 |
Found 'DD'-anomaly for variable 'eventHandler' (lines '121'-'134'). |
| 225 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
121 |
Found 'DD'-anomaly for variable 'eventHandler' (lines '121'-'138'). |
| 226 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
121 |
Found 'DD'-anomaly for variable 'eventHandler' (lines '121'-'142'). |
| 227 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
121 |
Found 'DD'-anomaly for variable 'eventHandler' (lines '121'-'146'). |
| 228 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
121 |
Found 'DD'-anomaly for variable 'eventHandler' (lines '121'-'149'). |
| 229 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
146 |
Found 'DD'-anomaly for variable 'eventHandler' (lines '146'-'149'). |
| 230 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
166 |
An empty method in an abstract class should be abstract instead |
| 231 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
188 |
An empty method in an abstract class should be abstract instead |
| 232 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
205 |
An empty method in an abstract class should be abstract instead |
| 233 |
net\sf\xwsf\client\swt\eventhandler\EventHandler.java |
219 |
An empty method in an abstract class should be abstract instead |
| 234 |
net\sf\xwsf\client\swt\eventhandler\FocusEventHandler.java |
47 |
Position literals first in String comparisons |
| 235 |
net\sf\xwsf\client\swt\eventhandler\GenericTraverseListener.java |
23 |
Private field 'sourceId' could be made final; it is only initialized in the declaration or constructor. |
| 236 |
net\sf\xwsf\client\swt\eventhandler\GenericTraverseListener.java |
25 |
Private field 'communicator' could be made final; it is only initialized in the declaration or constructor. |
| 237 |
net\sf\xwsf\client\swt\eventhandler\GenericTraverseListener.java |
40 |
Avoid unused private methods such as 'prepareUpdateDataString(String)'. |
| 238 |
net\sf\xwsf\client\swt\eventhandler\GenericTraverseListener.java |
56 |
Avoid unused local variables such as 'value'. |
| 239 |
net\sf\xwsf\client\swt\eventhandler\GenericTraverseListener.java |
56 |
Found 'DU'-anomaly for variable 'value' (lines '56'-'85'). |
| 240 |
net\sf\xwsf\client\swt\eventhandler\GenericTraverseListener.java |
58 |
Found 'DU'-anomaly for variable 'obj' (lines '58'-'85'). |
| 241 |
net\sf\xwsf\client\swt\eventhandler\GenericTraverseListener.java |
61 |
These nested if statements could be combined |
| 242 |
net\sf\xwsf\client\swt\eventhandler\GenericTraverseListener.java |
71 |
The String literal "\" " appears 7 times in this file; the first occurrence is on line 71 |
| 243 |
net\sf\xwsf\client\swt\eventhandler\HyperlinkEventHandler.java |
36 |
Position literals first in String comparisons |
| 244 |
net\sf\xwsf\client\swt\eventhandler\HyperlinkEventHandler.java |
84 |
Avoid empty if statements |
| 245 |
net\sf\xwsf\client\swt\eventhandler\HyperlinkEventHandler.java |
97 |
Avoid empty if statements |
| 246 |
net\sf\xwsf\client\swt\eventhandler\KeyEventHandler.java |
44 |
Position literals first in String comparisons |
| 247 |
net\sf\xwsf\client\swt\eventhandler\KeyEventHandler.java |
44 |
Position literals first in String comparisons |
| 248 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
49 |
Private field 'sourceId' could be made final; it is only initialized in the declaration or constructor. |
| 249 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
51 |
Private field 'communicator' could be made final; it is only initialized in the declaration or constructor. |
| 250 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
79 |
Found 'DD'-anomaly for variable 'required' (lines '79'-'100'). |
| 251 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
79 |
Found 'DD'-anomaly for variable 'required' (lines '79'-'105'). |
| 252 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
79 |
Found 'DD'-anomaly for variable 'required' (lines '79'-'84'). |
| 253 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
79 |
Found 'DD'-anomaly for variable 'required' (lines '79'-'88'). |
| 254 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
79 |
Found 'DU'-anomaly for variable 'required' (lines '79'-'108'). |
| 255 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
132 |
Document empty method |
| 256 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
137 |
Found 'DD'-anomaly for variable 'value' (lines '137'-'142'). |
| 257 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
137 |
Found 'DD'-anomaly for variable 'value' (lines '137'-'147'). |
| 258 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
137 |
Found 'DD'-anomaly for variable 'value' (lines '137'-'152'). |
| 259 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
137 |
Found 'DU'-anomaly for variable 'value' (lines '137'-'164'). |
| 260 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
141 |
Avoid variables with short names like t |
| 261 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
146 |
Avoid variables with short names like t |
| 262 |
net\sf\xwsf\client\swt\eventhandler\RefreshableItemEventHandler.java |
151 |
Avoid variables with short names like t |
| 263 |
net\sf\xwsf\client\swt\eventhandler\SelectionEventHandler.java |
118 |
These nested if statements could be combined |
| 264 |
net\sf\xwsf\client\swt\eventhandler\SelectionEventHandler.java |
150 |
Avoid variables with short names like id |
| 265 |
net\sf\xwsf\client\swt\eventhandler\SelectionEventHandler.java |
169 |
The String literal "\" " appears 8 times in this file; the first occurrence is on line 169 |
| 266 |
net\sf\xwsf\client\swt\eventhandler\TreeEventHandler.java |
45 |
Position literals first in String comparisons |
| 267 |
net\sf\xwsf\client\swt\layout2\BoxData.java |
23 |
Avoid excessively long variable names like heightStretchOrder |
| 268 |
net\sf\xwsf\client\swt\layout2\BoxData.java |
63 |
Avoid really long parameter lists. |
| 269 |
net\sf\xwsf\client\swt\layout2\BoxData.java |
63 |
Avoid unused constructor parameters such as 'heightShrink'. |
| 270 |
net\sf\xwsf\client\swt\layout2\BoxData.java |
64 |
Avoid excessively long variable names like heightStretchOrder |
| 271 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
14 |
The class 'BoxLayout' has a Cyclomatic Complexity of 24 (Highest = 54). |
| 272 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
19 |
Private field 'orientation' could be made final; it is only initialized in the declaration or constructor. |
| 273 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
21 |
Use explicit scoping instead of the default package private level |
| 274 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
23 |
Use explicit scoping instead of the default package private level |
| 275 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
25 |
Use explicit scoping instead of the default package private level |
| 276 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
35 |
The method 'computeSize' has a Cyclomatic Complexity of 16. |
| 277 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
57 |
Found 'DD'-anomaly for variable 'size' (lines '57'-'82'). |
| 278 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
85 |
Avoid empty catch blocks |
| 279 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
88 |
Avoid empty catch blocks |
| 280 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
92 |
Avoid empty catch blocks |
| 281 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
95 |
Avoid empty catch blocks |
| 282 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
117 |
Avoid really long methods. |
| 283 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
117 |
The method 'layout' has a Cyclomatic Complexity of 54. |
| 284 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
117 |
The method layout() has an NCSS line count of 146 |
| 285 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
117 |
The method layout() has an NPath complexity of 4003200 |
| 286 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
120 |
Found 'DU'-anomaly for variable 'sizes' (lines '120'-'399'). |
| 287 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
155 |
Found 'DD'-anomaly for variable 'stretchOrder' (lines '155'-'176'). |
| 288 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
156 |
Found 'DD'-anomaly for variable 'shrinkOrder' (lines '156'-'177'). |
| 289 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
224 |
Avoid empty catch blocks |
| 290 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
227 |
Avoid empty catch blocks |
| 291 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
231 |
Avoid empty catch blocks |
| 292 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
234 |
Avoid empty catch blocks |
| 293 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
251 |
Found 'DD'-anomaly for variable 'ratio' (lines '251'-'256'). |
| 294 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
291 |
Avoid variables with short names like x |
| 295 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
291 |
Found 'DU'-anomaly for variable 'x' (lines '291'-'399'). |
| 296 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
292 |
Avoid variables with short names like y |
| 297 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
292 |
Found 'DU'-anomaly for variable 'y' (lines '292'-'399'). |
| 298 |
net\sf\xwsf\client\swt\layout2\BoxLayout.java |
340 |
Found 'DU'-anomaly for variable 'boxData' (lines '340'-'399'). |
| 299 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
1 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 300 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
57 |
Avoid using final local variables, turn them into fields |
| 301 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
61 |
Avoid using final local variables, turn them into fields |
| 302 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
65 |
Avoid unused local variables such as 'vsash'. |
| 303 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
65 |
Avoid using final local variables, turn them into fields |
| 304 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
70 |
Avoid variables with short names like e |
| 305 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
75 |
Avoid using final local variables, turn them into fields |
| 306 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
100 |
Avoid variables with short names like e |
| 307 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
127 |
Avoid using final local variables, turn them into fields |
| 308 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
248 |
Avoid using final local variables, turn them into fields |
| 309 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
250 |
Avoid using final local variables, turn them into fields |
| 310 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
263 |
Avoid using final local variables, turn them into fields |
| 311 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
273 |
Avoid variables with short names like e |
| 312 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
346 |
Avoid really long methods. |
| 313 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest1.java |
346 |
The method buildRightSide2() has an NCSS line count of 126 |
| 314 |
net\sf\xwsf\client\swt\layout2\BoxLayoutTest2.java |
1 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 315 |
net\sf\xwsf\client\swt\layout2\Glue.java |
12 |
It is somewhat confusing to have a field name with the same name as a method |
| 316 |
net\sf\xwsf\client\swt\layout\Bound.java |
65 |
Use explicit scoping instead of the default package private level |
| 317 |
net\sf\xwsf\client\swt\layout\Bound.java |
105 |
The method name and parameter number are suspiciously close to equals(Object) |
| 318 |
net\sf\xwsf\client\swt\layout\Bound.java |
116 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 319 |
net\sf\xwsf\client\swt\layout\Bound.java |
118 |
Private field '_phantom' could be made final; it is only initialized in the declaration or constructor. |
| 320 |
net\sf\xwsf\client\swt\layout\Bound.java |
122 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 321 |
net\sf\xwsf\client\swt\layout\Bound.java |
126 |
It is a good practice to call super() in a constructor |
| 322 |
net\sf\xwsf\client\swt\layout\Bound.java |
199 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 323 |
net\sf\xwsf\client\swt\layout\Bound.java |
201 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 324 |
net\sf\xwsf\client\swt\layout\Bound.java |
203 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 325 |
net\sf\xwsf\client\swt\layout\Bound.java |
340 |
Avoid if (x != y) ..; else ..; |
| 326 |
net\sf\xwsf\client\swt\layout\Bound.java |
341 |
Avoid if (x != y) ..; else ..; |
| 327 |
net\sf\xwsf\client\swt\layout\Bound.java |
344 |
Avoid variables with short names like x |
| 328 |
net\sf\xwsf\client\swt\layout\Bound.java |
349 |
A method should have only one exit point, and that should be the last statement in the method |
| 329 |
net\sf\xwsf\client\swt\layout\Bound.java |
351 |
A method should have only one exit point, and that should be the last statement in the method |
| 330 |
net\sf\xwsf\client\swt\layout\Bound.java |
353 |
A method should have only one exit point, and that should be the last statement in the method |
| 331 |
net\sf\xwsf\client\swt\layout\Bound.java |
355 |
A method should have only one exit point, and that should be the last statement in the method |
| 332 |
net\sf\xwsf\client\swt\layout\Bound.java |
361 |
The method name and parameter number are suspiciously close to equals(Object) |
| 333 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
62 |
The class 'BoxLayout' has a Cyclomatic Complexity of 4 (Highest = 15). |
| 334 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
71 |
Private field '_contentList' could be made final; it is only initialized in the declaration or constructor. |
| 335 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
75 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 336 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
82 |
Avoid excessively long variable names like HORIZONTAL_STRETCH_COMPARATOR |
| 337 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
85 |
Avoid variables with short names like c1 |
| 338 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
85 |
Avoid variables with short names like c2 |
| 339 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
93 |
Avoid excessively long variable names like HORIZONTAL_SHRINK_COMPARATOR |
| 340 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
96 |
Avoid variables with short names like c1 |
| 341 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
96 |
Avoid variables with short names like c2 |
| 342 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
103 |
Avoid excessively long variable names like _stretchableContents |
| 343 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
103 |
Private field '_stretchableContents' could be made final; it is only initialized in the declaration or constructor. |
| 344 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
106 |
Avoid excessively long variable names like _shrinkableContents |
| 345 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
106 |
Private field '_shrinkableContents' could be made final; it is only initialized in the declaration or constructor. |
| 346 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
112 |
It is a good practice to call super() in a constructor |
| 347 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
126 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 348 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
133 |
Avoid variables with short names like a |
| 349 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
133 |
Avoid variables with short names like b |
| 350 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
135 |
Found 'DD'-anomaly for variable 'aPosition' (lines '135'-'141'). |
| 351 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
136 |
Found 'DD'-anomaly for variable 'bPosition' (lines '136'-'147'). |
| 352 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
141 |
Avoid if (x != y) ..; else ..; |
| 353 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
147 |
Avoid if (x != y) ..; else ..; |
| 354 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
150 |
Avoid if (x != y) ..; else ..; |
| 355 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
152 |
A method should have only one exit point, and that should be the last statement in the method |
| 356 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
154 |
Avoid if (x != y) ..; else ..; |
| 357 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
156 |
A method should have only one exit point, and that should be the last statement in the method |
| 358 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
158 |
Avoid if (x != y) ..; else ..; |
| 359 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
160 |
A method should have only one exit point, and that should be the last statement in the method |
| 360 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
208 |
Avoid really long methods. |
| 361 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
208 |
The method 'layout' has a Cyclomatic Complexity of 15. |
| 362 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
242 |
Found 'DU'-anomaly for variable 'leftoverWidth' (lines '242'-'310'). |
| 363 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
243 |
Found 'DU'-anomaly for variable 'leftoverHeight' (lines '243'-'310'). |
| 364 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
246 |
A high ratio of statements to labels in a switch statement. Consider refactoring. |
| 365 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
246 |
Switch statements should have a default label |
| 366 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
251 |
Avoid excessively long variable names like numberOfStretchableContents |
| 367 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
251 |
Found 'DU'-anomaly for variable 'numberOfStretchableContents' (lines '251'-'310'). |
| 368 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
255 |
Found 'DU'-anomaly for variable 'numberOfStretchableContents' (lines '255'-'310'). |
| 369 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
260 |
Avoid excessively long variable names like numberOfShrinkableContents |
| 370 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
260 |
Found 'DU'-anomaly for variable 'numberOfShrinkableContents' (lines '260'-'310'). |
| 371 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
264 |
Found 'DU'-anomaly for variable 'numberOfShrinkableContents' (lines '264'-'310'). |
| 372 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
272 |
Avoid excessively long variable names like numberOfStretchableContents |
| 373 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
282 |
Avoid excessively long variable names like numberOfShrinkableContents |
| 374 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
296 |
Avoid variables with short names like it |
| 375 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
323 |
This call to Collection.toArray() may be optimizable |
| 376 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
350 |
A method should have only one exit point, and that should be the last statement in the method |
| 377 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
385 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '385'-'392'). |
| 378 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
385 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '385'-'402'). |
| 379 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
385 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '385'-'410'). |
| 380 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
392 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '392'-'392'). |
| 381 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
392 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '392'-'402'). |
| 382 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
392 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '392'-'410'). |
| 383 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
402 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '402'-'402'). |
| 384 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
402 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '402'-'410'). |
| 385 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
410 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '410'-'402'). |
| 386 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
410 |
Found 'DD'-anomaly for variable 'contentChanged' (lines '410'-'410'). |
| 387 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
454 |
Found 'DU'-anomaly for variable 'iterator' (lines '454'-'485'). |
| 388 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
455 |
A high ratio of statements to labels in a switch statement. Consider refactoring. |
| 389 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
455 |
Switch statements should have a default label |
| 390 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
487 |
The method 'setHorizontalBounds' has a Cyclomatic Complexity of 11. |
| 391 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
516 |
The method 'setVerticalBounds' has a Cyclomatic Complexity of 11. |
| 392 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
555 |
Abstract classes should be named AbstractXXX |
| 393 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
557 |
Avoid variables with short names like c1 |
| 394 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
557 |
Avoid variables with short names like c2 |
| 395 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
559 |
An empty method in an abstract class should be abstract instead |
| 396 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
559 |
Avoid variables with short names like c1 |
| 397 |
net\sf\xwsf\client\swt\layout\BoxLayout.java |
559 |
Avoid variables with short names like c2 |
| 398 |
net\sf\xwsf\client\swt\layout\BoxLayoutTest.java |
38 |
Avoid really long methods. |
| 399 |
net\sf\xwsf\client\swt\layout\BoxLayoutTest.java |
44 |
Avoid unused local variables such as 'b'. |
| 400 |
net\sf\xwsf\client\swt\layout\BoxLayoutTest.java |
44 |
Avoid variables with short names like b |
| 401 |
net\sf\xwsf\client\swt\layout\BoxLayoutTest.java |
45 |
Avoid unused local variables such as 'data'. |
| 402 |
net\sf\xwsf\client\swt\layout\BoxLayoutTest.java |
48 |
Avoid using final local variables, turn them into fields |
| 403 |
net\sf\xwsf\client\swt\layout\BoxLayoutTest.java |
48 |
Avoid variables with short names like t |
| 404 |
net\sf\xwsf\client\swt\layout\BoxLayoutTest.java |
51 |
Avoid variables with short names like e |
| 405 |
net\sf\xwsf\client\swt\layout\BoxLayoutTest.java |
56 |
Avoid variables with short names like e |
| 406 |
net\sf\xwsf\client\swt\layout\Content.java |
43 |
Abstract classes should be named AbstractXXX |
| 407 |
net\sf\xwsf\client\swt\layout\Content.java |
43 |
The class 'Content' has a Cyclomatic Complexity of 3 (Highest = 23). |
| 408 |
net\sf\xwsf\client\swt\layout\Content.java |
49 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 409 |
net\sf\xwsf\client\swt\layout\Content.java |
51 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 410 |
net\sf\xwsf\client\swt\layout\Content.java |
53 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 411 |
net\sf\xwsf\client\swt\layout\Content.java |
57 |
Switch statements should have a default label |
| 412 |
net\sf\xwsf\client\swt\layout\Content.java |
71 |
An empty method in an abstract class should be abstract instead |
| 413 |
net\sf\xwsf\client\swt\layout\Content.java |
91 |
A method should have only one exit point, and that should be the last statement in the method |
| 414 |
net\sf\xwsf\client\swt\layout\Content.java |
95 |
A method should have only one exit point, and that should be the last statement in the method |
| 415 |
net\sf\xwsf\client\swt\layout\Content.java |
108 |
An empty method in an abstract class should be abstract instead |
| 416 |
net\sf\xwsf\client\swt\layout\Content.java |
126 |
Avoid really long methods. |
| 417 |
net\sf\xwsf\client\swt\layout\Content.java |
126 |
The method 'setBounds' has a Cyclomatic Complexity of 23. |
| 418 |
net\sf\xwsf\client\swt\layout\Content.java |
128 |
A high ratio of statements to labels in a switch statement. Consider refactoring. |
| 419 |
net\sf\xwsf\client\swt\layout\Content.java |
128 |
Switch statements should have a default label |
| 420 |
net\sf\xwsf\client\swt\layout\Content.java |
229 |
An empty method in an abstract class should be abstract instead |
| 421 |
net\sf\xwsf\client\swt\layout\Content.java |
234 |
An empty method in an abstract class should be abstract instead |
| 422 |
net\sf\xwsf\client\swt\layout\Content.java |
244 |
An empty method in an abstract class should be abstract instead |
| 423 |
net\sf\xwsf\client\swt\layout\Content.java |
264 |
It is a good practice to call super() in a constructor |
| 424 |
net\sf\xwsf\client\swt\layout\Content.java |
340 |
Found 'DU'-anomaly for variable 'anchor' (lines '340'-'364'). |
| 425 |
net\sf\xwsf\client\swt\layout\Content.java |
341 |
Switch statements should have a default label |
| 426 |
net\sf\xwsf\client\swt\layout\Content.java |
377 |
A method should have only one exit point, and that should be the last statement in the method |
| 427 |
net\sf\xwsf\client\swt\layout\Content.java |
389 |
A method should have only one exit point, and that should be the last statement in the method |
| 428 |
net\sf\xwsf\client\swt\layout\Content.java |
396 |
A method should have only one exit point, and that should be the last statement in the method |
| 429 |
net\sf\xwsf\client\swt\layout\Content.java |
402 |
A method should have only one exit point, and that should be the last statement in the method |
| 430 |
net\sf\xwsf\client\swt\layout\Content.java |
408 |
A method should have only one exit point, and that should be the last statement in the method |
| 431 |
net\sf\xwsf\client\swt\layout\Content.java |
419 |
A method should have only one exit point, and that should be the last statement in the method |
| 432 |
net\sf\xwsf\client\swt\layout\Content.java |
449 |
It is a good practice to call super() in a constructor |
| 433 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
61 |
A method should have only one exit point, and that should be the last statement in the method |
| 434 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
69 |
Avoid modifiers which are implied by the context |
| 435 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
71 |
Avoid modifiers which are implied by the context |
| 436 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
73 |
Avoid modifiers which are implied by the context |
| 437 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
84 |
Avoid excessively long variable names like _numberOfOutstandingChangeSets |
| 438 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
84 |
Possible unsafe assignment to a non-final static field in a constructor. |
| 439 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
84 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 440 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
86 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 441 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
106 |
If you override finalize(), make it protected |
| 442 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
108 |
Last statement in finalize method should be a call to super.finalize() |
| 443 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
130 |
Avoid using final local variables, turn them into fields |
| 444 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
137 |
To be compliant to J2EE, a webapp should not use any thread. |
| 445 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
141 |
Found 'DU'-anomaly for variable 'visitedComposites' (lines '141'-'154'). |
| 446 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
141 |
Found 'DU'-anomaly for variable 'visitedComposites' (lines '141'-'154'). |
| 447 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
157 |
The method findCompositeToLayout() has an NPath complexity of 325 |
| 448 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
157 |
Use explicit scoping instead of the default package private level |
| 449 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
159 |
Found 'DU'-anomaly for variable 'composite' (lines '159'-'193'). |
| 450 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
165 |
A method should have only one exit point, and that should be the last statement in the method |
| 451 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
169 |
A method should have only one exit point, and that should be the last statement in the method |
| 452 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
173 |
A method should have only one exit point, and that should be the last statement in the method |
| 453 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
179 |
A method should have only one exit point, and that should be the last statement in the method |
| 454 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
185 |
A method should have only one exit point, and that should be the last statement in the method |
| 455 |
net\sf\xwsf\client\swt\layout\LayoutQueue.java |
191 |
Found 'DU'-anomaly for variable 'composite' (lines '191'-'193'). |
| 456 |
net\sf\xwsf\client\swt\layout\StackLayout.java |
38 |
Private field '_menubars' could be made final; it is only initialized in the declaration or constructor. |
| 457 |
net\sf\xwsf\client\swt\layout\StackLayout.java |
45 |
A method should have only one exit point, and that should be the last statement in the method |
| 458 |
net\sf\xwsf\client\swt\layout\StackLayout.java |
49 |
Avoid if (x != y) ..; else ..; |
| 459 |
net\sf\xwsf\client\swt\layout\StackLayout.java |
91 |
Found 'UR'-anomaly for variable 'previous' (lines '91'-'91'). |
| 460 |
net\sf\xwsf\client\swt\layout\StackLayout.java |
104 |
A method should have only one exit point, and that should be the last statement in the method |
| 461 |
net\sf\xwsf\client\swt\util\SWTTool.java |
37 |
Avoid excessively long variable names like _theOneAndOnlyGlobalDisplay |
| 462 |
net\sf\xwsf\client\swt\util\SWTTool.java |
42 |
Unnecessary final modifier in final class |
| 463 |
net\sf\xwsf\client\swt\util\SWTTool.java |
48 |
Unnecessary final modifier in final class |
| 464 |
net\sf\xwsf\client\swt\util\SWTTool.java |
54 |
Unnecessary final modifier in final class |
| 465 |
net\sf\xwsf\client\swt\util\SWTTool.java |
66 |
Unnecessary final modifier in final class |
| 466 |
net\sf\xwsf\client\swt\util\SWTTool.java |
69 |
Avoid variables with short names like im |
| 467 |
net\sf\xwsf\client\swt\util\SWTTool.java |
100 |
Found 'DD'-anomaly for variable 'argumentTypes' (lines '100'-'103'). |
| 468 |
net\sf\xwsf\client\swt\util\SWTTool.java |
103 |
Found 'DD'-anomaly for variable 'argumentTypes' (lines '103'-'103'). |
| 469 |
net\sf\xwsf\client\swt\util\SWTTool.java |
105 |
A method should have only one exit point, and that should be the last statement in the method |
| 470 |
net\sf\xwsf\client\swt\util\SWTTool.java |
119 |
Unnecessary final modifier in final class |
| 471 |
net\sf\xwsf\client\swt\util\SWTTool.java |
127 |
Unnecessary final modifier in final class |
| 472 |
net\sf\xwsf\client\swt\util\SWTTool.java |
132 |
Unnecessary final modifier in final class |
| 473 |
net\sf\xwsf\client\swt\util\SWTTool.java |
137 |
Unnecessary final modifier in final class |
| 474 |
net\sf\xwsf\client\swt\util\SWTTool.java |
142 |
Avoid reassigning parameters such as 'style' |
| 475 |
net\sf\xwsf\client\swt\util\SWTTool.java |
142 |
Unnecessary final modifier in final class |
| 476 |
net\sf\xwsf\client\swt\util\SWTTool.java |
145 |
Use equals() to compare strings instead of '==' or '!=' |
| 477 |
net\sf\xwsf\client\swt\util\SWTTool.java |
147 |
A method should have only one exit point, and that should be the last statement in the method |
| 478 |
net\sf\xwsf\client\swt\util\SWTTool.java |
149 |
Use equals() to compare strings instead of '==' or '!=' |
| 479 |
net\sf\xwsf\client\swt\util\SWTTool.java |
149 |
Use equals() to compare strings instead of '==' or '!=' |
| 480 |
net\sf\xwsf\client\swt\util\SWTTool.java |
151 |
A method should have only one exit point, and that should be the last statement in the method |
| 481 |
net\sf\xwsf\client\swt\util\SWTTool.java |
159 |
Unnecessary final modifier in final class |
| 482 |
net\sf\xwsf\client\swt\util\SWTTool.java |
164 |
Found 'DD'-anomaly for variable 'foreground' (lines '164'-'186'). |
| 483 |
net\sf\xwsf\client\swt\util\SWTTool.java |
176 |
Avoid variables with short names like st |
| 484 |
net\sf\xwsf\client\swt\util\SWTTool.java |
193 |
Unnecessary final modifier in final class |
| 485 |
net\sf\xwsf\client\swt\util\SWTTool.java |
195 |
Avoid if (x != y) ..; else ..; |
| 486 |
net\sf\xwsf\client\swt\util\SWTTool.java |
201 |
A method should have only one exit point, and that should be the last statement in the method |
| 487 |
net\sf\xwsf\client\swt\util\SWTTool.java |
209 |
Unnecessary final modifier in final class |
| 488 |
net\sf\xwsf\client\swt\util\SWTTool.java |
225 |
Unnecessary final modifier in final class |
| 489 |
net\sf\xwsf\client\swt\util\SWTTool.java |
238 |
Found 'DU'-anomaly for variable 'buffer' (lines '238'-'261'). |
| 490 |
net\sf\xwsf\client\swt\util\SWTTool.java |
259 |
The String literal "we shouldn't be here: %s" appears 6 times in this file; the first occurrence is on line 259 |
| 491 |
net\sf\xwsf\client\swt\util\SWTTool.java |
267 |
A method should have only one exit point, and that should be the last statement in the method |
| 492 |
net\sf\xwsf\client\swt\util\SWTTool.java |
283 |
A method should have only one exit point, and that should be the last statement in the method |
| 493 |
net\sf\xwsf\client\swt\util\SWTTool.java |
299 |
A method should have only one exit point, and that should be the last statement in the method |
| 494 |
net\sf\xwsf\client\swt\util\SWTTool.java |
374 |
A method should have only one exit point, and that should be the last statement in the method |
| 495 |
net\sf\xwsf\client\swt\util\SWTTool.java |
381 |
A method should have only one exit point, and that should be the last statement in the method |
| 496 |
net\sf\xwsf\client\swt\util\SWTTool.java |
388 |
A method should have only one exit point, and that should be the last statement in the method |
| 497 |
net\sf\xwsf\client\swt\util\SWTTool.java |
398 |
A method should have only one exit point, and that should be the last statement in the method |
| 498 |
net\sf\xwsf\client\swt\util\SWTTool.java |
405 |
A method should have only one exit point, and that should be the last statement in the method |
| 499 |
net\sf\xwsf\client\swt\util\SWTTool.java |
412 |
A method should have only one exit point, and that should be the last statement in the method |
| 500 |
net\sf\xwsf\client\swt\util\SWTTool.java |
421 |
To be compliant to J2EE, a webapp should not use any thread. |
| 501 |
net\sf\xwsf\client\swt\util\SWTTool.java |
442 |
Use explicit scoping instead of the default package private level |
| 502 |
net\sf\xwsf\client\swt\util\SWTTool.java |
444 |
Use explicit scoping instead of the default package private level |
| 503 |
net\sf\xwsf\client\swt\util\SWTTool.java |
446 |
Use explicit scoping instead of the default package private level |
| 504 |
net\sf\xwsf\client\swt\util\SWTTool.java |
448 |
Use explicit scoping instead of the default package private level |
| 505 |
net\sf\xwsf\client\swt\util\SWTTool.java |
450 |
Use explicit scoping instead of the default package private level |
| 506 |
net\sf\xwsf\client\swt\util\SWTTool.java |
450 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 507 |
net\sf\xwsf\client\swt\util\SWTTool.java |
462 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 508 |
net\sf\xwsf\client\swt\util\SWTTool.java |
471 |
Use explicit scoping instead of the default package private level |
| 509 |
net\sf\xwsf\client\swt\util\SWTTool.java |
476 |
Use explicit scoping instead of the default package private level |
| 510 |
net\sf\xwsf\client\swt\util\SWTTool.java |
478 |
Use equals() to compare object references. |
| 511 |
net\sf\xwsf\client\swt\util\SWTTool.java |
480 |
A method should have only one exit point, and that should be the last statement in the method |
| 512 |
net\sf\xwsf\client\swt\util\SWTTool.java |
485 |
A method should have only one exit point, and that should be the last statement in the method |
| 513 |
net\sf\xwsf\client\swt\util\SWTTool.java |
510 |
A method should have only one exit point, and that should be the last statement in the method |
| 514 |
net\sf\xwsf\client\swt\util\SWTTool.java |
532 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 515 |
net\sf\xwsf\client\swt\util\SWTTool.java |
557 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 516 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
1 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 517 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
27 |
Consider replacing this Hashtable with the newer java.util.Map |
| 518 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
55 |
Consider replacing this Hashtable with the newer java.util.Map |
| 519 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
57 |
Consider replacing this Hashtable with the newer java.util.Map |
| 520 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
58 |
Avoid variables with short names like i |
| 521 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
62 |
Avoid assignments in operands |
| 522 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
62 |
Found 'DU'-anomaly for variable 'hdrKey' (lines '62'-'91'). |
| 523 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
64 |
Position literals first in String comparisons |
| 524 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
67 |
Avoid variables with short names like st |
| 525 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
70 |
Avoid variables with short names like s |
| 526 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
71 |
String.indexOf(char) is faster than String.indexOf(String). |
| 527 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
73 |
Avoid variables with short names like j |
| 528 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
73 |
String.indexOf(char) is faster than String.indexOf(String). |
| 529 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
76 |
Deeply nested if..then statements are hard to read |
| 530 |
net\sf\xwsf\client\swt\util\SWTUtil.java |
76 |
These nested if statements could be combined |
| 531 |
net\sf\xwsf\client\swt\util\XSLTDebugHelper.java |
22 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 532 |
net\sf\xwsf\client\swt\util\XSLTDebugHelper.java |
33 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 533 |
net\sf\xwsf\client\swt\util\XSLTDebugHelper.java |
33 |
Document empty constructor |
| 534 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
47 |
Private field 'srcId' could be made final; it is only initialized in the declaration or constructor. |
| 535 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
53 |
Perhaps '_control' could be replaced by a local variable. |
| 536 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
53 |
Private field '_control' could be made final; it is only initialized in the declaration or constructor. |
| 537 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
59 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 538 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
81 |
Avoid calling toString() on String objects; this is unnecessary. |
| 539 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
81 |
Overridable method 'getActivationKeystroke' called during object construction |
| 540 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
81 |
Overridable method 'getAutoactivationChars' called during object construction |
| 541 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
85 |
Avoid empty if statements |
| 542 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
120 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 543 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
140 |
Avoid instantiating Integer objects. Call Integer.valueOf() instead. |
| 544 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
140 |
Avoid instantiating Integer objects. Call Integer.valueOf() instead. |
| 545 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
158 |
Method names should not contain underscores |
| 546 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
163 |
Method names should not contain underscores |
| 547 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
168 |
Method names should not contain underscores |
| 548 |
net\sf\xwsf\client\swt\widget\AutoCompleter.java |
170 |
Avoid calling toString() on String objects; this is unnecessary. |
| 549 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
19 |
A class which only has private constructors should be final |
| 550 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
22 |
Use explicit scoping instead of the default package private level |
| 551 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
24 |
Use explicit scoping instead of the default package private level |
| 552 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
46 |
Avoid reassigning parameters such as 'display' |
| 553 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
46 |
To be compliant to J2EE, a webapp should not use any thread. |
| 554 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
79 |
Avoid unused constructor parameters such as 'cursor'. |
| 555 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
82 |
Avoid unused local variables such as 'cursor'. |
| 556 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
86 |
Avoid variables with short names like id |
| 557 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
88 |
Avoid empty if statements |
| 558 |
net\sf\xwsf\client\swt\widget\BusyIndicator.java |
100 |
Avoid variables with short names like id |
| 559 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
9 |
A high number of imports can indicate a high degree of coupling within an object. |
| 560 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
9 |
This class has a bunch of public methods and attributes |
| 561 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
65 |
Avoid really long classes. |
| 562 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
65 |
The class 'ContentProposalAdapter' has a Cyclomatic Complexity of 3 (Highest = 34). |
| 563 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
65 |
Too many fields |
| 564 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
72 |
Avoid excessively long variable names like _latestScheduledQueryJob |
| 565 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
72 |
To be compliant to J2EE, a webapp should not use any thread. |
| 566 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
79 |
Avoid really long classes. |
| 567 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
79 |
The class 'ContentProposalPopup' has a Cyclomatic Complexity of 4 (Highest = 11). |
| 568 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
87 |
The class 'PopupCloserListener' has a Cyclomatic Complexity of 6 (Highest = 10). |
| 569 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
91 |
Avoid variables with short names like e |
| 570 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
91 |
The method 'handleEvent' has a Cyclomatic Complexity of 10. |
| 571 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
104 |
To be compliant to J2EE, a webapp should not use any thread. |
| 572 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
110 |
Deeply nested if..then statements are hard to read |
| 573 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
120 |
Deeply nested if..then statements are hard to read |
| 574 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
134 |
A method should have only one exit point, and that should be the last statement in the method |
| 575 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
150 |
Use explicit scoping instead of the default package private level |
| 576 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
177 |
Use explicit scoping instead of the default package private level |
| 577 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
210 |
The class 'TargetControlListener' has a Cyclomatic Complexity of 42 (Highest = 41). |
| 578 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
213 |
Avoid really long methods. |
| 579 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
213 |
Avoid variables with short names like e |
| 580 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
213 |
The method 'handleEvent' has a Cyclomatic Complexity of 41. |
| 581 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
213 |
The method handleEvent() has an NCSS line count of 105 |
| 582 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
213 |
The method handleEvent() has an NPath complexity of 5490 |
| 583 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
217 |
A method should have only one exit point, and that should be the last statement in the method |
| 584 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
234 |
A method should have only one exit point, and that should be the last statement in the method |
| 585 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
254 |
Found 'DD'-anomaly for variable 'newSelection' (lines '254'-'317'). |
| 586 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
254 |
Found 'DD'-anomaly for variable 'newSelection' (lines '254'-'326'). |
| 587 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
254 |
Found 'DU'-anomaly for variable 'newSelection' (lines '254'-'460'). |
| 588 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
255 |
Found 'DU'-anomaly for variable 'visibleRows' (lines '255'-'460'). |
| 589 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
355 |
Avoid empty if statements |
| 590 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
371 |
A method should have only one exit point, and that should be the last statement in the method |
| 591 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
380 |
A method should have only one exit point, and that should be the last statement in the method |
| 592 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
396 |
Avoid variables with short names like p |
| 593 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
397 |
Avoid if (x != y) ..; else ..; |
| 594 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
410 |
A method should have only one exit point, and that should be the last statement in the method |
| 595 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
419 |
A method should have only one exit point, and that should be the last statement in the method |
| 596 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
436 |
Avoid empty if statements |
| 597 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
449 |
No need to call String.valueOf to append to a string. |
| 598 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
496 |
Avoid variables with short names like gd |
| 599 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
523 |
Avoid excessively long variable names like rightProposedBounds |
| 600 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
523 |
Found 'DD'-anomaly for variable 'rightProposedBounds' (lines '523'-'527'). |
| 601 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
531 |
Avoid excessively long variable names like leftProposedBounds |
| 602 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
531 |
Found 'DD'-anomaly for variable 'leftProposedBounds' (lines '531'-'534'). |
| 603 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
570 |
Avoid reassigning parameters such as 'newContents' |
| 604 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
570 |
Use explicit scoping instead of the default package private level |
| 605 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
586 |
Use explicit scoping instead of the default package private level |
| 606 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
590 |
A method should have only one exit point, and that should be the last statement in the method |
| 607 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
599 |
Avoid excessively long variable names like targetControlListener |
| 608 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
624 |
Avoid excessively long variable names like pendingDescriptionUpdate |
| 609 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
639 |
The user-supplied array 'proposals' is stored directly. |
| 610 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
714 |
Avoid variables with short names like e |
| 611 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
732 |
Avoid variables with short names like e |
| 612 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
751 |
Found 'DD'-anomaly for variable 'initialX' (lines '751'-'758'). |
| 613 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
751 |
Found 'DD'-anomaly for variable 'initialX' (lines '751'-'758'). |
| 614 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
752 |
Found 'DD'-anomaly for variable 'initialY' (lines '752'-'759'). |
| 615 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
752 |
Found 'DD'-anomaly for variable 'initialY' (lines '752'-'759'). |
| 616 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
778 |
Avoid variables with short names like e |
| 617 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
810 |
Avoid empty if statements |
| 618 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
818 |
Avoid reassigning parameters such as 'newProposals' |
| 619 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
818 |
The user-supplied array 'newProposals' is stored directly. |
| 620 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
829 |
Avoid using final local variables, turn them into fields |
| 621 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
879 |
A method should have only one exit point, and that should be the last statement in the method |
| 622 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
883 |
A method should have only one exit point, and that should be the last statement in the method |
| 623 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
895 |
A method should have only one exit point, and that should be the last statement in the method |
| 624 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
926 |
A method should have only one exit point, and that should be the last statement in the method |
| 625 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
930 |
A method should have only one exit point, and that should be the last statement in the method |
| 626 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
934 |
A method should have only one exit point, and that should be the last statement in the method |
| 627 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
946 |
Avoid variables with short names like i |
| 628 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
949 |
A method should have only one exit point, and that should be the last statement in the method |
| 629 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
951 |
A method should have only one exit point, and that should be the last statement in the method |
| 630 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
989 |
Avoid variables with short names like p |
| 631 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
991 |
Avoid empty if statements |
| 632 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1019 |
The method 'showProposalDescription' has a Cyclomatic Complexity of 11. |
| 633 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1029 |
Found 'DU'-anomaly for variable 'runnable' (lines '1,029'-'1,089'). |
| 634 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1029 |
Found 'DU'-anomaly for variable 'runnable' (lines '1,029'-'1,089'). |
| 635 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1029 |
Found 'DU'-anomaly for variable 'runnable' (lines '1,029'-'1,089'). |
| 636 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1029 |
Found 'DU'-anomaly for variable 'runnable' (lines '1,029'-'1,089'). |
| 637 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1029 |
To be compliant to J2EE, a webapp should not use any thread. |
| 638 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1029 |
To be compliant to J2EE, a webapp should not use any thread. |
| 639 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1045 |
To be compliant to J2EE, a webapp should not use any thread. |
| 640 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1051 |
Avoid variables with short names like p |
| 641 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1057 |
Avoid if (x != y) ..; else ..; |
| 642 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1069 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 643 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1086 |
Avoid variables with short names like t |
| 644 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1086 |
To be compliant to J2EE, a webapp should not use any thread. |
| 645 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1086 |
To be compliant to J2EE, a webapp should not use any thread. |
| 646 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1137 |
To be compliant to J2EE, a webapp should not use any thread. |
| 647 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1159 |
A method should have only one exit point, and that should be the last statement in the method |
| 648 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1159 |
Returning 'proposals' may expose an internal array. |
| 649 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1178 |
Use explicit scoping instead of the default package private level |
| 650 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1247 |
Avoid excessively long variable names like POPUP_MINIMUM_WIDTH |
| 651 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1273 |
Private field 'control' could be made final; it is only initialized in the declaration or constructor. |
| 652 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1278 |
Avoid excessively long variable names like controlContentAdapter |
| 653 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1278 |
Private field 'controlContentAdapter' could be made final; it is only initialized in the declaration or constructor. |
| 654 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1288 |
Private field 'triggerKeyStroke' could be made final; it is only initialized in the declaration or constructor. |
| 655 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1293 |
Avoid excessively long variable names like autoActivateString |
| 656 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1299 |
Avoid excessively long variable names like proposalAcceptanceStyle |
| 657 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1321 |
Private field 'proposalListeners' could be made final; it is only initialized in the declaration or constructor. |
| 658 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1326 |
Avoid excessively long variable names like proposalListeners2 |
| 659 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1326 |
Private field 'proposalListeners2' could be made final; it is only initialized in the declaration or constructor. |
| 660 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1332 |
It is somewhat confusing to have a field name with the same name as a method |
| 661 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1337 |
Avoid excessively long variable names like autoActivationDelay |
| 662 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1360 |
Avoid excessively long variable names like modifyingControlContent |
| 663 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1362 |
Private field 'autocompleter' could be made final; it is only initialized in the declaration or constructor. |
| 664 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1364 |
Avoid unused private fields such as '_d'. |
| 665 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1364 |
Avoid variables with short names like _d |
| 666 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1364 |
Private field '_d' could be made final; it is only initialized in the declaration or constructor. |
| 667 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1393 |
Avoid excessively long variable names like controlContentAdapter |
| 668 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1393 |
Avoid unused constructor parameters such as 'srcId'. |
| 669 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1394 |
Avoid excessively long variable names like autoActivationCharacters |
| 670 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1394 |
The user-supplied array 'autoActivationCharacters' is stored directly. |
| 671 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1394 |
The user-supplied array 'autoActivationCharacters' is stored directly. |
| 672 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1411 |
Overridable method 'showResults' called during object construction |
| 673 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1497 |
A method should have only one exit point, and that should be the last statement in the method |
| 674 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1515 |
Avoid excessively long variable names like autoActivationCharacters |
| 675 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1515 |
The user-supplied array 'autoActivationCharacters' is stored directly. |
| 676 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1519 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 677 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1648 |
A getX() method which returns a boolean should be named isX() |
| 678 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1693 |
These nested if statements could be combined |
| 679 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1776 |
Avoid really long methods. |
| 680 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1776 |
The method 'addControlListener' has a Cyclomatic Complexity of 34. |
| 681 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1776 |
The method addControlListener() has an NPath complexity of 81424 |
| 682 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1779 |
Avoid using final local variables, turn them into fields |
| 683 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1779 |
Found 'DU'-anomaly for variable 'tempControl' (lines '1,779'-'2,070'). |
| 684 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1779 |
Found 'DU'-anomaly for variable 'tempControl' (lines '1,779'-'2,070'). |
| 685 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1779 |
Found 'DU'-anomaly for variable 'tempControl' (lines '1,779'-'2,070'). |
| 686 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1779 |
Found 'DU'-anomaly for variable 'tempControl' (lines '1,779'-'2,070'). |
| 687 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1779 |
Found 'DU'-anomaly for variable 'tempControl' (lines '1,779'-'2,070'). |
| 688 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1779 |
Found 'DU'-anomaly for variable 'tempControl' (lines '1,779'-'2,070'). |
| 689 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1792 |
Avoid really long methods. |
| 690 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1792 |
Avoid variables with short names like e |
| 691 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1792 |
The method 'handleEvent' has a Cyclomatic Complexity of 23. |
| 692 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1792 |
The method handleEvent() has an NPath complexity of 1454 |
| 693 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1800 |
A high ratio of statements to labels in a switch statement. Consider refactoring. |
| 694 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1806 |
Avoid variables with short names like sb |
| 695 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1830 |
Avoid variables with short names like sb |
| 696 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1837 |
StringBuffer constructor is initialized with size 23, but has at least 29 characters appended. |
| 697 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1859 |
These nested if statements could be combined |
| 698 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1885 |
Avoid if (x != y) ..; else ..; |
| 699 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1951 |
Found 'DU'-anomaly for variable '_isQueryScheduled' (lines '1,951'-'2,070'). |
| 700 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1951 |
Found 'DU'-anomaly for variable '_isQueryScheduled' (lines '1,951'-'2,070'). |
| 701 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1951 |
Found 'DU'-anomaly for variable '_isQueryScheduled' (lines '1,951'-'2,070'). |
| 702 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1951 |
Found 'DU'-anomaly for variable '_isQueryScheduled' (lines '1,951'-'2,070'). |
| 703 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1951 |
Found 'DU'-anomaly for variable '_isQueryScheduled' (lines '1,951'-'2,070'). |
| 704 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1951 |
Found 'DU'-anomaly for variable '_isQueryScheduled' (lines '1,951'-'2,070'). |
| 705 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1951 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 706 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1974 |
To be compliant to J2EE, a webapp should not use any thread. |
| 707 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1978 |
Found 'DU'-anomaly for variable 'communicator' (lines '1,978'-'2,070'). |
| 708 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1978 |
Found 'DU'-anomaly for variable 'communicator' (lines '1,978'-'2,070'). |
| 709 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1978 |
Found 'DU'-anomaly for variable 'communicator' (lines '1,978'-'2,070'). |
| 710 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1978 |
Found 'DU'-anomaly for variable 'communicator' (lines '1,978'-'2,070'). |
| 711 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1978 |
Found 'DU'-anomaly for variable 'communicator' (lines '1,978'-'2,070'). |
| 712 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
1978 |
Found 'DU'-anomaly for variable 'communicator' (lines '1,978'-'2,070'). |
| 713 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2044 |
Avoid variables with short names like e |
| 714 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2046 |
Avoid variables with short names like sb |
| 715 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2046 |
StringBuffer constructor is initialized with size 46, but has at least 93 characters appended. |
| 716 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2048 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 717 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2049 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 718 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2050 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 719 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2051 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 720 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2052 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 721 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2053 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 722 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2057 |
Avoid variables with short names like i |
| 723 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2083 |
The user-supplied array 'proposals' is stored directly. |
| 724 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2083 |
The user-supplied array 'proposals' is stored directly. |
| 725 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2086 |
To be compliant to J2EE, a webapp should not use any thread. |
| 726 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2112 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 727 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2140 |
These nested if statements could be combined |
| 728 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2167 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 729 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2329 |
Found 'DU'-anomaly for variable 'runnable' (lines '2,329'-'2,382'). |
| 730 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2329 |
Found 'DU'-anomaly for variable 'runnable' (lines '2,329'-'2,382'). |
| 731 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2329 |
Found 'DU'-anomaly for variable 'runnable' (lines '2,329'-'2,382'). |
| 732 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2329 |
Found 'DU'-anomaly for variable 'runnable' (lines '2,329'-'2,382'). |
| 733 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2329 |
To be compliant to J2EE, a webapp should not use any thread. |
| 734 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2329 |
To be compliant to J2EE, a webapp should not use any thread. |
| 735 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2345 |
To be compliant to J2EE, a webapp should not use any thread. |
| 736 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2354 |
Avoid variables with short names like t |
| 737 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2354 |
To be compliant to J2EE, a webapp should not use any thread. |
| 738 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2354 |
To be compliant to J2EE, a webapp should not use any thread. |
| 739 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2371 |
To be compliant to J2EE, a webapp should not use any thread. |
| 740 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2393 |
Avoid using final local variables, turn them into fields |
| 741 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2410 |
Avoid using final local variables, turn them into fields |
| 742 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2430 |
Avoid using final local variables, turn them into fields |
| 743 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2456 |
Avoid unused local variables such as 'resultsIterator'. |
| 744 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2456 |
Avoid using final local variables, turn them into fields |
| 745 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2456 |
Found 'DU'-anomaly for variable 'resultsIterator' (lines '2,456'-'2,484'). |
| 746 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2458 |
Avoid unused local variables such as 'resultList'. |
| 747 |
net\sf\xwsf\client\swt\widget\ContentProposalAdapter.java |
2458 |
Found 'DU'-anomaly for variable 'resultList' (lines '2,458'-'2,484'). |
| 748 |
net\sf\xwsf\client\swt\widget\ControlContentAdapter.java |
16 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 749 |
net\sf\xwsf\client\swt\widget\ControlContentAdapter.java |
16 |
Document empty constructor |
| 750 |
net\sf\xwsf\client\swt\widget\ControlContentAdapter.java |
25 |
A method should have only one exit point, and that should be the last statement in the method |
| 751 |
net\sf\xwsf\client\swt\widget\ControlContentAdapter.java |
55 |
Found 'DU'-anomaly for variable 'selection' (lines '55'-'74'). |
| 752 |
net\sf\xwsf\client\swt\widget\ControlContentAdapter.java |
80 |
A method should have only one exit point, and that should be the last statement in the method |
| 753 |
net\sf\xwsf\client\swt\widget\ControlContentAdapter.java |
94 |
A method should have only one exit point, and that should be the last statement in the method |
| 754 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
45 |
The class 'XwsfList' has a Cyclomatic Complexity of 2 (Highest = 18). |
| 755 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
47 |
Use explicit scoping instead of the default package private level |
| 756 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
49 |
Use explicit scoping instead of the default package private level |
| 757 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
51 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 758 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
55 |
The constructor 'XwsfList' has a Cyclomatic Complexity of 18. |
| 759 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
63 |
Switch statements should have a default label |
| 760 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
91 |
Document empty method |
| 761 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
104 |
Found 'DU'-anomaly for variable 'rect' (lines '104'-'136'). |
| 762 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
104 |
Found 'DU'-anomaly for variable 'rect' (lines '104'-'136'). |
| 763 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
104 |
Found 'DU'-anomaly for variable 'rect' (lines '104'-'136'). |
| 764 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
105 |
Found 'DU'-anomaly for variable 'origin' (lines '105'-'136'). |
| 765 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
105 |
Found 'DU'-anomaly for variable 'origin' (lines '105'-'136'). |
| 766 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
105 |
Found 'DU'-anomaly for variable 'origin' (lines '105'-'136'). |
| 767 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
107 |
Switch statements should have a default label |
| 768 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
111 |
Deeply nested if..then statements are hard to read |
| 769 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
117 |
Deeply nested if..then statements are hard to read |
| 770 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
140 |
Document empty method |
| 771 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
262 |
Use explicit scoping instead of the default package private level |
| 772 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
291 |
The class 'XwsfListLayout' has a Cyclomatic Complexity of 5 (Highest = 14). |
| 773 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
301 |
Document empty constructor |
| 774 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
301 |
It is a good practice to call super() in a constructor |
| 775 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
305 |
It is a good practice to call super() in a constructor |
| 776 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
311 |
The method 'computeSize' has a Cyclomatic Complexity of 14. |
| 777 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
311 |
The method computeSize() has an NPath complexity of 396 |
| 778 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
315 |
Found 'DD'-anomaly for variable 'maxHeight' (lines '315'-'333'). |
| 779 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
315 |
Found 'DD'-anomaly for variable 'maxWidth' (lines '315'-'332'). |
| 780 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
315 |
Found 'DU'-anomaly for variable 'maxHeight' (lines '315'-'367'). |
| 781 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
315 |
Found 'DU'-anomaly for variable 'maxWidth' (lines '315'-'367'). |
| 782 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
319 |
Avoid variables with short names like h |
| 783 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
319 |
Avoid variables with short names like w |
| 784 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
319 |
Found 'DD'-anomaly for variable 'h' (lines '319'-'328'). |
| 785 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
319 |
Found 'DD'-anomaly for variable 'w' (lines '319'-'324'). |
| 786 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
335 |
Found 'DD'-anomaly for variable 'height' (lines '335'-'343'). |
| 787 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
335 |
Found 'DD'-anomaly for variable 'height' (lines '335'-'348'). |
| 788 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
335 |
Found 'DD'-anomaly for variable 'width' (lines '335'-'338'). |
| 789 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
335 |
Found 'DD'-anomaly for variable 'width' (lines '335'-'347'). |
| 790 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
369 |
The method computeChildSize() has an NPath complexity of 520 |
| 791 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
369 |
Use explicit scoping instead of the default package private level |
| 792 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
374 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 793 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
380 |
Found 'DD'-anomaly for variable 'size' (lines '380'-'383'). |
| 794 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
380 |
Found 'DD'-anomaly for variable 'size' (lines '380'-'400'). |
| 795 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
398 |
Avoid variables with short names like w |
| 796 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
399 |
Avoid variables with short names like h |
| 797 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
416 |
Use explicit scoping instead of the default package private level |
| 798 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
422 |
A method should have only one exit point, and that should be the last statement in the method |
| 799 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
430 |
Found 'DU'-anomaly for variable 'rect' (lines '430'-'460'). |
| 800 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
436 |
Found 'DU'-anomaly for variable 'width' (lines '436'-'460'). |
| 801 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
437 |
Found 'DU'-anomaly for variable 'height' (lines '437'-'460'). |
| 802 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
441 |
Avoid variables with short names like x |
| 803 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
441 |
Found 'DU'-anomaly for variable 'x' (lines '441'-'460'). |
| 804 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
442 |
Avoid variables with short names like y |
| 805 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
442 |
Found 'DU'-anomaly for variable 'y' (lines '442'-'460'). |
| 806 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
452 |
Avoid variables with short names like x |
| 807 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
452 |
Found 'DU'-anomaly for variable 'x' (lines '452'-'460'). |
| 808 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
453 |
Avoid variables with short names like y |
| 809 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
453 |
Found 'DU'-anomaly for variable 'y' (lines '453'-'460'). |
| 810 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
493 |
The class 'FillData' has a Cyclomatic Complexity of 6 (Highest = 10). |
| 811 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
495 |
Use explicit scoping instead of the default package private level |
| 812 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
497 |
Use explicit scoping instead of the default package private level |
| 813 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
499 |
The method 'computeSize' has a Cyclomatic Complexity of 10. |
| 814 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
499 |
Use explicit scoping instead of the default package private level |
| 815 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
513 |
A method should have only one exit point, and that should be the last statement in the method |
| 816 |
net\sf\xwsf\client\swt\widget\XwsfList.java |
527 |
Use explicit scoping instead of the default package private level |
| 817 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
43 |
The class 'XwsfListItem' has a Cyclomatic Complexity of 3 (Highest = 19). |
| 818 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
51 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 819 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
55 |
Avoid excessively long variable names like RIGHT_MOUSE_BUTTON |
| 820 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
72 |
Document empty method |
| 821 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
75 |
Avoid really long methods. |
| 822 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
75 |
The method 'setControl' has a Cyclomatic Complexity of 19. |
| 823 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
75 |
The method setControl() has an NPath complexity of 360 |
| 824 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
92 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 825 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
130 |
Switch statements should have a default label |
| 826 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
154 |
A high ratio of statements to labels in a switch statement. Consider refactoring. |
| 827 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
154 |
Switch statements should have a default label |
| 828 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
181 |
Avoid reassigning parameters such as 'event' |
| 829 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
202 |
Use explicit scoping instead of the default package private level |
| 830 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
240 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 831 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
241 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 832 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
250 |
Avoid variables with short names like x |
| 833 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
250 |
Avoid variables with short names like y |
| 834 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
286 |
Variables that are final and static should be in all caps. |
| 835 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
288 |
Variables that are final and static should be in all caps. |
| 836 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
290 |
Variables that are final and static should be in all caps. |
| 837 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
292 |
Variables that are final and static should be in all caps. |
| 838 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
305 |
Found 'DU'-anomaly for variable 'listener' (lines '305'-'330'). |
| 839 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
307 |
Avoid variables with short names like e |
| 840 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
309 |
Switch statements should have a default label |
| 841 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
339 |
Avoid variables with short names like x |
| 842 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
339 |
Avoid variables with short names like y |
| 843 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
368 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 844 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
369 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 845 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
372 |
Avoid variables with short names like gc |
| 846 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
375 |
Found 'DU'-anomaly for variable 'size' (lines '375'-'384'). |
| 847 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
376 |
Found 'DU'-anomaly for variable 'border' (lines '376'-'384'). |
| 848 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
395 |
Found 'DD'-anomaly for variable 'width' (lines '395'-'398'). |
| 849 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
395 |
Found 'DD'-anomaly for variable 'width' (lines '395'-'402'). |
| 850 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
406 |
Found 'DD'-anomaly for variable 'height' (lines '406'-'409'). |
| 851 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
406 |
Found 'DD'-anomaly for variable 'height' (lines '406'-'413'). |
| 852 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
409 |
Found 'DD'-anomaly for variable 'height' (lines '409'-'413'). |
| 853 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
420 |
Use explicit scoping instead of the default package private level |
| 854 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
441 |
Avoid unnecessary return statements |
| 855 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
445 |
Use explicit scoping instead of the default package private level |
| 856 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
470 |
Found 'DD'-anomaly for variable 'contentSize' (lines '470'-'471'). |
| 857 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
529 |
The class 'CLayoutData' has a Cyclomatic Complexity of 6 (Highest = 10). |
| 858 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
531 |
Use explicit scoping instead of the default package private level |
| 859 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
533 |
Use explicit scoping instead of the default package private level |
| 860 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
535 |
The method 'computeSize' has a Cyclomatic Complexity of 10. |
| 861 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
535 |
Use explicit scoping instead of the default package private level |
| 862 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
549 |
A method should have only one exit point, and that should be the last statement in the method |
| 863 |
net\sf\xwsf\client\swt\widget\XwsfListItem.java |
563 |
Use explicit scoping instead of the default package private level |
| 864 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
46 |
The class 'XwsfText' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 865 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
48 |
Private field '_borderComposite' could be made final; it is only initialized in the declaration or constructor. |
| 866 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
62 |
Private field '_stubColor' could be made final; it is only initialized in the declaration or constructor. |
| 867 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
66 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 868 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
70 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 869 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
72 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 870 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
107 |
Use equals() to compare strings instead of '==' or '!=' |
| 871 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
107 |
Use equals() to compare strings instead of '==' or '!=' |
| 872 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
107 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 873 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
107 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 874 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
160 |
The method 'setStub' has a Cyclomatic Complexity of 10. |
| 875 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
170 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 876 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
195 |
Use equals() to compare object references. |
| 877 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
195 |
Use equals() to compare strings instead of '==' or '!=' |
| 878 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
318 |
Variables that are final and static should be in all caps. |
| 879 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
320 |
Variables that are final and static should be in all caps. |
| 880 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
322 |
Variables that are final and static should be in all caps. |
| 881 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
324 |
Variables that are final and static should be in all caps. |
| 882 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
337 |
Found 'DU'-anomaly for variable 'listener' (lines '337'-'362'). |
| 883 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
339 |
Avoid variables with short names like e |
| 884 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
341 |
Switch statements should have a default label |
| 885 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
371 |
Avoid variables with short names like x |
| 886 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
371 |
Avoid variables with short names like y |
| 887 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
400 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 888 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
401 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 889 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
404 |
Avoid variables with short names like gc |
| 890 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
407 |
Found 'DU'-anomaly for variable 'size' (lines '407'-'416'). |
| 891 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
408 |
Found 'DU'-anomaly for variable 'border' (lines '408'-'416'). |
| 892 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
427 |
Found 'DD'-anomaly for variable 'width' (lines '427'-'430'). |
| 893 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
427 |
Found 'DD'-anomaly for variable 'width' (lines '427'-'434'). |
| 894 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
438 |
Found 'DD'-anomaly for variable 'height' (lines '438'-'441'). |
| 895 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
438 |
Found 'DD'-anomaly for variable 'height' (lines '438'-'445'). |
| 896 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
441 |
Found 'DD'-anomaly for variable 'height' (lines '441'-'445'). |
| 897 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
452 |
Use explicit scoping instead of the default package private level |
| 898 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
473 |
Avoid unnecessary return statements |
| 899 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
477 |
Use explicit scoping instead of the default package private level |
| 900 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
502 |
Found 'DD'-anomaly for variable 'contentSize' (lines '502'-'503'). |
| 901 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
557 |
The class 'CLayoutData' has a Cyclomatic Complexity of 6 (Highest = 10). |
| 902 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
559 |
Use explicit scoping instead of the default package private level |
| 903 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
561 |
Use explicit scoping instead of the default package private level |
| 904 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
563 |
The method 'computeSize' has a Cyclomatic Complexity of 10. |
| 905 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
563 |
Use explicit scoping instead of the default package private level |
| 906 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
577 |
A method should have only one exit point, and that should be the last statement in the method |
| 907 |
net\sf\xwsf\client\swt\widget\XwsfText.java |
591 |
Use explicit scoping instead of the default package private level |