hackedteam/core-blackberry

View on GitHub
bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java

Summary

Maintainability
F
3 days
Test Coverage

OverrideGraphics2D has 90 methods (exceeds 20 allowed). Consider refactoring.
Open

final class OverrideGraphics2D extends Graphics2D
{
    private final Graphics2D graphics;

    private Color  overrideColor;
Severity: Major
Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 1 day to fix

    File OverrideGraphics2D.java has 434 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
     * ProGuard -- shrinking, optimization, obfuscation, and preverification
     *             of Java bytecode.
     *
     * Copyright (c) 2002-2011 Eric Lafortune (eric@graphics.cornell.edu)
    Severity: Minor
    Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 6 hrs to fix

      Method drawImage has 11 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)

        Method drawImage has 10 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)

          Method drawImage has 7 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
          Severity: Major
          Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 50 mins to fix

            Method copyArea has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public void copyArea(int x, int y, int width, int height, int dx, int dy)
            Severity: Minor
            Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 45 mins to fix

              Method drawArc has 6 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)
              Severity: Minor
              Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 45 mins to fix

                Method drawImage has 6 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)
                Severity: Minor
                Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 45 mins to fix

                  Method drawRoundRect has 6 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
                  Severity: Minor
                  Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 45 mins to fix

                    Method fillArc has 6 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)
                    Severity: Minor
                    Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 45 mins to fix

                      Method fillRoundRect has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
                      Severity: Minor
                      Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 45 mins to fix

                        Method drawBytes has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public void drawBytes(byte[] data, int offset, int length, int x, int y)
                        Severity: Minor
                        Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 35 mins to fix

                          Method draw3DRect has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public void draw3DRect(int x, int y, int width, int height, boolean raised)
                          Severity: Minor
                          Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 35 mins to fix

                            Method drawImage has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)
                            Severity: Minor
                            Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 35 mins to fix

                              Method drawChars has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  public void drawChars(char[] data, int offset, int length, int x, int y)
                              Severity: Minor
                              Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 35 mins to fix

                                Method fill3DRect has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public void fill3DRect(int x, int y, int width, int height, boolean raised)
                                Severity: Minor
                                Found in bb-tools/proguard4.7/src/proguard/gui/splash/OverrideGraphics2D.java - About 35 mins to fix

                                  There are no issues that match your filters.

                                  Category
                                  Status