PMD Results

The following document contains the results of PMD 4.2.2.

Files

it/imolinfo/jbi4corba/Logger.java

Violation Line
Avoid unused imports such as 'javax.jbi.component.ComponentContext' 12
Avoid unused imports such as 'javax.xml.namespace.QName' 13
This class has too many methods, consider refactoring it. 23 - 125
Avoid variables with short names like e 31
Avoid variables with short names like ex 39
Avoid variables with short names like ex 49
Avoid variables with short names like t 65
Avoid variables with short names like t 82
Avoid variables with short names like t 96
Avoid variables with short names like t 110
Avoid variables with short names like t 124

it/imolinfo/jbi4corba/jbi/JbiServiceDescriptor.java

Violation Line
Avoid unused imports such as 'org.apache.commons.lang.builder.HashCodeBuilder' 15
Avoid excessively long variable names like idlFileNameDirectory 37
Avoid excessively long variable names like idlFileNameDirectory 76
Ensure you override both equals() and hashCode() 184

it/imolinfo/jbi4corba/jbi/Messages.java

Violation Line
Avoid excessively long variable names like BUNDLE_NAME_SUFFIX 38
The String literal "unchecked" appears 5 times in this file; the first occurrence is on line 52 52
String.indexOf(char) is faster than String.indexOf(String). 164

it/imolinfo/jbi4corba/jbi/component/Jbi4CorbaLifeCycle.java

Violation Line
A method/constructor shouldn't explicitly throw java.lang.Exception 70

it/imolinfo/jbi4corba/jbi/component/Jbi4CorbaMessageExchangeHandler.java

Violation Line
Avoid variables with short names like me 62
Avoid variables with short names like ep 67
Avoid variables with short names like ex 152

it/imolinfo/jbi4corba/jbi/component/Jbi4CorbaPerformanceMeasurement.java

Violation Line
Avoid excessively long variable names like JBI4CORBA_BC_SOURCE_FILTER 24
Avoid variables with short names like gr 34
Avoid variables with short names like gr 45

it/imolinfo/jbi4corba/jbi/component/Jbi4CorbaRuntime.java

Violation Line
Avoid variables with short names like sw 183

it/imolinfo/jbi4corba/jbi/component/Jbi4CorbaSUManager.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 1483
This class has too many methods, consider refactoring it. 101 - 1483
Avoid really long classes. 101 - 1483
The class 'Jbi4CorbaSUManager' has a Cyclomatic Complexity of 4 (Highest = 30). 101 - 1483
Avoid excessively long variable names like activatedEndpoints 112
Avoid excessively long variable names like runtimeConfiguration 116
Avoid excessively long variable names like tmpOriginaclassLoader 120
Avoid excessively long variable names like serviceUnitRootPath 286
Avoid excessively long variable names like statusProviderHelper 289
Avoid excessively long variable names like deployedEndpointsToRemove 314
Avoid excessively long variable names like statusProviderHelper 432
The method processDeploy() has an NPath complexity of 228 432 - 564
Avoid really long methods. 432 - 564
The method 'processDeploy' has a Cyclomatic Complexity of 11. 432 - 564
Avoid excessively long variable names like serviceClassesGenerator 443
Avoid unused local variables such as 'documentBuilder'. 477
Avoid excessively long variable names like consumerServiceDescriptor 517
Avoid excessively long variable names like endpointNameLocalPart 519
The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 566 566
Avoid variables with short names like f 602
Avoid excessively long variable names like preProcessDeserializer 608
Avoid variables with short names like f 615
Avoid excessively long variable names like wsdlsInSubDirectories 707
Avoid variables with short names like f 774
Avoid really long methods. 872 - 985
The method 'createServiceDescriptor' has a Cyclomatic Complexity of 11. 872 - 985
Avoid excessively long variable names like idlAbsoluteFileName 915
Avoid variables with short names like fr 919
Avoid empty if statements 957 - 959
Avoid excessively long variable names like jbiServiceDescriptor 995
Avoid excessively long variable names like consumerServiceDescriptor 999
A method/constructor shouldn't explicitly throw java.lang.Exception 1027
Avoid variables with short names like sw 1037
Avoid unused method parameters such as 'suName'. 1057 - 1253
The method getJbiDescriptors() has an NPath complexity of 679710 1057 - 1253
Avoid really long methods. 1057 - 1253
The method 'getJbiDescriptors' has a Cyclomatic Complexity of 30. 1057 - 1253
Avoid excessively long variable names like appConfigObjectMap 1116
Avoid excessively long variable names like appconfigLocalizationType 1146
Avoid excessively long variable names like appconfigaddressName 1147
Avoid excessively long variable names like jbiServiceDescriptor 1235
Avoid unused method parameters such as 'suZipPath'. 1265 - 1292
Avoid unused method parameters such as 'jbiServiceDescriptors'. 1265 - 1292
Avoid unused method parameters such as 'rootDir'. 1265 - 1292
Avoid excessively long variable names like jbiServiceDescriptors 1266
Avoid excessively long variable names like endpointNameLocalPart 1271
Avoid excessively long variable names like providerServiceDescriptor 1275
Avoid really long methods. 1310 - 1482
The method 'getProviderServiceDescriptor' has a Cyclomatic Complexity of 13. 1310 - 1482
Avoid excessively long variable names like jbiServiceDescriptor 1311
Avoid excessively long variable names like serviceUnitRootPath 1312
Avoid excessively long variable names like serviceClassesGenerator 1313
Avoid excessively long variable names like providerServiceDescriptorList 1317
Avoid excessively long variable names like providerServiceDescriptor 1382

it/imolinfo/jbi4corba/jbi/component/ReadWriteTextFile.java

Violation Line
Avoid using if statements without curly braces 130 - 131

it/imolinfo/jbi4corba/jbi/component/TransformerPool.java

Violation Line
Avoid using implementation types like 'LinkedList'; use the interface instead 20

it/imolinfo/jbi4corba/jbi/component/runtime/AbstractComponentLifeCycle.java

Violation Line
This class has too many methods, consider refactoring it. 44 - 608
Avoid excessively long variable names like mExtensionMBeanName 56
Avoid excessively long variable names like mExtensionMBeanImpl 58
Avoid excessively long variable names like mRuntimeConfigHelper 63
Avoid excessively long variable names like SHORT_DISPLAY_NAME 66
Avoid excessively long variable names like PERF_CAT_NORMALIZATION 69
Avoid excessively long variable names like PERF_CAT_DENORMALIZATION 70
Avoid excessively long variable names like JBI4CORBABC_PERF_CATEGORIES 71
Avoid excessively long variable names like mStatusProviderHelper 74
Avoid excessively long variable names like statusMBeanObjName 255
Avoid excessively long variable names like configSchemaFileLoc 291
A method/constructor shouldn't explicitly throw java.lang.Exception 528

it/imolinfo/jbi4corba/jbi/component/runtime/AbstractMessageExchangeHandler.java

Violation Line
This class has too many methods, consider refactoring it. 25 - 133
The field name indicates a constant but its modifiers do not 27
The field name indicates a constant but its modifiers do not 28
Avoid variables with short names like ex 63
Avoid variables with short names like ex 78
Avoid variables with short names like ex 88

it/imolinfo/jbi4corba/jbi/component/runtime/ComponentRuntime.java

Violation Line
Abstract classes should be named AbstractXXX 29 - 162

it/imolinfo/jbi4corba/jbi/component/runtime/DefaultComponentLifeCycle.java

Violation Line
A method/constructor shouldn't explicitly throw java.lang.Exception 51

it/imolinfo/jbi4corba/jbi/component/runtime/DefaultMessageExchangeHandler.java

Violation Line
Avoid variables with short names like ex 41

it/imolinfo/jbi4corba/jbi/component/runtime/DefaultServiceUnitManager.java

Violation Line
Abstract classes should be named AbstractXXX 25 - 77

it/imolinfo/jbi4corba/jbi/component/runtime/MessageExchangeHandler.java

Violation Line
A method/constructor shouldn't explicitly throw java.lang.Exception 36

it/imolinfo/jbi4corba/jbi/component/runtime/MessageExchangeReceiver.java

Violation Line
Avoid excessively long variable names like DC_ACCEPT_TIME_OUT 106
Avoid excessively long variable names like RECEIVER_WAIT_TIME 110
Avoid excessively long variable names like RECEIVER_SHUTDOWN_WAIT_TIME 114
Avoid excessively long variable names like HANDLERS_SHUTDOWN_WAIT_TIME 118
Avoid excessively long variable names like HANDLER_THREAD_POOL_SIZE 122
The field name indicates a constant but its modifiers do not 122
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). 122
Variables should start with a lowercase character 122
Avoid excessively long variable names like mReceiverThreadMgr 134
Avoid excessively long variable names like mHandlerThreadPool 138
A method/constructor shouldn't explicitly throw java.lang.Exception 142
A method/constructor shouldn't explicitly throw java.lang.Exception 147
Avoid variables with short names like t 168
Avoid excessively long variable names like interruptException 182
A method/constructor shouldn't explicitly throw java.lang.Exception 202
A method/constructor shouldn't explicitly throw java.lang.Exception 241
A method/constructor shouldn't explicitly throw java.lang.Exception 272
A method/constructor shouldn't explicitly throw java.lang.Exception 282

it/imolinfo/jbi4corba/jbi/component/runtime/RuntimeConfiguration.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 17 - 908
The class 'RuntimeConfiguration' has a Cyclomatic Complexity of 4 (Highest = 17). 67 - 908
This class has too many methods, consider refactoring it. 68 - 908
The field name indicates a constant but its modifiers do not 81
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). 81
Variables should start with a lowercase character 81
The field name indicates a constant but its modifiers do not 82
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). 82
Variables should start with a lowercase character 82
Avoid excessively long variable names like PERSIST_APPLICATION_CONFIG_FILE_NAME 86
Avoid excessively long variable names like PERSIST_APPLICATION_VARIABLE_CONFIG_FILE_NAME 87
Avoid excessively long variable names like APPLICATION_CONFIG_ROW_KEY 90
Avoid excessively long variable names like APPLICATION_CONFIG_PROPERTY_LOCALIZATION_TYPE 92
Avoid excessively long variable names like APPLICATION_CONFIG_PROPERTY_EXTENSION_NAME 93
Avoid excessively long variable names like APPLICATION_CONFIG_PROPERTY_ORB 94
Avoid excessively long variable names like mAppConfigTabularType 105
The field name indicates a constant but its modifiers do not 107
Avoid excessively long variable names like APPVAR_TABULAR_TYPE 108
The field name indicates a constant but its modifiers do not 108
Avoid excessively long variable names like broadcasterSupport 128
The method addApplicationConfiguration() has an NPath complexity of 1792 300 - 346
The method 'addApplicationConfiguration' has a Cyclomatic Complexity of 17. 300 - 346
These nested if statements could be combined 326 - 328
String.indexOf(char) is faster than String.indexOf(String). 326
These nested if statements could be combined 332 - 335
The method setApplicationConfiguration() has an NPath complexity of 1792 375 - 414
The method 'setApplicationConfiguration' has a Cyclomatic Complexity of 17. 375 - 414
These nested if statements could be combined 397 - 399
String.indexOf(char) is faster than String.indexOf(String). 397
These nested if statements could be combined 403 - 406
Avoid throwing raw exception types. 439
Avoid excessively long variable names like appConfigRowAttrNames 460
Avoid excessively long variable names like appConfigAttrTypes 465
Avoid excessively long variable names like appConfigPersistFileName 496
Avoid variables with short names like os 497
Avoid excessively long variable names like appConfigPersistFileName 517
Avoid variables with short names like is 523
The String literal "CRB000447_AppVarValueNull" appears 4 times in this file; the first occurrence is on line 648 648
Avoid throwing raw exception types. 786
Avoid excessively long variable names like appVarRowAttrNames 801
Avoid excessively long variable names like appVarRowAttrTypes 809
These nested if statements could be combined 845 - 847
Avoid variables with short names like is 874
String.indexOf(char) is faster than String.indexOf(String). 882
These nested if statements could be combined 886 - 895

it/imolinfo/jbi4corba/jbi/component/runtime/RuntimeConfigurationMBean.java

Violation Line
This class has too many methods, consider refactoring it. 22 - 180
Avoid excessively long variable names like CONFIG_APPLICATION_CONFIGURATIONS 29

it/imolinfo/jbi4corba/jbi/component/runtime/RuntimeContext.java

Violation Line
Double checked locking is not thread safe in Java. 41 - 50

it/imolinfo/jbi4corba/jbi/component/runtime/RuntimeHelper.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 65 - 705
This class has too many methods, consider refactoring it. 144 - 704
The class 'RuntimeHelper' has a Cyclomatic Complexity of 3 (Highest = 15). 144 - 704
The method findServiceEndpoint() has an NPath complexity of 252 276 - 374
The method 'findServiceEndpoint' has a Cyclomatic Complexity of 15. 276 - 374
A method/constructor shouldn't explicitly throw java.lang.Exception 444
Avoid variables with short names like e 462
Avoid variables with short names like is 494
Avoid variables with short names like ex 660
Avoid variables with short names like ex 682

it/imolinfo/jbi4corba/jbi/component/runtime/ServiceDescriptor.java

Violation Line
Avoid excessively long variable names like ROBUST_IN_ONLY_MEP 205
Avoid excessively long variable names like IN_OPTIONAL_OUT_MEP 210

it/imolinfo/jbi4corba/jbi/cxf/CXFUtils.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 407
Avoid excessively long variable names like componentClassLoader 99
Avoid excessively long variable names like customServiceConfigurations 129
Avoid variables with short names like ei 247
Avoid variables with short names like ei 254
Avoid variables with short names like mi 272
Avoid excessively long variable names like outInterceptorChain 290
Avoid excessively long variable names like isProviderOrConsumerFromIDL 291
Avoid excessively long variable names like faultInterceptorChain 318
Avoid excessively long variable names like inInterceptorChain 340
Avoid excessively long variable names like inInterceptorChain 372
These nested if statements could be combined 399 - 401

it/imolinfo/jbi4corba/jbi/cxf/Jbi4CorbaBareOutInterceptor.java

Violation Line
The class 'Jbi4CorbaBareOutInterceptor' has a Cyclomatic Complexity of 5 (Highest = 13). 37 - 132
The method handleMessage() has an NPath complexity of 324 61 - 130
The method 'handleMessage' has a Cyclomatic Complexity of 13. 61 - 130
Avoid variables with short names like o 115
Avoid variables with short names like o 124

it/imolinfo/jbi4corba/jbi/cxf/Jbi4CorbaConsumerExceptionInterceptor.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 9 - 498
The class 'Jbi4CorbaConsumerExceptionInterceptor' has a Cyclomatic Complexity of 6 (Highest = 23). 64 - 498
The method processFaultDetail() has an NPath complexity of 25088 95 - 205
Avoid really long methods. 95 - 205
The method 'processFaultDetail' has a Cyclomatic Complexity of 23. 95 - 205
Avoid variables with short names like s 145
Avoid variables with short names like e 148
A catch statement should never catch throwable since it includes errors. 186
Avoid variables with short names like f 193
Avoid variables with short names like e 207
Avoid variables with short names like db 238
Avoid variables with short names like ns 249
Avoid variables with short names like xu 250
Avoid variables with short names like ss 251
Avoid variables with short names like st 255
Avoid variables with short names like e 267
Avoid variables with short names like u 299
The method unmarshallException() has an NPath complexity of 529 299 - 389
The method 'unmarshallException' has a Cyclomatic Complexity of 15. 299 - 389
Avoid variables with short names like qn 320
Avoid variables with short names like q 347
Avoid variables with short names like s 349
Avoid variables with short names like m 351
Avoid variables with short names like m2 358
Avoid variables with short names like o 363
Avoid variables with short names like o 379
Avoid variables with short names like gt 414
Avoid variables with short names like ct 415
Avoid variables with short names like u 441
The method 'unmarshallArray' has a Cyclomatic Complexity of 10. 441 - 478
A method/constructor shouldn't explicitly throw java.lang.Exception 442

it/imolinfo/jbi4corba/jbi/cxf/Jbi4CorbaIdlPreprocessor.java

Violation Line
The class 'Jbi4CorbaIdlPreprocessor' has a Cyclomatic Complexity of 3 (Highest = 12). 35 - 249
Avoid unused private fields such as 'PUSH'. 47
Avoid unused private fields such as 'POP'. 54
Avoid unused private fields such as 'LF'. 56
Avoid variables with short names like LF 56
Avoid unused private fields such as 'defineState'. 74
Avoid unused private fields such as 'readPos'. 76
The method handleInclude() has an NPath complexity of 960 150 - 197
The method 'handleInclude' has a Cyclomatic Complexity of 12. 150 - 197
Avoid unused local variables such as 'newTopEntry'. 203
Avoid unused local variables such as 'reader'. 205

it/imolinfo/jbi4corba/jbi/cxf/Jbi4CorbaServiceInvokerInterceptor.java

Violation Line
Avoid variables with short names like ep 55

it/imolinfo/jbi4corba/jbi/cxf/OutMarshallerHelper.java

Violation Line
Avoid unused imports such as 'com.sun.tools.internal.xjc.runtime.JAXBContextFactory' 10
Avoid unused imports such as 'javax.xml.bind.JAXBContext' 20
The class 'OutMarshallerHelper' has a Cyclomatic Complexity of 14 (Highest = 23). 41 - 205
Avoid variables with short names like u 62
The method marshal() has an NPath complexity of 6432 88 - 204
Avoid really long methods. 88 - 204
The method 'marshal' has a Cyclomatic Complexity of 23. 88 - 204
Avoid variables with short names like l 160
Avoid variables with short names like o 169

it/imolinfo/jbi4corba/jbi/endpoint/ConsumerEndpoint.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 894
Avoid unused imports such as 'javax.jbi.management.DeploymentException' 35
This class has too many methods, consider refactoring it. 75 - 894
The class 'ConsumerEndpoint' has a Cyclomatic Complexity of 3 (Highest = 21). 75 - 894
Avoid excessively long variable names like SOAP_NAMESPACE_PREFIX 83
Avoid excessively long variable names like consumerExchangeProcessor 97
Avoid excessively long variable names like consumerServiceDescriptor 99
Avoid excessively long variable names like consumerServiceDescriptor 106
Avoid variables with short names like me 139
Avoid excessively long variable names like consumerServiceCreator 153
Avoid excessively long variable names like consumerServiceClassesGenerator 261
Avoid excessively long variable names like serverCorbaClassesHolder 265
Avoid excessively long variable names like consumerServiceCreator 290
Avoid really long methods. 315 - 422
Avoid excessively long variable names like consumerServiceDescriptor 317
Avoid variables with short names like bo 392
Avoid excessively long variable names like defaultLocationURI 571
Avoid variables with short names like fr 679
Avoid excessively long variable names like consumerServiceDescriptor 752
The method retrieveProxiedEndpointDefinition() has an NPath complexity of 4144 765 - 861
The method 'retrieveProxiedEndpointDefinition' has a Cyclomatic Complexity of 21. 765 - 861
Avoid excessively long variable names like targetInterfaceName 770
Avoid variables with short names like ep 782

it/imolinfo/jbi4corba/jbi/endpoint/Jbi4CorbaEndpoint.java

Violation Line
Abstract classes should be named AbstractXXX 30 - 389
Avoid excessively long variable names like serviceDescription 66
Avoid excessively long variable names like serviceNamespaceURI 106
Avoid excessively long variable names like aServiceNamespaceURI 112
Avoid excessively long variable names like serviceDescription 225
Avoid variables with short names like c 321

it/imolinfo/jbi4corba/jbi/endpoint/Jbi4CorbaSFServiceEndpoint.java

Violation Line
Avoid variables with short names like ep 50

it/imolinfo/jbi4corba/jbi/endpoint/ProviderEndpoint.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 1187
This class has too many methods, consider refactoring it. 71 - 1187
Avoid really long classes. 71 - 1187
Avoid variables with short names like fr 255
Avoid excessively long variable names like transformerFactory 267
Avoid variables with short names like m 362
Avoid variables with short names like m 368
Avoid variables with short names like vf 439
Avoid excessively long variable names like corbaObjectReference 499
Avoid excessively long variable names like corbaObjectReference 590
Avoid excessively long variable names like retrievedObjectAsCorbaObject 593
The String literal "CRB000135_Exception_calling_narrow_method" appears 6 times in this file; the first occurrence is on line 602 602
Avoid excessively long variable names like oldSecurityManager 649
The String literal "CRB000135_Exception_calling_typeMethod" appears 5 times in this file; the first occurrence is on line 673 673
The String literal "CRB000135_Exception_calling_extractMethod" appears 7 times in this file; the first occurrence is on line 683 683
The String literal "retrievedObject=" appears 4 times in this file; the first occurrence is on line 793 793
The String literal "CRB000143_IOR_NotFound" appears 8 times in this file; the first occurrence is on line 846 846
Avoid variables with short names like br 927
The String literal "CRB000131_Invalid_initial_reference_name" appears 4 times in this file; the first occurrence is on line 964 964
The String literal "CRB000134_Exception_retrieving_corba_object_reference" appears 6 times in this file; the first occurrence is on line 996 996
The String literal "CRB000133_Exception_retrieving_narrow_method" appears 4 times in this file; the first occurrence is on line 1,053 1053
The String literal "CRB000133_Exception_retrieving_extractMethod" appears 4 times in this file; the first occurrence is on line 1,088 1088
The String literal "CRB000133_Exception_retrieving_typeMethod" appears 4 times in this file; the first occurrence is on line 1,120 1120

it/imolinfo/jbi4corba/jbi/processor/JbiMessage.java

Violation Line
It is somewhat confusing to have a field name with the same name as a method 21

it/imolinfo/jbi4corba/jbi/processor/MessageDenormalizer.java

Violation Line
The class 'MessageDenormalizer' has a Cyclomatic Complexity of 7 (Highest = 13). 51 - 332
The method 'denormalize' has a Cyclomatic Complexity of 13. 113 - 200
Avoid variables with short names like it 127
Avoid variables with short names like op 130
These nested if statements could be combined 133 - 139
The String literal "CRB000806_Error_in_denormalizing_the_message" appears 4 times in this file; the first occurrence is on line 191 191
Avoid variables with short names like it 228
Avoid variables with short names like op 231

it/imolinfo/jbi4corba/jbi/processor/MessageNormalizer.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 9 - 456
The class 'MessageNormalizer' has a Cyclomatic Complexity of 12 (Highest = 16). 53 - 455
The method normalize() has an NPath complexity of 243 113 - 213
Avoid really long methods. 113 - 213
The method 'normalize' has a Cyclomatic Complexity of 15. 113 - 213
Avoid variables with short names like it 128
Avoid variables with short names like op 131
The String literal "CRB000808_Error_in_normalizing_the_messsage" appears 8 times in this file; the first occurrence is on line 201 201
The method normalize() has an NPath complexity of 242 228 - 323
The method 'normalize' has a Cyclomatic Complexity of 14. 228 - 323
Avoid variables with short names like it 242
Avoid variables with short names like op 245
The method normalizeFault() has an NPath complexity of 291 344 - 452
Avoid really long methods. 344 - 452
The method 'normalizeFault' has a Cyclomatic Complexity of 16. 344 - 452
Avoid variables with short names like it 358
Avoid variables with short names like op 362

it/imolinfo/jbi4corba/jbi/processor/ProviderExchangeProcessor.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 774
The class 'ProviderExchangeProcessor' has a Cyclomatic Complexity of 4 (Highest = 14). 71 - 772
Avoid excessively long variable names like TRANSFORMER_FACTORY 75
Avoid really long methods. 131 - 456
The method 'process' has a Cyclomatic Complexity of 14. 131 - 456
Avoid variables with short names like in 154
Avoid instantiating String objects; this is usually unnecessary. 172
Avoid excessively long variable names like messageDenormalizer 177
Avoid instantiating String objects; this is usually unnecessary. 368
Avoid really long methods. 598 - 770
The method 'invokeCXFOperation' has a Cyclomatic Complexity of 10. 598 - 770
Avoid variables with short names like ei 606
Avoid variables with short names like ep 608
Avoid variables with short names like si 610
Avoid variables with short names like bi 612
Avoid excessively long variable names like inInterceptorChain 658
Avoid excessively long variable names like isCheckedApplication 678
Avoid excessively long variable names like faultInterceptorChain 706
Avoid excessively long variable names like outInterceptorChain 758

it/imolinfo/jbi4corba/jbi/processor/transform/SourceTransformer.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 901
This class has too many methods, consider refactoring it. 58 - 901
Avoid excessively long variable names like DEFAULT_CHARSET_PROPERTY 79
Avoid excessively long variable names like documentBuilderFactory 85
Avoid excessively long variable names like transformerFactory 88
Avoid excessively long variable names like documentBuilderFactory 104
Avoid variables with short names like r 375
Avoid variables with short names like cl 423
A catch statement should never catch throwable since it includes errors. 426
Avoid excessively long variable names like documentBuilderFactory 742
Avoid excessively long variable names like transformerFactory 808
Avoid variables with short names like n 856
Avoid variables with short names like el 858

it/imolinfo/jbi4corba/jbi/processor/transform/StringSource.java

Violation Line
Avoid throwing null pointer exceptions. 41
Avoid throwing raw exception types. 89

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaAddressDeserializer.java

Violation Line
The class 'Jbi4CorbaAddressDeserializer' has a Cyclomatic Complexity of 4 (Highest = 11). 42 - 224
Avoid variables with short names like el 89
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 100 - 101
A method/constructor shouldn't explicitly throw java.lang.Exception 141
Avoid variables with short names like m 143
String.trim().length()==0 is an inefficient way to validate an empty String. 147
Avoid variables with short names like el 163
The method 'getAttrAndResolveEnvVar' has a Cyclomatic Complexity of 11. 163 - 219
The String literal "INVALID_WSDL" appears 4 times in this file; the first occurrence is on line 177 177
A catch statement that catches an exception only to rethrow it should be avoided. 212 - 214
A method/constructor shouldn't explicitly throw java.lang.Exception 221

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaAddressSerializer.java

Violation Line
Avoid variables with short names like pw 62
The String literal ">\n" appears 4 times in this file; the first occurrence is on line 93 93
Avoid variables with short names like pw 117
This for loop could be simplified to a while loop 122 - 131

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaBinding.java

Violation Line
Avoid excessively long variable names like Jbi4CorbaDLEntryList 41
Avoid excessively long variable names like Jbi4CorbaDLEntryList 48

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaBindingDeserializer.java

Violation Line
Avoid variables with short names like el 60

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaBindingSerializer.java

Violation Line
Avoid variables with short names like pw 70
Avoid variables with short names like pw 119

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaExtPreprocessDeserializer.java

Violation Line
Avoid excessively long variable names like APPVAR_TYPE_STRING 34
Avoid variables with short names like el 49
Avoid unused local variables such as 'propertyName'. 73
Avoid variables with short names like el 92
Avoid variables with short names like s 94

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaExtension.java

Violation Line
Avoid excessively long variable names like LOCALIZATION_TYPE_ATTRIBUTE 42
Avoid excessively long variable names like PERSISTENT_ATTRIBUTE 46
Avoid excessively long variable names like DEFAULT_RELATIVE_PATH 72
Avoid excessively long variable names like Q_ELEM_JBI4CORBA_BINDING 74
Avoid excessively long variable names like Q_ELEM_JBI4CORBA_ADDRESS 76
Avoid excessively long variable names like Q_ELEM_JBI4CORBA_IDLENTRY 78
Avoid excessively long variable names like Q_ELEM_JBI4CORBA_ORB 80
Avoid excessively long variable names like addressDeserializer 127

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaExtensionUtils.java

Violation Line
The class 'Jbi4CorbaExtensionUtils' has a Cyclomatic Complexity of 4 (Highest = 10). 38 - 351
The method 'removeCorbaElements' has a Cyclomatic Complexity of 10. 65 - 144
Avoid excessively long variable names like jbi4CorbaNamespace 76
Avoid excessively long variable names like toRemoveFromBinding 122
Avoid variables with short names like ee 226
Avoid variables with short names like ee 270

it/imolinfo/jbi4corba/jbi/wsdl/Jbi4CorbaIDLEntry.java

Violation Line
The field name indicates a constant but its modifiers do not 17
Avoid excessively long variable names like DEFAULT_CORBA_IDL_ENTRY 22

it/imolinfo/jbi4corba/logger/JDK14LoggerAdapter.java

Violation Line
This class has too many methods, consider refactoring it. 59 - 647
Avoid throwing null pointer exceptions. 94
Avoid variables with short names like t 236
Avoid variables with short names like t 321
Avoid variables with short names like t 408
Avoid variables with short names like t 495
Avoid variables with short names like t 514
Avoid throwing raw exception types. 533
Avoid variables with short names like t 582
Avoid variables with short names like t 603
Avoid variables with short names like t 622
Avoid variables with short names like t 641

it/imolinfo/jbi4corba/schema/SchemaUtil.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 366
The class 'SchemaUtil' has a Cyclomatic Complexity of 5 (Highest = 18). 58 - 366
The field name indicates a constant but its modifiers do not 62 - 63
Avoid variables with short names like sc 86
Avoid variables with short names like bd 89
Avoid variables with short names like el 125
Avoid variables with short names like el 157
Avoid variables with short names like fw 159
Avoid variables with short names like f 207
Avoid variables with short names like el 237
Avoid variables with short names like fw 237
The method 'getSchemaWrapperList' has a Cyclomatic Complexity of 18. 279 - 350
Avoid excessively long variable names like schemaTargetNameSpace 318
These nested if statements could be combined 339 - 342
Avoid variables with short names like ws 358

it/imolinfo/jbi4corba/utils/DescInfo.java

Violation Line
Variables should start with a lowercase character 31
It is somewhat confusing to have a field name with the same name as a method 32
It is somewhat confusing to have a field name with the same name as a method 33
Avoid using implementation types like 'Vector'; use the interface instead 39
Avoid using implementation types like 'Vector'; use the interface instead 79
Avoid variables with short names like p 87
Avoid using implementation types like 'Vector'; use the interface instead 97
Avoid variables with short names like s 153
String.trim().length()==0 is an inefficient way to validate an empty String. 154

it/imolinfo/jbi4corba/utils/HelperEPRUtils.java

Violation Line
The class 'HelperEPRUtils' has a Cyclomatic Complexity of 10 (Highest = 16). 36 - 217
Avoid variables with short names like bd 66
A method/constructor shouldn't explicitly throw java.lang.Exception 99
A method/constructor shouldn't explicitly throw java.lang.Exception 133
The method getEndpointInfo() has an NPath complexity of 10609 133 - 214
The method 'getEndpointInfo' has a Cyclomatic Complexity of 16. 133 - 214
String.indexOf(char) is faster than String.indexOf(String). 147
String.indexOf(char) is faster than String.indexOf(String). 182

it/imolinfo/jbi4corba/utils/HelperFileUtil.java

Violation Line
Avoid unused private fields such as 'LOG'. 53
Avoid variables with short names like f 78
Avoid variables with short names like in 151
Avoid variables with short names like in 172
Avoid variables with short names like i 177
Avoid using if statements without curly braces 183
Avoid using if statements without curly braces 184
Avoid variables with short names like in 194
Avoid variables with short names like i 199
Avoid using if statements without curly braces 205
Avoid using if statements without curly braces 206
Avoid variables with short names like r 218

it/imolinfo/jbi4corba/utils/HelperStringUtils.java

Violation Line
Method names should not start with capital letters 24
Avoid variables with short names like tk 49
Avoid unused local variables such as 'sameSize'. 50
Avoid using if statements without curly braces 51 - 52

it/imolinfo/jbi4corba/utils/IDL2WSDLTool.java

Violation Line
The class 'IDL2WSDLTool' has a Cyclomatic Complexity of 6 (Highest = 25). 35 - 453
Avoid excessively long variable names like SELECTED_FOR_CREATION 41
The method main() has an NPath complexity of 128304 59 - 272
Avoid really long methods. 59 - 272
The method 'main' has a Cyclomatic Complexity of 25. 59 - 272
The method main() has an NCSS line count of 109 59 - 272
Avoid variables with short names like fn 73
Avoid using if statements without curly braces 126
Avoid variables with short names like di 156
Avoid excessively long variable names like ORBPropertiesCount 165
Avoid using if statements without curly braces 170
Avoid unused local variables such as 'index'. 214
Avoid variables with short names like i 227
Avoid variables with short names like fw 348
Avoid using implementation types like 'ArrayList'; use the interface instead 380
Avoid variables with short names like e 435

it/imolinfo/jbi4corba/utils/IdlFileDataHolder.java

Violation Line
Avoid excessively long variable names like interfaceNameSpaces 27
Avoid excessively long variable names like interfaceNameSpace 34

it/imolinfo/jbi4corba/utils/plugin/wsdl/Jbi4CorbaPartnerLink.java

Violation Line
Avoid variables with short names like i 54

it/imolinfo/jbi4corba/utils/plugin/wsdl/Jbi4CorbaPartnerLinkExtension.java

Violation Line
Avoid excessively long variable names like PRTLNK_NAME_ATTRIBUTE 29
Avoid excessively long variable names like ROLE_ATTRIBUTE_NAME 39
Avoid excessively long variable names like ROLE_ATTRIBUTE_PORT 44

it/imolinfo/jbi4corba/utils/plugin/wsdl/Jbi4CorbaPartnerLinkSerializer.java

Violation Line
Avoid variables with short names like pw 35
Avoid variables with short names like pw 71

it/imolinfo/jbi4corba/utils/plugin/wsdl/Role.java

Violation Line
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 71
StringBuffer constructor is initialized with size 24, but has at least 28 characters appended. 71
Avoid appending characters as strings in StringBuffer.append. 72
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 72
Avoid appending characters as strings in StringBuffer.append. 73

it/imolinfo/jbi4corba/webservice/descriptor/ConsumerServiceDescriptor.java

Violation Line
Too many fields 31 - 396
Avoid excessively long variable names like targetInterfaceName 40
Avoid excessively long variable names like consumerInvocationHandler 51
Avoid excessively long variable names like runtimeInformation 54
Avoid excessively long variable names like serverCorbaClassesHolder 60
Avoid excessively long variable names like serviceWSDLDefinition 64
Avoid excessively long variable names like jbiServiceDescriptor 65
Avoid excessively long variable names like serverCorbaClassesHolder 84
Avoid excessively long variable names like consumerInvocationHandler 148
Ensure you override both equals() and hashCode() 165
Avoid excessively long variable names like targetInterfaceName 226
Avoid excessively long variable names like serviceWSDLDefinition 361
Avoid excessively long variable names like jbiServiceDescriptor 376
Avoid excessively long variable names like runtimeInformation 384

it/imolinfo/jbi4corba/webservice/descriptor/ProviderServiceDescriptor.java

Violation Line
This class has a bunch of public methods and attributes 8 - 494
Too many fields 36 - 494
Avoid excessively long variable names like corbaObjectInterface 69
Avoid excessively long variable names like corbaObjectReference 72
Avoid excessively long variable names like originalClassLoader 82
Avoid excessively long variable names like substitutedUnionFields 93
Avoid unused private fields such as 'substitutedInterfaceFields'. 98
Avoid excessively long variable names like substitutedInterfaceFields 98
Avoid excessively long variable names like valueTypeIdAndInstance 111
Avoid excessively long variable names like corbaObjectReference 181
Avoid excessively long variable names like corbaObjectInterface 232
Avoid excessively long variable names like originalClassLoader 353
Avoid excessively long variable names like valueTypeIdAndInstance 371
Avoid excessively long variable names like substitutedUnionFields 432
Avoid excessively long variable names like substitutedInterfaceFields 449

it/imolinfo/jbi4corba/webservice/generator/AnyType.java

Violation Line
Avoid unused imports such as 'java.util.HashMap' 16
Avoid unused imports such as 'java.util.Map' 17
Avoid unused imports such as 'java.util.Set' 18
Avoid excessively long variable names like CORBA_ANY_IMPL_TYPE 23
It is somewhat confusing to have a field name with the same name as a method 30
Avoid excessively long variable names like paramOrExceptionIdx 54
Avoid using if statements without curly braces 57 - 58
Avoid using if...else statements without curly braces 74
Avoid using if...else statements without curly braces 76
Avoid using if statements without curly braces 102 - 103

it/imolinfo/jbi4corba/webservice/generator/AnyTypeUtils.java

Violation Line
The class 'AnyTypeUtils' has a Cyclomatic Complexity of 3 (Highest = 11). 23 - 135
The method 'replaceAnyTypesInMethodSignature' has a Cyclomatic Complexity of 11. 42 - 107
String.indexOf(char) is faster than String.indexOf(String). 47
Avoid using if statements without curly braces 49 - 50
Avoid using if statements without curly braces 77 - 78
Avoid using if statements without curly braces 82 - 83

it/imolinfo/jbi4corba/webservice/generator/ClassMetaInfo.java

Violation Line
Avoid excessively long variable names like classSerialVersionUid 41
Avoid excessively long variable names like classSerialVersionUid 77

it/imolinfo/jbi4corba/webservice/generator/ClientCorbaClassesHolder.java

Violation Line
Avoid excessively long variable names like valueTypeIdAndInstance 44
Avoid excessively long variable names like substitutedUnionFields 50
Avoid excessively long variable names like substitutedInterafceFields 56
Avoid excessively long variable names like substitutedAnyFields 65
Ensure you override both equals() and hashCode() 137
Avoid excessively long variable names like valueTypeIdAndInstance 153
Avoid excessively long variable names like replacedUnionFields 185
Avoid excessively long variable names like replacedInterfaceFields 210

it/imolinfo/jbi4corba/webservice/generator/CodeGenerationProperties.java

Violation Line
Avoid excessively long variable names like valueTypeImplementationWithToStringAndEquals 19
Avoid excessively long variable names like valueTypeImplementationWithToStringAndEquals 40

it/imolinfo/jbi4corba/webservice/generator/ConsumerServiceClassesGenerator.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 2440
This class has too many methods, consider refactoring it. 72 - 2440
Avoid really long classes. 72 - 2440
Avoid excessively long variable names like jbiServiceDescriptor 116
Avoid variables with short names like s 128
The String literal "CRB000500_Error_accessing_the_WSDL_directory" appears 4 times in this file; the first occurrence is on line 422 422
Avoid excessively long variable names like jbiServiceDescriptor 454
Avoid variables with short names like f 463
Avoid really long methods. 514 - 701
Avoid excessively long variable names like modifiedClassNames 580
The String literal "Impl" appears 5 times in this file; the first occurrence is on line 609 609
String.indexOf(char) is faster than String.indexOf(String). 649
Avoid unused local variables such as 'serviceName'. 656
Avoid excessively long variable names like serverCorbaClassesHolder 667
Avoid excessively long variable names like jbiServiceDescriptor 721
Avoid excessively long variable names like serviceDescriptorList 736
Avoid excessively long variable names like serverCorbaClassesHolder 744
Avoid really long methods. 765 - 902
Avoid excessively long variable names like implementationDirClasses 780
Avoid excessively long variable names like operationsClassNameFullName 782
Avoid excessively long variable names like operationsClassName 784
Avoid excessively long variable names like operationClassName 791
String.indexOf(char) is faster than String.indexOf(String). 793
The String literal ".class" appears 12 times in this file; the first occurrence is on line 798 798
Avoid excessively long variable names like operationClassName 810
The String literal "CRB000503_Error_getting_name" appears 4 times in this file; the first occurrence is on line 824 824
Avoid excessively long variable names like originalClassLoader 839
Avoid excessively long variable names like serviceImplClassName 847
The String literal "=======================================================================" appears 4 times in this file; the first occurrence is on line 867 867
Avoid excessively long variable names like serverCorbaClassesHolder 877
Avoid variables with short names like np 926
Avoid excessively long variable names like javaClassNameOfTheModifiedClasses 951
Avoid variables with short names like cn 953
Avoid variables with short names like cw 973
Avoid variables with short names like cc 974
Avoid variables with short names like sw 975
Avoid variables with short names like tv 976
Avoid variables with short names like cv 978
Avoid variables with short names like cr 980
Avoid variables with short names like cw 1178
Avoid variables with short names like cc 1179
Avoid variables with short names like sw 1180
Avoid variables with short names like tv 1181
Avoid variables with short names like cv 1183
Avoid variables with short names like cr 1186
Avoid variables with short names like cw 1224
Avoid variables with short names like cc 1225
Avoid variables with short names like sw 1226
Avoid variables with short names like tv 1227
Avoid variables with short names like cv 1229
Avoid variables with short names like cr 1231
Avoid variables with short names like wf 1292
Avoid variables with short names like fn 1305
Avoid variables with short names like s 1330
Avoid variables with short names like c 1362
Avoid excessively long variable names like serverCorbaClassesHolder 1453
The String literal "CRB000506_Error_during_method" appears 12 times in this file; the first occurrence is on line 1,466 1466
Avoid excessively long variable names like serverCorbaClassesHolder 1482
Avoid excessively long variable names like serverCorbaClassesHolder 1510
Avoid excessively long variable names like serverCorbaClassesHolder 1540
Avoid excessively long variable names like serverCorbaClassesHolder 1570
Avoid excessively long variable names like serverCorbaClassesHolder 1599
Avoid variables with short names like cw 1727
Avoid variables with short names like cc 1728
Avoid variables with short names like sw 1729
Avoid variables with short names like tv 1730
Avoid variables with short names like cv 1732
Avoid variables with short names like cr 1736
Avoid variables with short names like is 1790
The String literal "CRB000512_Error_creating" appears 4 times in this file; the first occurrence is on line 1,825 1825
Avoid unused method parameters such as 'jars'. 2107 - 2150
Avoid excessively long variable names like factoryClassLoader 2121
Avoid variables with short names like wi 2165
Avoid variables with short names like b 2171
Avoid variables with short names like pt 2187
Avoid variables with short names like wi 2217
Avoid variables with short names like op 2242
Avoid variables with short names like b 2286
Avoid variables with short names like pt 2299
The String literal "CRB000542_Error_during_service_name_lookup" appears 4 times in this file; the first occurrence is on line 2,307 2307
Avoid unused private methods such as 'addExceptionSuperclass(List,String)'. 2359
Avoid variables with short names like cw 2366
Avoid variables with short names like cc 2367
Avoid variables with short names like sw 2368
Avoid variables with short names like tv 2369
Avoid variables with short names like cv 2371
Avoid variables with short names like cr 2373
Avoid excessively long variable names like jbiServiceDescriptor 2413

it/imolinfo/jbi4corba/webservice/generator/HolderUtils.java

Violation Line
The class 'HolderUtils' has a Cyclomatic Complexity of 9 (Highest = 29). 28 - 394
Avoid excessively long variable names like PRIMITIVE_NAME_TYPE_MAP 31
Avoid excessively long variable names like PRIMITIVE_NAME_CLASS_MAP 47
The method 'populateCorbaHolderValueType' has a Cyclomatic Complexity of 10. 85 - 143
Avoid excessively long variable names like interfaceClassTypeName 89
Avoid excessively long variable names like interfaceClassType 90
Avoid excessively long variable names like compareHolderTypes 159
The method findMethod() has an NPath complexity of 259221 159 - 273
Avoid really long methods. 159 - 273
The method 'findMethod' has a Cyclomatic Complexity of 29. 159 - 273
Avoid excessively long variable names like paramTypeFromMethodAsString 173
Avoid using if statements without curly braces 213 - 214
These nested if statements could be combined 226 - 229
Avoid excessively long variable names like holderWithSearchedType 235
Avoid appending characters as strings in StringBuffer.append. 255
Avoid excessively long variable names like interfaceClassType 289
Avoid unused method parameters such as 'isArray'. 316 - 357
Avoid excessively long variable names like interfaceClassType 316
Avoid excessively long variable names like classWithInterfacePackage 330
Avoid excessively long variable names like classWithJavaLangPackage 342
Avoid variables with short names like cl 377
Avoid variables with short names like sb 383

it/imolinfo/jbi4corba/webservice/generator/InterfaceTypeUtils.java

Violation Line
Avoid variables with short names like it 35
String.indexOf(char) is faster than String.indexOf(String). 74
These nested if statements could be combined 115 - 126

it/imolinfo/jbi4corba/webservice/generator/MethodSignature.java

Violation Line
Avoid excessively long variable names like methodInterfaceTypes 77
Ensure you override both equals() and hashCode() 101
Avoid excessively long variable names like methodInterfaceTypes 256
Avoid excessively long variable names like methodInterfaceTypes 264
Avoid using if statements without curly braces 272 - 273

it/imolinfo/jbi4corba/webservice/generator/Param.java

Violation Line
Avoid unused imports such as 'java.util.ArrayList' 10
Avoid unused imports such as 'java.util.List' 11
It is somewhat confusing to have a field name with the same name as a method 44
It is somewhat confusing to have a field name with the same name as a method 59
It is somewhat confusing to have a field name with the same name as a method 69
Ensure you override both equals() and hashCode() 88

