Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5598

Code in Java stub classes generated by wsdl2java when analyzed by Sonar/SonarQube shows a large number of critical and major violations

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • codegen
    • None
    • Sonar Profile used - Sonar way with Findbugs

    Description

      Types of Critical violations reported:

      • Security - Array is stored directly
      • Empty If Stmt
      • Dodgey - Dead store to local variable
      • Performance - Private method is never called
      • Correctness - Possible null pointer dereference in method on exception path

      Types of Major violations reported:

      • Unused local variable
      • Visibility Modifier
      • While loops must use braces
      • Cyclomatic Complexity

      Attachments

        Activity

          People

            Unassigned Unassigned
            mj4its Michael Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: