The following document contains the results of Checkstyle. 
| Files | Infos | Warnings | Errors |
|---|---|---|---|
| 81 | 130 | 66 | 1 |
| Rules | Violations | Severity |
|---|---|---|
| JavadocMethod | 9 | |
| JavadocType | 0 | |
| JavadocVariable | 24 | |
| JavadocStyle | 1 | |
| ConstantName | 1 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 0 | |
| MemberName | 1 | |
| MethodName | 0 | |
| PackageName | 0 | |
| ParameterName | 0 | |
| StaticVariableName | 0 | |
| TypeName | 0 | |
| RedundantImport | 0 | |
| UnusedImports | 18 | |
| FileLength | 0 | |
| LineLength | 0 | Ignore |
| MethodLength | 1 | |
| AvoidNestedBlocks | 0 | |
EmptyBlock
| 1 | |
| LeftCurly | 0 | Ignore |
| NeedBraces | 0 | |
| RightCurly | 0 | Ignore |
| AvoidInlineConditionals | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 1 | |
| MagicNumber | 6 | |
| MissingSwitchDefault | 0 | |
| RedundantThrows | 0 | |
| SimplifyBooleanReturn | 0 | |
| FinalClass | 0 | |
| HideUtilityClassConstructor | 0 | |
| VisibilityModifier | 1 | |
| FinalParameters | 0 | Ignore |
GenericIllegalRegexp
| 0 | Ignore |
| TodoComment | 0 | |
EmptyBlock
| 1 | |
| MultipleStringLiterals | 74 | |
| CyclomaticComplexity | 6 | |
| ClassFanOutComplexity | 10 | |
GenericIllegalRegexp
| 0 | |
| IllegalCatch | 7 | |
| JUnitTestCase | 0 | |
| CovariantEquals | 0 | |
| JavaNCSS | 7 | |
| IllegalThrows | 0 | |
| MissingCtor | 0 | |
| ModifiedControlVariable | 0 | |
| ParameterAssignment | 0 | |
| SimplifyBooleanExpression | 0 | |
| StringLiteralEquality | 0 | |
| MutableException | 1 | |
GenericIllegalRegexp
| 1 | |
| ParameterNumber | 0 | |
| ReturnCount | 17 | |
ReturnCount
| 17 | |
| BooleanExpressionComplexity | 0 | |
MultipleStringLiterals
| 74 | |
| ClassDataAbstractionCoupling | 7 | |
| DeclarationOrder | 2 | |
HiddenField
| 1 | |
| IllegalInstantiation | 0 | |
GenericIllegalRegexp
| 1 | |
| EqualsHashCode | 1 | |
| Translation | 0 | |
| NewlineAtEndOfFile | 0 | |
StrictDuplicateCode
| 0 | Ignore |
StrictDuplicateCode
| 0 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.processor.transform.StringSource. | 15 | |
| Missing a Javadoc comment. | 36 | |
| Must have at least one statement. | 80 | |
| The String "Error in invoking the method: " appears 2 times in the file. | 88 | |
| The String " on the remote object: " appears 2 times in the file. | 88 |
| Violation | Message | Line |
|---|---|---|
| The String "java/rmi/Remote" appears 2 times in the file. | 74 | |
| The String "java/rmi/RemoteException" appears 2 times in the file. | 117 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 32 | |
| Missing a Javadoc comment. | 34 | |
| Definition of 'equals()' without corresponding definition of 'hashCode()'. | 139 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.exception.EJBDeployException. | 13 | |
| Unused import - it.imolinfo.jbi4ejb.runtime.ejbproxy.StatelessEJBProxyFactory. | 16 | |
| Missing a Javadoc comment. | 34 | |
| Missing a Javadoc comment. | 36 | |
| The String "EJB001002_getClassesID" appears 3 times in the file. | 96 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.jbi.component.Jbi4EjbLifeCycle. | 14 | |
| Missing a Javadoc comment. | 37 |
| Violation | Message | Line |
|---|---|---|
| The String "." appears 2 times in the file. | 39 | |
| The String "unchecked" appears 5 times in the file. | 53 | |
| Return count is 3 (max allowed is 2). | 105 | |
| Return count is 3 (max allowed is 2). | 150 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.exception.EJBWSDLGenerationException. | 15 | |
| Class Data Abstraction Coupling is 8 (max allowed is 7) classes [ProviderServiceDescriptor, FileToDefinitionInfo, Jbi4EjbDeployException, SUDescriptorSupport, DeploymentException, ArrayList, Jbi4EjbProviderEndpoint, File]. | 64 | |
| Class Fan-Out Complexity is 37 (max allowed is 20). | 64 | |
| Missing a Javadoc comment. | 69 | |
| Cyclomatic Complexity is 14 (max allowed is 10). | 289 | |
| NCSS for this method is 85 (max allowed is 50). | 289 | |
| The String "EJB000123_Error_in_parsing_the_deploy_WSDL" appears 2 times in the file. | 420 |
| Violation | Message | Line |
|---|---|---|
| Class Data Abstraction Coupling is 14 (max allowed is 7) classes [StaxSerializer, StreamSource, ByteArrayOutputStream, SimpleAttachment, Jbi4EjbNormalizer, ByteArrayInputStream, JavaMailAttachments, SourceTransformer, MessageContext, InMessage, StringWriter, Jbi4EjbDenormalizer, StringSource, org.codehaus.xfire.exchange.MessageExchange]. | 60 | |
| Class Fan-Out Complexity is 40 (max allowed is 20). | 60 | |
| Cyclomatic Complexity is 20 (max allowed is 10). | 98 | |
| Method length is 153 lines (max allowed is 150). | 98 | |
| NCSS for this method is 86 (max allowed is 50). | 98 | |
| Catching 'Exception' is not allowed. | 245 |
| Violation | Message | Line |
|---|---|---|
| The String "unchecked" appears 7 times in the file. | 46 | |
| The String "]" appears 2 times in the file. | 53 | |
| Return count is 3 (max allowed is 2). | 93 | |
| Return count is 3 (max allowed is 2). | 121 |
| Violation | Message | Line |
|---|---|---|
| The field 'localizedMessage' must be declared final. | 29 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.jbi.component.runtime.DefaultMessageExchangeHandler. | 14 | |
| Class Fan-Out Complexity is 23 (max allowed is 20). | 47 | |
| Missing a Javadoc comment. | 52 | |
| The String "EJB000402_Jbi4EjbSOAPExtensionsUtils" appears 3 times in the file. | 117 | |
| The String "Extension QName: " appears 2 times in the file. | 232 |
| Violation | Message | Line |
|---|---|---|
| The String "unused" appears 2 times in the file. | 31 | |
| The String "unchecked" appears 5 times in the file. | 44 | |
| The String "[" appears 2 times in the file. | 97 | |
| The String "]" appears 4 times in the file. | 97 | |
| The String "EJB Invocation: interface:[" appears 2 times in the file. | 99 | |
| The String "], method:[" appears 2 times in the file. | 99 | |
| The String "params:" appears 2 times in the file. | 100 |
| Violation | Message | Line |
|---|---|---|
| The String "The class " appears 3 times in the file. | 85 | |
| Return count is 3 (max allowed is 2). | 169 |
| Violation | Message | Line |
|---|---|---|
| The String "<" appears 2 times in the file. | 85 | |
| The String ">\n" appears 2 times in the file. | 86 |
| Violation | Message | Line |
|---|---|---|
| The String "The class " appears 2 times in the file. | 73 |
| Violation | Message | Line |
|---|---|---|
| '17' is a magic number. | 133 | |
| '37' is a magic number. | 133 |
| Violation | Message | Line |
|---|---|---|
| '17' is a magic number. | 159 | |
| '37' is a magic number. | 159 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.configuration.InterfaceExtractorUtil. | 12 | |
| Class Data Abstraction Coupling is 14 (max allowed is 7) classes [StreamSource, TransformerException, SAXSource, IOException, Class, DOMResult, DOMSource, InputStreamReader, StringWriter, StreamResult, StringSource, W3CDOMStreamReader, InputSource, StringReader]. | 60 | |
| Class Fan-Out Complexity is 37 (max allowed is 20). | 60 | |
| Name 'dom2SaxClass' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 70 | |
| Missing a Javadoc comment. | 75 | |
| Return count is 3 (max allowed is 2). | 142 | |
| Return count is 4 (max allowed is 2). | 210 | |
| Return count is 4 (max allowed is 2). | 265 | |
| Return count is 4 (max allowed is 2). | 291 | |
| Return count is 3 (max allowed is 2). | 313 | |
| Catching 'Throwable' is not allowed. | 428 | |
| Catching 'Exception' is not allowed. | 453 | |
| Expected @param tag for 'message'. | 579 | |
| Expected @throws tag for 'IOException'. | 579 | |
| Expected @throws tag for 'SAXException'. | 579 | |
| Return count is 3 (max allowed is 2). | 696 | |
| Return count is 3 (max allowed is 2). | 845 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.configuration.InterfaceExtractorUtil. | 12 | |
| Unused import - it.imolinfo.jbi4ejb.webservice.generator.WSDLGenerator. | 20 | |
| Unused import - java.io.FileNotFoundException. | 23 | |
| Class Data Abstraction Coupling is 8 (max allowed is 7) classes [EJBClasses, RMISecurityManager, Class, Wsdl11Generator, EJBInvokeException, InitialContext, EJBDeployException, File]. | 49 | |
| Class Fan-Out Complexity is 30 (max allowed is 20). | 49 | |
| Missing a Javadoc comment. | 54 | |
| NCSS for this method is 60 (max allowed is 50). | 83 | |
| The String "unchecked" appears 8 times in the file. | 83 | |
| The String "EJB000901_No_WSDL_exists" appears 3 times in the file. | 88 | |
| The String "src" appears 2 times in the file. | 100 | |
| Catching 'Exception' is not allowed. | 113 | |
| The String "classes" appears 2 times in the file. | 123 | |
| The String ".class" appears 3 times in the file. | 154 | |
| The String "EJB000909_createStatelessEJBFromJNDI" appears 2 times in the file. | 312 | |
| The String "jndiContext retrieved:" appears 2 times in the file. | 317 | |
| The String "EJB000910_Home_object_found" appears 2 times in the file. | 328 | |
| The String "EJB000912_createStatelessHomeFromJNDI" appears 2 times in the file. | 373 | |
| The String "result" appears 2 times in the file. | 418 | |
| The String "create" appears 2 times in the file. | 419 | |
| The String "EJB000914_getInterfaceClass" appears 6 times in the file. | 470 | |
| Catching 'Exception' is not allowed. | 493 | |
| The String "java.security.policy" appears 2 times in the file. | 564 |
| Violation | Message | Line |
|---|---|---|
| '17' is a magic number. | 155 | |
| '37' is a magic number. | 155 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.jbi.component.runtime.AbstractComponentLifeCycle. | 15 | |
| Missing a Javadoc comment. | 39 | |
| Missing a Javadoc comment. | 44 | |
| Name 'MESSAGES' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 44 | |
| Variable 'MESSAGES' must be private and have accessor methods. | 44 |
| Violation | Message | Line |
|---|---|---|
| Class Data Abstraction Coupling is 13 (max allowed is 7) classes [ClassGenerationException, ObjectServiceFactory, ArrayList, QName, File, Jbi4EjbBinding, FileWriter, FileOutputStream, Jbi4EjbAddress, HashMap, EJBWSDLGenerationException, Jbi4EjbTypes, Properties]. | 71 | |
| Class Fan-Out Complexity is 49 (max allowed is 20). | 71 | |
| The String "deprecation" appears 6 times in the file. | 101 | |
| The String "unchecked" appears 7 times in the file. | 101 | |
| NCSS for this method is 66 (max allowed is 50). | 349 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.webservice.generator.DynamicEJBWSDLGenerator. | 13 | |
| Missing a Javadoc comment. | 34 | |
| Cyclomatic Complexity is 11 (max allowed is 10). | 78 | |
| The String "EJB001101_Exception_in_rethrowing_exception" appears 3 times in the file. | 95 |
| Violation | Message | Line |
|---|---|---|
| Return count is 3 (max allowed is 2). | 50 | |
| Return count is 3 (max allowed is 2). | 76 | |
| The String "unchecked" appears 3 times in the file. | 107 |
| Violation | Message | Line |
|---|---|---|
| The String "unchecked" appears 3 times in the file. | 66 | |
| The String "<" appears 5 times in the file. | 87 | |
| The String ">\n" appears 6 times in the file. | 88 | |
| The String "</" appears 3 times in the file. | 96 | |
| The String "/>\n" appears 2 times in the file. | 124 |
| Violation | Message | Line |
|---|---|---|
| Class Fan-Out Complexity is 30 (max allowed is 20). | 53 | |
| Missing a Javadoc comment. | 58 | |
| The String "EJB000602_Jbi4Ejb_processor" appears 9 times in the file. | 78 | |
| Cyclomatic Complexity is 14 (max allowed is 10). | 113 | |
| NCSS for this method is 58 (max allowed is 50). | 113 | |
| The String "EJB000603_No_message_parts_found" appears 2 times in the file. | 150 | |
| The String "EJB000604_More_than_one message_part_found_using_the_first" appears 2 times in the file. | 154 | |
| The String "EJB000605_Invalid_result_from_XML_transformation" appears 2 times in the file. | 183 | |
| Cyclomatic Complexity is 16 (max allowed is 10). | 226 | |
| NCSS for this method is 65 (max allowed is 50). | 226 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.exception.ClassGenerationException. | 12 | |
| Missing a Javadoc comment. | 27 | |
| Variable access definition in wrong order. | 31 | |
| Variable access definition in wrong order. | 34 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 35 | |
| Expected @param tag for 'classesDirName'. | 43 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 62 | |
| The String "EJB000001_Could_not_create_directory" appears 4 times in the file. | 90 | |
| The String "EJB000002_Failure_in_opening_Jarfile" appears 3 times in the file. | 100 | |
| The String "EJB000003_No_application.xml_found_in_earPath" appears 2 times in the file. | 107 | |
| The String "JAR_" appears 2 times in the file. | 148 | |
| The String "EJB000005_Error_in_getting_document" appears 3 times in the file. | 364 |
| Violation | Message | Line |
|---|---|---|
| Expected @param tag for 'message'. | 29 | |
| Expected @param tag for 'isWrapped'. | 29 | |
| 'isWrapped' hides a field. | 68 |
| Violation | Message | Line |
|---|---|---|
| Class Data Abstraction Coupling is 19 (max allowed is 7) classes [ClassGenerationException, CheckClassAdapter, TraceClassVisitor, ArrayList, ClassWriter, URLClassLoader, FileFilter, SerializableDecorationAdapter, File, StringWriter, FileOutputStream, RemoteEnancherAdapter, ClassReader, SerializableInspectorAdapter, URL, PrintWriter, HashSet, FileInputStream, EJBDeployException]. | 47 | |
| Class Fan-Out Complexity is 30 (max allowed is 20). | 47 | |
| Missing a Javadoc comment. | 51 | |
| NCSS for this method is 55 (max allowed is 50). | 90 | |
| The String "The file " appears 3 times in the file. | 244 | |
| The String " won't be compiled." appears 2 times in the file. | 244 | |
| Return count is 4 (max allowed is 2). | 269 | |
| Return count is 3 (max allowed is 2). | 371 | |
| The String ".class" appears 4 times in the file. | 431 | |
| The String "output of tracer during creation of class: " appears 2 times in the file. | 440 | |
| The String "\n" appears 2 times in the file. | 441 | |
| The String "relativeFileName=" appears 2 times in the file. | 449 | |
| The String "EJB001010_saveAsJavaClass" appears 2 times in the file. | 517 | |
| The String "/" appears 2 times in the file. | 543 | |
| The String "url classloader: " appears 2 times in the file. | 547 | |
| The String "ClassReader.accept ... done" appears 2 times in the file. | 593 | |
| The String "unchecked" appears 2 times in the file. | 676 | |
| The String "EJB001013_classLoad" appears 2 times in the file. | 750 |
| Violation | Message | Line |
|---|---|---|
| Unused @throws tag for 'NullPointerException'. | 90 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.jbi.xfire.EjbChannel. | 17 | |
| Class Fan-Out Complexity is 27 (max allowed is 20). | 51 | |
| Missing a Javadoc comment. | 56 | |
| The String "EJB000602_Jbi4Ejb_processor" appears 4 times in the file. | 85 | |
| Unclosed HTML tag found: <code>Jbi4EjbMessage containing the source. | 109 | |
| Cyclomatic Complexity is 13 (max allowed is 10). | 114 |
| Violation | Message | Line |
|---|---|---|
| The String "Read ORB properties: [" appears 2 times in the file. | 99 | |
| The String "] " appears 2 times in the file. | 99 | |
| The String " [" appears 2 times in the file. | 100 | |
| The String "]" appears 2 times in the file. | 100 |
| Violation | Message | Line |
|---|---|---|
| Unused @throws tag for 'NullPointerException'. | 90 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.exception.EJBWSDLGenerationException. | 14 | |
| Class Data Abstraction Coupling is 18 (max allowed is 7) classes [ClassGenerationException, CheckClassAdapter, TraceClassVisitor, RemoveEJBInterfaceAdapter, ByteArrayOutputStream, ArrayList, ClassWriter, RemoteInterfaceExceptionAdapter, sun.rmi.rmic.Main, File, StringWriter, AddExceptionSuperclass, FileOutputStream, ClassReader, PrintWriter, FileInputStream, PrintStream, EJBDeployException]. | 48 | |
| Class Fan-Out Complexity is 27 (max allowed is 20). | 48 | |
| Missing a Javadoc comment. | 52 | |
| Return count is 3 (max allowed is 2). | 71 | |
| The String "EJB001003_tweakRemoteInterfaceGeneratedFromWSDL" appears 2 times in the file. | 158 | |
| The String ".class" appears 6 times in the file. | 169 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.exception.EJBWSDLGenerationException. | 12 | |
| Missing a Javadoc comment. | 37 |
| Violation | Message | Line |
|---|---|---|
| Unused import - javax.xml.transform.TransformerException. | 21 | |
| Missing a Javadoc comment. | 32 | |
| Non creiamo direttamente eccezioni generiche | 105 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 32 |
| Violation | Message | Line |
|---|---|---|
| Expected @param tag for 'th'. | 41 |
| Violation | Message | Line |
|---|---|---|
| Unused import - it.imolinfo.jbi4ejb.exception.EJBInvokeException. | 14 | |
| Missing a Javadoc comment. | 36 | |
| The String "unchecked" appears 5 times in the file. | 61 | |
| Catching 'Exception' is not allowed. | 217 | |
| Catching 'Exception' is not allowed. | 292 |