it/imolinfo/jbi4corba/webservice/generator/ProviderServiceClassesGenerator.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 1487
This class has too many methods, consider refactoring it. 59 - 1487
Avoid really long classes. 59 - 1487
The class 'ProviderServiceClassesGenerator' has a Cyclomatic Complexity of 4 (Highest = 44). 59 - 1487
Avoid excessively long variable names like codeGenerationProperties 73
Avoid excessively long variable names like originalClassLoader 79
Avoid unused private fields such as 'idlClassTable'. 89
Avoid unused private fields such as 'instance'. 94
Avoid excessively long variable names like serviceDescriptorList 152
Avoid excessively long variable names like serviceDescriptorList 169
The method 'generateProviderServiceClasses' has a Cyclomatic Complexity of 13. 212 - 291
Avoid excessively long variable names like serviceDescriptorList 213
Avoid excessively long variable names like xmlAccessTypeClass 240
Avoid empty catch blocks 248
The method generateProviderServiceClasses() has an NPath complexity of 308784960 318 - 800
Avoid really long methods. 318 - 800
The method 'generateProviderServiceClasses' has a Cyclomatic Complexity of 44. 318 - 800
The method generateProviderServiceClasses() has an NCSS line count of 193 318 - 800
Avoid excessively long variable names like serviceDescriptorList 319
Avoid excessively long variable names like workdirOrigclasses 333
Avoid excessively long variable names like mapOperationsMethod 363
The String literal "CRB000522_Error_finding_java_classes" appears 4 times in this file; the first occurrence is on line 383 383
Avoid excessively long variable names like classNameMinusJava 445
Avoid excessively long variable names like packageNameWithSlash 451
Avoid variables with short names like iu 559
Avoid excessively long variable names like corbaOperationSignatures 647
Avoid excessively long variable names like exceptionFromOperation 672
Avoid variables with short names like cs 683
Avoid excessively long variable names like allFieldsUniontypeMapping 685
Avoid excessively long variable names like allFiledsInterfacetypeMapping 687
Avoid variables with short names like i 692
Avoid variables with short names like f 709
The String literal ".class" appears 7 times in this file; the first occurrence is on line 709 709
Avoid excessively long variable names like classNameMinusClass 715
Avoid excessively long variable names like fieldsUniontypeMapping 720
Avoid excessively long variable names like fieldsInterfacetypeMapping 721
Avoid excessively long variable names like corbaOperationSignatures 765
Avoid excessively long variable names like operationUnionTypes 812
Avoid variables with short names like cw 840
Avoid variables with short names like cc 841
Avoid variables with short names like sw 842
Avoid variables with short names like tv 843
Avoid variables with short names like cv 846
Avoid variables with short names like cr 848
Avoid variables with short names like cw 877
Avoid variables with short names like cc 878
Avoid variables with short names like cr 885
Avoid excessively long variable names like operationUnionTypes 927
Avoid variables with short names like cw 932
Avoid variables with short names like cc 933
Avoid variables with short names like cr 940
Avoid variables with short names like cw 958
Avoid variables with short names like cc 959
Avoid variables with short names like cr 966
Avoid variables with short names like cw 984
Avoid variables with short names like cc 985
Avoid variables with short names like cr 992
Avoid excessively long variable names like packageInfoJavaFileName 1011
Avoid excessively long variable names like packageInfoJavaFile 1018
StringBuffer constructor is initialized with size 16, but has at least 195 characters appended. 1019
Avoid appending characters as strings in StringBuffer.append. 1022
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. 1024 - 1025
Avoid appending characters as strings in StringBuffer.append. 1026
Avoid appending characters as strings in StringBuffer.append. 1029
Avoid excessively long variable names like mapOperationsMethod 1063
Avoid excessively long variable names like methodSignatureList 1070
Avoid variables with short names like ok 1081
Avoid excessively long variable names like methodSignatureList 1104
Avoid excessively long variable names like methodSignatureList 1140
Avoid variables with short names like cw 1142
Avoid variables with short names like cc 1143
Avoid variables with short names like sw 1144
Avoid variables with short names like tv 1145
Avoid variables with short names like cv 1148
Avoid variables with short names like cr 1154
Avoid excessively long variable names like fieldsInterfacetype 1185
Avoid variables with short names like cw 1192
Avoid variables with short names like cc 1193
Avoid variables with short names like sw 1194
Avoid variables with short names like tv 1195
Avoid variables with short names like cv 1198
Avoid variables with short names like cr 1200
Avoid variables with short names like s 1235
The String literal "\n\n" appears 5 times in this file; the first occurrence is on line 1,457 1457
Avoid variables with short names like pw 1470

it/imolinfo/jbi4corba/webservice/generator/ServerCorbaClassesHolder.java

Violation Line
Too many fields 28 - 329
Avoid excessively long variable names like webServiceInterface 30
Avoid excessively long variable names like generateClassesFromIDL 35
Avoid excessively long variable names like originalClassLoader 44
Avoid excessively long variable names like valueTypeIdAndInstance 50
Avoid excessively long variable names like substitutedUnionFields 60
Avoid unused private fields such as 'substitutedInterfaceFields'. 66
Avoid excessively long variable names like substitutedInterfaceFields 66
Avoid excessively long variable names like valueTypeIdAndInstance 109
Avoid excessively long variable names like webServiceInterface 151
Ensure you override both equals() and hashCode() 166
Avoid excessively long variable names like generateClassesFromIDL 226
Avoid excessively long variable names like originalClassLoader 244
Avoid excessively long variable names like substitutedUnionFields 262
Avoid excessively long variable names like substitutedInterfaceFields 275

it/imolinfo/jbi4corba/webservice/generator/TypeAdditionalInformation.java

Violation Line
It is somewhat confusing to have a field name with the same name as a method 20

it/imolinfo/jbi4corba/webservice/generator/TypeUtils.java

Violation Line
Abstract classes should be named AbstractXXX 44 - 933
This class has too many methods, consider refactoring it. 44 - 933
The class 'TypeUtils' has a Cyclomatic Complexity of 4 (Highest = 25). 44 - 933
Avoid excessively long variable names like PRIMITIVE_NAME_TYPE_MAP 50
Avoid excessively long variable names like PRIMITIVE_JAVA_PARAMETER_SIGN 51
Avoid excessively long variable names like PRIMITIVE_JAVA_LANG_TYPE_MAP 52
Avoid using if statements without curly braces 141 - 142
Avoid variables with short names like st 146
Avoid using if...else statements without curly braces 168
Avoid using if statements without curly braces 171 - 172
The String literal "Helper" appears 7 times in this file; the first occurrence is on line 192 192
Avoid using if...else statements without curly braces 198
The method encloseCorbaTypeInAny() has an NPath complexity of 789 213 - 316
Avoid really long methods. 213 - 316
The method 'encloseCorbaTypeInAny' has a Cyclomatic Complexity of 25. 213 - 316
The method 'extractCorbaTypeFromAny' has a Cyclomatic Complexity of 12. 328 - 392
The method 'readCorbaTypeFromAnyInputStream' has a Cyclomatic Complexity of 10. 403 - 447
Avoid variables with short names like st 456
Avoid using if statements without curly braces 497 - 498
Avoid using if statements without curly braces 501 - 502
Avoid using if statements without curly braces 504 - 505
Avoid excessively long variable names like interfaceClassType 576
Avoid excessively long variable names like classWithInterfacePackage 590
Avoid using if statements without curly braces 671 - 672
Avoid variables with short names like cl 686
Avoid variables with short names like sb 692
Avoid using if statements without curly braces 739 - 740
Avoid using if statements without curly braces 771 - 772
String.indexOf(char) is faster than String.indexOf(String). 789
Avoid variables with short names like ch 794
String.indexOf(char) is faster than String.indexOf(String). 845
Avoid appending characters as strings in StringBuffer.append. 859
String.indexOf(char) is faster than String.indexOf(String). 874
Avoid using if...else statements without curly braces 876
Avoid using if statements without curly braces 890 - 891
Avoid variables with short names like tc 902

it/imolinfo/jbi4corba/webservice/generator/UnionTypeClassAdapter.java

Violation Line
Avoid using if statements without curly braces 34 - 35

it/imolinfo/jbi4corba/webservice/generator/UnionTypeUtils.java

Violation Line
The class 'UnionTypeUtils' has a Cyclomatic Complexity of 4 (Highest = 11). 35 - 361
Avoid excessively long variable names like UNION_WRAPPER_FIELD 39
Avoid variables with short names like ut 53
Avoid unused private methods such as 'invokeMethod(Class,String)'. 121
Avoid variables with short names like cw 161
Avoid variables with short names like fv 162
Avoid variables with short names like mv 163
String.indexOf(char) is faster than String.indexOf(String). 166
The String literal "Wrapper" appears 4 times in this file; the first occurrence is on line 168 168
The method 'replaceUnionTypesInMethodSignature' has a Cyclomatic Complexity of 11. 283 - 349
String.indexOf(char) is faster than String.indexOf(String). 289
Avoid using if statements without curly braces 291 - 292
Avoid variables with short names like ut 300
Avoid using if statements without curly braces 319 - 320
Avoid using if statements without curly braces 324 - 325

it/imolinfo/jbi4corba/webservice/generator/Util.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 2987
This class has a bunch of public methods and attributes 8 - 2987
Avoid unused imports such as 'it.imolinfo.jbi4corba.utils.HelperFileUtil' 14
This class has too many methods, consider refactoring it. 59 - 2987
Avoid really long classes. 59 - 2987
The class 'Util' has a Cyclomatic Complexity of 4 (Highest = 16). 59 - 2987
Avoid excessively long variable names like CLASS_FILE_EXTENSION 61
Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 71
Avoid variables with short names like cp 110
Avoid variables with short names like cp 145
The String literal "CRB000528_Error_compiling_classes" appears 4 times in this file; the first occurrence is on line 248 248
Avoid variables with short names like x 291
The String literal "The file " appears 5 times in this file; the first occurrence is on line 356 356
Avoid excessively long variable names like filterAcceptExtension 465
Avoid excessively long variable names like innerFilteredFiles 495
The method compileJavaClasses() has an NPath complexity of 288 561 - 701
Avoid really long methods. 561 - 701
The method 'compileJavaClasses' has a Cyclomatic Complexity of 11. 561 - 701
Avoid variables with short names like f 597
Avoid excessively long variable names like corbaOperationsSourceFileList 720
Avoid excessively long variable names like methodSignatureList 745
Avoid using implementation types like 'HashMap'; use the interface instead 809
Avoid variables with short names like id 820
Avoid using if statements without curly braces 831 - 832
Avoid using if statements without curly braces 861 - 862
The String literal "ClassesDir.getAbsolutePath=" appears 5 times in this file; the first occurrence is on line 884 884
Avoid variables with short names like u 888
The String literal "url classloader: " appears 5 times in this file; the first occurrence is on line 892 892
The String literal "class name: " appears 5 times in this file; the first occurrence is on line 898 898
The String literal "CRB000533_Could_not_instantiate_url_class_loader" appears 12 times in this file; the first occurrence is on line 905 905
Avoid variables with short names like u 941
Avoid variables with short names like u 1044
Avoid variables with short names like u 1119
The String literal "CRB000534_Could_not_instantiate_class" appears 4 times in this file; the first occurrence is on line 1,189 1189
Avoid variables with short names like cr 1288
Avoid variables with short names like cr 1310
Avoid variables with short names like fw 1410
The String literal "CRB000539_Saving_file_problem" appears 4 times in this file; the first occurrence is on line 1,418 1418
Avoid variables with short names like fw 1447
Avoid variables with short names like x 1503
String.indexOf(char) is faster than String.indexOf(String). 1505 - 1506
String.indexOf(char) is faster than String.indexOf(String). 1508
Avoid variables with short names like pt 1511
The String literal "}\n" appears 6 times in this file; the first occurrence is on line 1,568 1568
The String literal "package " appears 5 times in this file; the first occurrence is on line 1,575 1575
The String literal "public class " appears 4 times in this file; the first occurrence is on line 1,575 1575
Avoid variables with short names like s 1596
Avoid variables with short names like s 1628
Avoid variables with short names like bd 1662
Avoid variables with short names like fn 1663
Avoid variables with short names like bd 1708
Avoid variables with short names like fn 1709
Avoid variables with short names like cl 1735
Avoid excessively long variable names like valueTypeDefaultFactoryInstance 1750
Avoid variables with short names like cl 1779
Avoid excessively long variable names like valueTypeDefaultFactoryInstance 1794
Avoid variables with short names like cl 1819
Avoid variables with short names like c 1825
The String literal "CRB000524_Error_creating_an_instance_of" appears 6 times in this file; the first occurrence is on line 1,833 1833
Avoid variables with short names like o 1839
Avoid variables with short names like cl 1873
Avoid variables with short names like c 1877
The String literal "CRB000525_Error_getting_the_value_type_id_from_class" appears 12 times in this file; the first occurrence is on line 1,883 1883
Avoid variables with short names like o 1891
Avoid excessively long variable names like newSerialVersionUid 2055
Avoid variables with short names like cw 2057
Avoid variables with short names like cc 2058
Avoid variables with short names like sw 2059
Avoid variables with short names like tv 2060
Avoid variables with short names like cv 2062
Avoid variables with short names like cr 2065
The String literal "ClassReader.accept ... done" appears 4 times in this file; the first occurrence is on line 2,068 2068
Avoid variables with short names like cw 2093
Avoid variables with short names like cc 2094
Avoid variables with short names like sw 2095
Avoid variables with short names like tv 2096
Avoid variables with short names like cv 2098
Avoid variables with short names like cr 2100
Avoid variables with short names like cw 2162
Avoid variables with short names like cc 2163
Avoid variables with short names like sw 2164
Avoid variables with short names like cv 2165
Avoid variables with short names like ca 2167
Avoid variables with short names like cr 2169
Avoid appending characters as strings in StringBuffer.append. 2279
Avoid concatenating nonliterals in a StringBuffer constructor or append(). 2284
Avoid concatenating nonliterals in a StringBuffer constructor or append(). 2286
StringBuffer constructor is initialized with size 16, but has at least 31 characters appended. 2291
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2294
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2294
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2294
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2295
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2295
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2295
Avoid appending characters as strings in StringBuffer.append. 2298
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2298
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2298
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2298
Avoid appending characters as strings in StringBuffer.append. 2299
StringBuffer constructor is initialized with size 16, but has at least 193 characters appended. 2301
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. 2302
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. 2302
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. 2302
The String literal "\n\n" appears 14 times in this file; the first occurrence is on line 2,303 2303
Avoid concatenating nonliterals in a StringBuffer constructor or append(). 2304
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2305
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2305
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2305
StringBuffer.append is called 4 consecutive times with literal Strings. Use a single append with a single String. 2308
StringBuffer.append is called 4 consecutive times with literal Strings. Use a single append with a single String. 2308
StringBuffer.append is called 4 consecutive times with literal Strings. Use a single append with a single String. 2308
Avoid concatenating nonliterals in a StringBuffer constructor or append(). 2311
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2312 - 2313
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2312 - 2313
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. 2312 - 2313
Avoid appending characters as strings in StringBuffer.append. 2316
Avoid variables with short names like cw 2346
Avoid variables with short names like cc 2347
Avoid variables with short names like sw 2348
Avoid variables with short names like cv 2349
Avoid variables with short names like ca 2351
Avoid variables with short names like cr 2353
The method generateImplementationClass() has an NPath complexity of 432 2391 - 2513
Avoid really long methods. 2391 - 2513
The method 'generateImplementationClass' has a Cyclomatic Complexity of 11. 2391 - 2513
The String literal "CRB000552_ClassNotFound" appears 4 times in this file; the first occurrence is on line 2,421 2421
Avoid variables with short names like ms 2457
Avoid really long methods. 2603 - 2707
The method 'generateTheBodyOfTheMethodForImplTie' has a Cyclomatic Complexity of 16. 2603 - 2707
Avoid excessively long variable names like sThrowsStatementWithMesssage 2607
Avoid variables with short names like ex 2658
Avoid empty if statements 2714 - 2716
Avoid empty if statements 2723 - 2725
Avoid variables with short names like in 2876
Avoid variables with short names like u 2948
Avoid using if statements without curly braces 2973 - 2974
Avoid using if...else statements without curly braces 2984

it/imolinfo/jbi4corba/webservice/generator/UtilClassCollector.java

Violation Line
Avoid unused private methods such as 'exctraxtTypesFromConstructor(Class,List)'. 164 - 165
Avoid variables with short names like ft 197

it/imolinfo/jbi4corba/webservice/generator/UtilJavaSourceParsing.java

Violation Line
The class 'UtilJavaSourceParsing' has a Cyclomatic Complexity of 18 (Highest = 116). 34 - 557
Avoid variables with short names like fc 83
Avoid excessively long variable names like methodSignatureList 108
Avoid excessively long variable names like methodSignatureList 123
Avoid variables with short names like in 230
Avoid unused private methods such as 'tokenTypeToString(int)'. 245
Avoid variables with short names like tt 245
Avoid really long methods. 245 - 418
The method 'tokenTypeToString' has a Cyclomatic Complexity of 116. 245 - 418
The method tokenTypeToString() has an NCSS line count of 233 245 - 418
These nested if statements could be combined 431 - 433
The method 'getParamFromNode' has a Cyclomatic Complexity of 16. 446 - 519

it/imolinfo/jbi4corba/webservice/generator/WSDLDescriptor.java

Violation Line
Avoid excessively long variable names like persistentConsumer 33
Avoid throwing null pointer exceptions. 53
Avoid throwing null pointer exceptions. 58
Avoid throwing null pointer exceptions. 63
Avoid throwing null pointer exceptions. 68
Avoid excessively long variable names like persistentConsumer 138

it/imolinfo/jbi4corba/webservice/generator/WSDLGenerator.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 1076
This class has too many methods, consider refactoring it. 92 - 1076
The class 'WSDLGenerator' has a Cyclomatic Complexity of 5 (Highest = 15). 92 - 1076
The method generateWSDLListfromIDL() has an NPath complexity of 2888 252 - 499
Avoid really long methods. 252 - 499
The method 'generateWSDLListfromIDL' has a Cyclomatic Complexity of 15. 252 - 499
The method generateWSDLListfromIDL() has an NCSS line count of 121 252 - 499
Avoid using implementation types like 'ArrayList'; use the interface instead 253
Avoid excessively long variable names like idlTodisableImportUrl 261
Avoid variables with short names like bo 401
Avoid variables with short names like op 402
Avoid variables with short names like in 403
Avoid really long methods. 521 - 639
The method 'createRemoveXSD' has a Cyclomatic Complexity of 12. 688 - 783
Avoid variables with short names like el 751
The String literal "Operations.java" appears 4 times in this file; the first occurrence is on line 833 833
Avoid variables with short names like f 919
The String literal "CRB000554_Error_during_wsdl_parsing" appears 6 times in this file; the first occurrence is on line 981 981
Avoid variables with short names like el 1058

it/imolinfo/jbi4corba/webservice/generator/WsdlInformation.java

Violation Line
Avoid excessively long variable names like serviceAndPortType 30
Avoid excessively long variable names like asynchOperationMap 36
Avoid excessively long variable names like asynchOperationMap 68
Avoid excessively long variable names like serviceAndPortType 85

it/imolinfo/jbi4corba/webservice/generator/bcm/AddExceptionSuperclass.java

Violation Line
Avoid variables with short names like cv 35
Avoid excessively long variable names like javaLangExceptionClassName 60

it/imolinfo/jbi4corba/webservice/generator/bcm/AnnotationCollectorAdapter.java

Violation Line
Avoid variables with short names like cv 58
Avoid variables with short names like cw 58
Avoid variables with short names like cn 58
Avoid variables with short names like av 86
Avoid variables with short names like mv 113
Avoid variables with short names like fv 136

it/imolinfo/jbi4corba/webservice/generator/bcm/AnnotationCollectorFieldVisitor.java

Violation Line
Avoid variables with short names like av 63

it/imolinfo/jbi4corba/webservice/generator/bcm/AnnotationCollectorMethodVisitor.java

Violation Line
Avoid variables with short names like av 61

it/imolinfo/jbi4corba/webservice/generator/bcm/AnnotationCollectorVisitor.java

Violation Line
The String literal "name=" appears 4 times in this file; the first occurrence is on line 49 49
Avoid variables with short names like av 51
Avoid variables with short names like av 71
Avoid excessively long variable names like annotationCollectorVisitor 79
Avoid variables with short names like av 97
Avoid excessively long variable names like annotationCollectorVisitor 104
Avoid variables with short names like av 123

it/imolinfo/jbi4corba/webservice/generator/bcm/AnnotationValue.java

Violation Line
Avoid excessively long variable names like ANNOTATION_VISIT_ANNOTATION 21
Avoid excessively long variable names like ANNOTATION_VISIT_ARRAY 22
Avoid excessively long variable names like ANNOTATION_VISIT_ENUM 23
Avoid excessively long variable names like nestedAnnotationValue 30

it/imolinfo/jbi4corba/webservice/generator/bcm/AnnotationWriterAdapter.java

Violation Line
Avoid variables with short names like cv 55
Avoid excessively long variable names like annotationVisibleAndValue 89
Avoid excessively long variable names like annotationVisibleAndValue 137
Avoid excessively long variable names like annotationVisibleAndValue 182

it/imolinfo/jbi4corba/webservice/generator/bcm/AnnotationsMaps.java

Violation Line
Avoid excessively long variable names like annotationOnMethod 28

it/imolinfo/jbi4corba/webservice/generator/bcm/AppenderMethodVisitor.java

Violation Line
Avoid variables with short names like mv 61
Avoid variables with short names like i 82
Avoid variables with short names like k 84
Avoid variables with short names like v 85
Avoid variables with short names like mv 104
String.indexOf(char) is faster than String.indexOf(String). 127
String.indexOf(char) is faster than String.indexOf(String). 129
String.indexOf(char) is faster than String.indexOf(String). 133
Avoid variables with short names like s 193

it/imolinfo/jbi4corba/webservice/generator/bcm/ByteCodeManipulationUtil.java

Violation Line
Avoid excessively long variable names like JAXB_XML_ATTRIBUTE 45
Avoid variables with short names like cn 60
Avoid throwing null pointer exceptions. 65
Avoid excessively long variable names like suffixLengthToRemove 70
Avoid variables with short names like mv 104
Avoid variables with short names like mv 148
Avoid variables with short names like av 157
Avoid variables with short names like mv 191
Avoid variables with short names like mv 227

it/imolinfo/jbi4corba/webservice/generator/bcm/ConstructorAdapter.java

Violation Line
Avoid variables with short names like cv 56
Avoid variables with short names like cw 56
Avoid variables with short names like cn 56
Avoid variables with short names like mv 131
String.indexOf(char) is faster than String.indexOf(String). 160
String.indexOf(char) is faster than String.indexOf(String). 161
Overriding method merely calls super 194 - 197

it/imolinfo/jbi4corba/webservice/generator/bcm/ConstructorModMethodVisitor.java

Violation Line
Avoid unused private fields such as 'className'. 40
Avoid unused private fields such as 'bcmUtil'. 43
Avoid variables with short names like mv 55

it/imolinfo/jbi4corba/webservice/generator/bcm/CorbaEnumAdapter.java

Violation Line
Avoid variables with short names like cv 45
Avoid excessively long variable names like __arrayFieldAccess 117

it/imolinfo/jbi4corba/webservice/generator/bcm/CorbaOnewayAdapter.java

Violation Line
Avoid excessively long variable names like associatedInterface 35
Avoid excessively long variable names like onewayOperationList 38
Avoid variables with short names like cv 50
Avoid variables with short names like cw 50
Avoid excessively long variable names like corbaOnewayMethodVisitor 134
Avoid variables with short names like mv 139
Avoid excessively long variable names like onewayOperationList 177
Avoid excessively long variable names like associatedInterface 191

it/imolinfo/jbi4corba/webservice/generator/bcm/CorbaOnewayMethodVisitor.java

Violation Line
Avoid excessively long variable names like onewayOperationList 36
Avoid excessively long variable names like aOnewayOperationList 49

it/imolinfo/jbi4corba/webservice/generator/bcm/IdlToWsdlAdapter.java

Violation Line
The class 'IdlToWsdlAdapter' has a Cyclomatic Complexity of 6 (Highest = 16). 48 - 404
Avoid excessively long variable names like JAXB_XML_ACCESSOR_TYPE 56
Avoid excessively long variable names like JAXB_XML_ACCESS_TYPE 58
Avoid excessively long variable names like PROPERTY_ACCESS_TYPE 62
Avoid excessively long variable names like areClassAnnotationsPresent 77
Avoid excessively long variable names like fieldsInterfaceTypes 88
Avoid variables with short names like cv 101
Avoid variables with short names like cw 101
Avoid variables with short names like cn 101
Avoid variables with short names like av 186
Avoid variables with short names like mv 239
Avoid using if...else statements without curly braces 261
Avoid using if...else statements without curly braces 263
Avoid using if...else statements without curly braces 266
Avoid using if...else statements without curly braces 268
Avoid using if statements without curly braces 272 - 273
The method visitField() has an NPath complexity of 2916 301 - 371
The method 'visitField' has a Cyclomatic Complexity of 16. 301 - 371
Avoid using if...else statements without curly braces 332
Avoid using if...else statements without curly braces 334
Avoid variables with short names like fv 347

it/imolinfo/jbi4corba/webservice/generator/bcm/InterfaceTypeClassAdapter.java

Violation Line
Avoid unused private fields such as 'W3CEPR'. 30
Avoid unused private fields such as 'W3CEPRA'. 32
These nested if statements could be combined 49 - 52

it/imolinfo/jbi4corba/webservice/generator/bcm/InternalMethodDescriptionParser.java

Violation Line
The class 'InternalMethodDescriptionParser' has a Cyclomatic Complexity of 4 (Highest = 13). 37 - 114
Avoid excessively long variable names like methodDescriptionTail 41
The method 'getNextParam' has a Cyclomatic Complexity of 13. 75 - 103
Avoid excessively long variable names like methodDescriptionTail 109

it/imolinfo/jbi4corba/webservice/generator/bcm/ReplaceAnyMethodVisitor.java

Violation Line
Avoid variables with short names like mv 39

it/imolinfo/jbi4corba/webservice/generator/bcm/ReplaceUnionsMethodVisitor.java

Violation Line
Avoid variables with short names like mv 49

it/imolinfo/jbi4corba/webservice/generator/bcm/SerializableDecorationAdapter.java

Violation Line
Avoid excessively long variable names like newSerialVersionUid 33
Avoid variables with short names like cv 41
Avoid excessively long variable names like aNewSerialVersionUid 42

it/imolinfo/jbi4corba/webservice/generator/bcm/SerializableInspectorAdapter.java

Violation Line
Avoid excessively long variable names like INTERNAL_NAME_OF_SERIALIZABLE 32
Avoid excessively long variable names like FIELDNAME_SERIAL_VERSION_UID 38
Avoid variables with short names like cv 57

it/imolinfo/jbi4corba/webservice/generator/bcm/UIDAdapter.java

Violation Line
Avoid excessively long variable names like newSerialVersionUID 41
Avoid variables with short names like cv 51
Avoid variables with short names like cw 52

it/imolinfo/jbi4corba/webservice/generator/bcm/ValueTypeAdapter.java

Violation Line
Avoid variables with short names like cv 52
Avoid variables with short names like cw 52
Avoid variables with short names like cn 52
These nested if statements could be combined 162 - 166

it/imolinfo/jbi4corba/webservice/generator/bcm/WebServiceAnnotationAdapter.java

Violation Line
The class 'WebServiceAnnotationAdapter' has a Cyclomatic Complexity of 4 (Highest = 13). 41 - 691
Avoid excessively long variable names like JSR181_WEB_SERVICE 70
Avoid excessively long variable names like JSR181_WEB_PARAM_MODE 126
Avoid excessively long variable names like JSR181_WEB_PARAM_MODE_INOUT 127
Avoid excessively long variable names like JAVAX_XML_WS_HOLDER_TYPE 129
Avoid excessively long variable names like JAVAX_XML_WS_HOLDER_TYPE_CANONICAL_NAME 130
Avoid excessively long variable names like JAVAX_XML_WS_HOLDER_TYPE_NO_SEMICOLON 131
Avoid excessively long variable names like JSR181_SOAP_BINDING 132
Avoid excessively long variable names like JAXB_XML_SEE_ALSO_ANNOTATOIN 133
Avoid excessively long variable names like JSR181_SOAP_BINDING_USE 134
Avoid excessively long variable names like JSR181_SOAP_BINDING_STYLE 135
Avoid excessively long variable names like noAnnotatedMethods 148
Avoid excessively long variable names like methodSignatureList 168
Avoid excessively long variable names like areClassAnnotationsPresent 169
Avoid variables with short names like cv 186
Avoid variables with short names like cw 186
Avoid variables with short names like ns 187
Avoid excessively long variable names like aMethodSignatureList 187
The method addAnnotation() has an NPath complexity of 641 232 - 325
The method 'addAnnotation' has a Cyclomatic Complexity of 13. 232 - 325
Avoid variables with short names like av 236
The String literal "name" appears 4 times in this file; the first occurrence is on line 241 241
String.indexOf(char) is faster than String.indexOf(String). 243
Avoid variables with short names like sd 364
Avoid variables with short names like mv 371
Avoid variables with short names like av 445
Avoid variables with short names like av 490
Avoid variables with short names like av 523
Avoid excessively long variable names like newMethodDescription 591
Avoid excessively long variable names like newMethodSignature 592
Avoid excessively long variable names like paramTypeDescriptor 608
Avoid excessively long variable names like holderValueTypeStr 609
Avoid excessively long variable names like newHolderParamName 638
Avoid appending characters as strings in StringBuffer.append. 654
Avoid appending characters as strings in StringBuffer.append. 655

it/imolinfo/jbi4corba/webservice/generator/bcm/WsdlToCorbaAdapter.java

Violation Line
Avoid variables with short names like cv 59
Avoid variables with short names like cw 60
Avoid variables with short names like cn 61
Avoid variables with short names like c 189

it/imolinfo/jbi4corba/webservice/generator/typedef/ComplexArrayTypeDef.java

Violation Line
Avoid variables with short names like id 54
Avoid really long methods. 59 - 164
Avoid excessively long variable names like aliasedClassDescriptor 63
Avoid unused local variables such as 'helperDescriptor'. 67
Avoid unused local variables such as 'javaLangClassDescriptor'. 70
Avoid excessively long variable names like javaLangClassDescriptor 70
Avoid excessively long variable names like javaLangObjectInternalName 71
Avoid excessively long variable names like xmlAccessorTypeDescriptor 72
Avoid excessively long variable names like xmlElementDescriptor 73
Avoid excessively long variable names like xmlAccessTypeDescriptor 74
Avoid unused local variables such as 'xmlTransientDescriptor'. 75
Avoid excessively long variable names like xmlTransientDescriptor 75
Avoid variables with short names like cw 77
Avoid variables with short names like av 84
Avoid variables with short names like fv 106

it/imolinfo/jbi4corba/webservice/generator/typedef/ComplexTypeDef.java

Violation Line
Avoid unused imports such as 'java.lang.reflect.InvocationTargetException' 12
Avoid unused imports such as 'java.lang.reflect.Method' 13
Avoid unused imports such as 'org.objectweb.asm.FieldVisitor' 23
Avoid unused imports such as 'org.omg.CORBA.Any' 30
Avoid variables with short names like id 61
Avoid variables with short names like cw 76
Avoid variables with short names like cc 77
Avoid variables with short names like sw 78
Avoid variables with short names like tv 79
Avoid variables with short names like cr 82
Avoid excessively long variable names like aliasedclassInternalName 97
Avoid unused local variables such as 'helperDescriptor'. 101
Avoid unused local variables such as 'javaLangClassDescriptor'. 104
Avoid excessively long variable names like javaLangClassDescriptor 104
Avoid excessively long variable names like xmlAccessorTypeDescriptor 105
Avoid excessively long variable names like xmlAccessTypeDescriptor 106
Avoid unused local variables such as 'xmlTransientDescriptor'. 107
Avoid excessively long variable names like xmlTransientDescriptor 107
Avoid variables with short names like cw 109
Avoid variables with short names like av 115

it/imolinfo/jbi4corba/webservice/generator/typedef/RemoveFinalAdapter.java

Violation Line
Avoid variables with short names like cv 24

it/imolinfo/jbi4corba/webservice/generator/typedef/SimpleTypeDef.java

Violation Line
Avoid variables with short names like id 69
Avoid really long methods. 77 - 190
Avoid excessively long variable names like aliasedClassDescriptor 84
Avoid unused local variables such as 'objectArrayClassDescriptor'. 85
Avoid excessively long variable names like objectArrayClassDescriptor 85
Avoid unused local variables such as 'helperDescriptor'. 89
Avoid unused local variables such as 'javaLangClassDescriptor'. 92
Avoid excessively long variable names like javaLangClassDescriptor 92
Avoid excessively long variable names like javaLangObjectInternalName 93
Avoid excessively long variable names like xmlValueDescriptor 95
Avoid unused local variables such as 'xmlTransientDescriptor'. 96
Avoid excessively long variable names like xmlTransientDescriptor 96
Avoid variables with short names like cw 98
Avoid variables with short names like av 104
Avoid variables with short names like fv 124
The String literal "value" appears 4 times in this file; the first occurrence is on line 130 130
Avoid excessively long variable names like aliasedClassCorrectCL 204
Avoid variables with short names like ob 205

it/imolinfo/jbi4corba/webservice/generator/typedef/TypeDef.java

Violation Line
Abstract classes should be named AbstractXXX 23 - 116
Avoid variables with short names like id 42
Avoid variables with short names like id 44
Avoid variables with short names like bf 69
StringBuffer constructor is initialized with size 16, but has at least 36 characters appended. 69
Avoid appending characters as strings in StringBuffer.append. 72

it/imolinfo/jbi4corba/webservice/generator/typedef/TypeDefFactory.java

Violation Line
The class 'TypeDefFactory' has a Cyclomatic Complexity of 16 (Highest = 15). 18 - 125
The method getTypeDef() has an NPath complexity of 1600 33 - 124
The method 'getTypeDef' has a Cyclomatic Complexity of 15. 33 - 124
Avoid variables with short names like id 40
The String literal "CRB001103_Error_recovering_extract_method_from_helper" appears 4 times in this file; the first occurrence is on line 45 45

it/imolinfo/jbi4corba/webservice/generator/typedef/TypeDefUtil.java

Violation Line
Avoid unused imports such as 'it.imolinfo.jbi4corba.webservice.generator.TypeUtils' 8
Avoid excessively long variable names like typeDefHelperClassName 84
Avoid variables with short names like id 132
Avoid variables with short names like it 133

it/imolinfo/jbi4corba/webservice/runtime/ConsumerInvocationHandler.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 1730
This class has too many methods, consider refactoring it. 107 - 1730
Avoid really long classes. 107 - 1730
The class 'ConsumerInvocationHandler' has a Cyclomatic Complexity of 7 (Highest = 29). 107 - 1730
Avoid excessively long variable names like TRANSFORMER_FACTORY 121
Avoid excessively long variable names like consumerServiceDescriptor 131
Avoid variables with short names like ei 141
Avoid variables with short names like ep 143
Avoid variables with short names like sd 158
The constructor 'ConsumerInvocationHandler' has a Cyclomatic Complexity of 11. 158 - 301
Avoid variables with short names like md 248
Avoid variables with short names like it 251
The method invoke() has an NPath complexity of 13737 320 - 555
Avoid really long methods. 320 - 555
The method 'invoke' has a Cyclomatic Complexity of 23. 320 - 555
The method invoke() has an NCSS line count of 102 320 - 555
Avoid instantiating String objects; this is usually unnecessary. 344
Avoid throwing raw exception types. 467
Avoid variables with short names like o 494
A catch statement should never catch throwable since it includes errors. 524
Avoid using exceptions as flow control. 524
A catch statement should never catch throwable since it includes errors. 539
Avoid using exceptions as flow control. 539
The method exchangeInOnly() has an NPath complexity of 4704 573 - 723
Avoid really long methods. 573 - 723
The method 'exchangeInOnly' has a Cyclomatic Complexity of 19. 573 - 723
The String literal "CRB000701_Unable_to_create_message_from_exchange" appears 4 times in this file; the first occurrence is on line 589 589
The String literal "CRB000744_MessageWrapping_Error" appears 4 times in this file; the first occurrence is on line 608 608
The String literal "CRB000745_NormalizedMessageSetContent_Error" appears 4 times in this file; the first occurrence is on line 622 622
The String literal "CRB000743_XML_toString_Error" appears 40 times in this file; the first occurrence is on line 634 634
The String literal "CRB000703_Unable_to_set_message_in_exchange" appears 4 times in this file; the first occurrence is on line 666 666
The String literal "CRB000704_Unable_to_send_exchange_with_endpoint" appears 8 times in this file; the first occurrence is on line 713 713
The method exchangeInOut() has an NPath complexity of 56448 741 - 964
Avoid really long methods. 741 - 964
The method 'exchangeInOut' has a Cyclomatic Complexity of 29. 741 - 964
The method exchangeInOut() has an NCSS line count of 137 741 - 964
The String literal "CRB000746_SetExchangeStatus_Error" appears 12 times in this file; the first occurrence is on line 911 911
A throw statement in a finally block makes the control flow hard to understand. 941 - 958
The String literal "CRB000710_Unable_to_set_status_DONE_for_exchange" appears 4 times in this file; the first occurrence is on line 987 987
Avoid excessively long variable names like messageDenormalizer 1022
Avoid throwing null pointer exceptions. 1059
Avoid instantiating String objects; this is usually unnecessary. 1063
Avoid excessively long variable names like messageDenormalizer 1069
The String literal "Channel:" appears 4 times in this file; the first occurrence is on line 1,110 1110
The method fromXMLToObject() has an NPath complexity of 480 1171 - 1295
Avoid really long methods. 1171 - 1295
The method 'fromXMLToObject' has a Cyclomatic Complexity of 12. 1171 - 1295
Avoid variables with short names like md 1184
Avoid excessively long variable names like inInterceptorChain 1230
Avoid variables with short names like md 1322
Avoid excessively long variable names like faultInterceptorChain 1369
Avoid variables with short names like th 1379
Avoid variables with short names like wi 1446
Avoid variables with short names like ep 1475
Avoid excessively long variable names like outInterceptorChain 1513
The String literal "CRB000719_Unable_to_get_delivery_channel_from_context" appears 4 times in this file; the first occurrence is on line 1,560 1560
The String literal "CRB000720_Unable_to_create_exchange_from_factory" appears 4 times in this file; the first occurrence is on line 1,574 1574
A method/constructor shouldn't explicitly throw java.lang.Exception 1632

it/imolinfo/jbi4corba/webservice/runtime/ConsumerServiceCreator.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 1008
Avoid unused imports such as 'java.util.logging.Level' 28
The class 'ConsumerServiceCreator' has a Cyclomatic Complexity of 6 (Highest = 18). 54 - 1008
Avoid excessively long variable names like LOCALIZATION_NAMESERVICE 60
Avoid excessively long variable names like JBI4CORBA_PERSISENT_POA_NAME 62
Avoid excessively long variable names like JBI4CORBA_OBJECT_ID 63
The method createJbiService() has an NPath complexity of 578 203 - 392
Avoid really long methods. 203 - 392
The method 'createJbiService' has a Cyclomatic Complexity of 18. 203 - 392
The method createJbiService() has an NCSS line count of 111 203 - 392
Avoid excessively long variable names like consumerServiceDescriptor 204
Avoid excessively long variable names like serverCorbaClassesHolder 211
These nested if statements could be combined 230 - 236
These nested if statements could be combined 231 - 235
Avoid excessively long variable names like consumerInvocationHandler 249
Avoid excessively long variable names like corbaImplConstructor 255
Avoid variables with short names like vf 270
The String literal "CRB000722_Unable_to_instantiate_resolve_RootPOA" appears 4 times in this file; the first occurrence is on line 310 310
The String literal "CRB000770_Peristent_poa_initialization_failed" appears 4 times in this file; the first occurrence is on line 314 314
The String literal "CRB000771_Unable_to_activate_servant_with_peristent_poa" appears 6 times in this file; the first occurrence is on line 339 339
Avoid excessively long variable names like consumerInvocationHandler 362
Avoid excessively long variable names like corbaImplConstructor 368
The String literal "setTarget(java.rmi.Remote)" appears 5 times in this file; the first occurrence is on line 420 420
The String literal "CRB000741_CreatingMethodError" appears 8 times in this file; the first occurrence is on line 424 424
The String literal "CRB000742_InvokingMethodError" appears 12 times in this file; the first occurrence is on line 450 450
The String literal "orb(org.omg.CORBA.ORB)" appears 5 times in this file; the first occurrence is on line 498 498
The String literal "CRB000723_Unable_to_create_constructor" appears 12 times in this file; the first occurrence is on line 575 575
The String literal "default constructor" appears 5 times in this file; the first occurrence is on line 650 650
The String literal "CRB000724_Unable_to_instatiate_object" appears 18 times in this file; the first occurrence is on line 652 652
The String literal "CRB000725_Exception_calling_constructor" appears 6 times in this file; the first occurrence is on line 674 674
Avoid really long methods. 740 - 854
The method 'createJbiServicePRE' has a Cyclomatic Complexity of 11. 740 - 854
Avoid excessively long variable names like consumerServiceDescriptor 741
Avoid excessively long variable names like serverCorbaClassesHolder 744
Avoid excessively long variable names like consumerInvocationHandler 746
Avoid variables with short names like vf 787
Avoid excessively long variable names like consumerServiceDescriptor 862
Avoid excessively long variable names like consumerServiceDescriptor 907
Avoid variables with short names like pw 923
Avoid excessively long variable names like consumerServiceDescriptor 946

it/imolinfo/jbi4corba/webservice/runtime/CorbaTransformationUtils.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 8 - 2558
Avoid unused imports such as 'org.apache.commons.lang.builder.ToStringBuilder' 51
This class has too many methods, consider refactoring it. 78 - 2558
Avoid really long classes. 78 - 2558
The class 'CorbaTransformationUtils' has a Cyclomatic Complexity of 15 (Highest = 107). 78 - 2558
The method changeFromCorbaToServiceObject() has an NPath complexity of 1344 107 - 190
The method 'changeFromCorbaToServiceObject' has a Cyclomatic Complexity of 15. 107 - 190
These nested if statements could be combined 144 - 146
The String literal "Wrapper" appears 6 times in this file; the first occurrence is on line 152 152
Avoid unused local variables such as 'serviceObject'. 266
The method changeFromServiceToCorbaObject() has an NPath complexity of 2168 301 - 431
Avoid really long methods. 301 - 431
The method 'changeFromServiceToCorbaObject' has a Cyclomatic Complexity of 24. 301 - 431
These nested if statements could be combined 327 - 329
Avoid variables with short names like ut 371
These nested if statements could be combined 376 - 378
The String literal "IOR ===> " appears 6 times in this file; the first occurrence is on line 392 392
The method changeHoldersFromServiceToCorbaObjects() has an NPath complexity of 230 449 - 604
Avoid really long methods. 449 - 604
The method 'changeHoldersFromServiceToCorbaObjects' has a Cyclomatic Complexity of 23. 449 - 604
Avoid excessively long variable names like actualHolderValueObject 485
Avoid excessively long variable names like corbaHolderValueField 492
The String literal "value" appears 4 times in this file; the first occurrence is on line 492 492
Avoid excessively long variable names like holderValueTypeStr 504
Avoid excessively long variable names like origHolderValueClass 545
The method changeHoldersFromCorbaToServiceObjects() has an NPath complexity of 202 626 - 710
The method 'changeHoldersFromCorbaToServiceObjects' has a Cyclomatic Complexity of 15. 626 - 710
Avoid excessively long variable names like paramArrayAfterInvocation 628
Avoid excessively long variable names like holderValueTypeStr 642
Avoid really long methods. 728 - 903
The method 'buildServiceObjectfromCorbaObject' has a Cyclomatic Complexity of 26. 728 - 903
The String literal "!!!!>>>>>> IsARRAY" appears 4 times in this file; the first occurrence is on line 739 739
Avoid excessively long variable names like serviceObjectArray 741
The String literal "!!!!>>>>>> arrayLent: " appears 4 times in this file; the first occurrence is on line 742 742
The String literal "!!!!>>>>>> component type: " appears 4 times in this file; the first occurrence is on line 743 743
The method transformFromCorbaType() has an NPath complexity of 910 925 - 1075
Avoid really long methods. 925 - 1075
The method 'transformFromCorbaType' has a Cyclomatic Complexity of 21. 925 - 1075
Avoid excessively long variable names like serviceObjectArray 937
The method transformFromAny() has an NPath complexity of 47160 1092 - 1612
Avoid really long methods. 1092 - 1612
The method 'transformFromAny' has a Cyclomatic Complexity of 107. 1092 - 1612
The method transformFromAny() has an NCSS line count of 359 1092 - 1612
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 1164
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 1166
The String literal ">>>> type: ushort, value: " appears 5 times in this file; the first occurrence is on line 1,229 1229
The String literal ">>>> type: sequence - ushort, value: " appears 4 times in this file; the first occurrence is on line 1,414 1414
String.indexOf(char) is faster than String.indexOf(String). 1455
Avoid variables with short names like cl 1469
Avoid excessively long variable names like corbaObjClassNoImplStr 1515
String.indexOf(char) is faster than String.indexOf(String). 1522
Avoid variables with short names like st 1551
Avoid excessively long variable names like typeNameWithoutBrackets 1577
Avoid really long methods. 1630 - 1820
The method 'buildCorbaObjectfromServiceObject' has a Cyclomatic Complexity of 27. 1630 - 1820
The method buildCorbaObjectfromServiceObject() has an NCSS line count of 102 1630 - 1820
Avoid excessively long variable names like serviceObjectArray 1646
Avoid variables with short names like ut 1712
The String literal "===>" appears 6 times in this file; the first occurrence is on line 1,722 1722
The method transformToCorbaType() has an NPath complexity of 1085 1840 - 2003
Avoid really long methods. 1840 - 2003
The method 'transformToCorbaType' has a Cyclomatic Complexity of 23. 1840 - 2003
The method transformToCorbaType() has an NCSS line count of 102 1840 - 2003
Avoid variables with short names like ut 1841
Avoid excessively long variable names like serviceObjectArray 1851
Avoid excessively long variable names like primitiveJavaLangType 1895
Avoid excessively long variable names like methodForfieldToFill 1905
Avoid variables with short names like st 1921
These nested if statements could be combined 1938 - 1976
Avoid excessively long variable names like methodForfieldToFill 1970
Avoid excessively long variable names like methodForfieldToFill 1987
The method transformToAny() has an NPath complexity of 1546 2022 - 2150
Avoid really long methods. 2022 - 2150
The method 'transformToAny' has a Cyclomatic Complexity of 29. 2022 - 2150
Avoid excessively long variable names like paramObjectTypeStr 2071
Avoid variables with short names like st 2113
These nested if statements could be combined 2117 - 2122
Avoid really long methods. 2162 - 2273
The method 'objectToEPR' has a Cyclomatic Complexity of 12. 2162 - 2273
Avoid variables with short names like su 2165
The String literal "----------------------------------------------------------------" appears 4 times in this file; the first occurrence is on line 2,191 2191
Avoid variables with short names like pe 2240
Avoid variables with short names like op 2246
Avoid unused private methods such as 'getHierachy(Class,Set)'. 2275
Avoid unnecessary return statements 2281
Avoid excessively long variable names like originalClassLoader 2348

it/imolinfo/jbi4corba/webservice/runtime/ProviderServiceInvoker.java

Violation Line
The class 'ProviderServiceInvoker' has a Cyclomatic Complexity of 5 (Highest = 30). 40 - 552
Avoid variables with short names like o 113
The method invoke() has an NPath complexity of 147699 113 - 399
Avoid really long methods. 113 - 399
The method 'invoke' has a Cyclomatic Complexity of 30. 113 - 399
The method invoke() has an NCSS line count of 136 113 - 399
Avoid variables with short names like md 159
Avoid variables with short names like m 160
These nested if statements could be combined 192 - 196
These nested if statements could be combined 219 - 223
Avoid unused local variables such as 'orb'. 312
Avoid instantiating String objects; this is usually unnecessary. 337
Avoid variables with short names like t 349
Avoid using exceptions as flow control. 384
Avoid using exceptions as flow control. 384
Avoid using exceptions as flow control. 384
Avoid using exceptions as flow control. 384
Avoid using exceptions as flow control. 384
Avoid variables with short names like o 408
Avoid unused local variables such as 'partInfo'. 412

it/imolinfo/jbi4corba/webservice/runtime/RuntimeInformation.java

Violation Line
Avoid excessively long variable names like modifiedClassLoader 28
Avoid excessively long variable names like originalClassLoader 29
Avoid excessively long variable names like serviceClassLoader 49