ArtifactForms/MeshLibCore

View on GitHub

Showing 407 of 407 total issues

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

    public void renderBorder(Graphics g, int x, int y, int width, int height) {
Severity: Minor
Found in src/main/java/workspace/ui/border/EmptyBorder.java - About 35 mins to fix

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

        private void renderOuterBorder(Graphics g, int x, int y, int width,
            int height) {
    Severity: Minor
    Found in src/main/java/workspace/ui/border/CompoundBorder.java - About 35 mins to fix

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

        public static float map(float value, float from0, float to0, float from1, float to1) {
      Severity: Minor
      Found in src/main/java/math/Mathf.java - About 35 mins to fix

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

            void fillRoundRect(float x, float y, float width, float height, float radii);
        Severity: Minor
        Found in src/main/java/workspace/ui/Graphics2D.java - About 35 mins to fix

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

            public void drawRoundRect(float x, float y, float width, float height, float radii) {
          Severity: Minor
          Found in src/main/java/workspace/GraphicsPImpl.java - About 35 mins to fix

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

                private void renderInnerBorder(Graphics g, int x, int y, int width,
                    int height) {
            Severity: Minor
            Found in src/main/java/workspace/ui/border/CompoundBorder.java - About 35 mins to fix

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

                  public static void bridge(Mesh3D mesh, Vector3f v0, Vector3f v1,
                          Vector3f v2, Vector3f v3) {
              Severity: Minor
              Found in src/main/java/mesh/util/FaceBridging.java - About 35 mins to fix

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

                    void drawRoundRect(float x, float y, float width, float height, float radii);
                Severity: Minor
                Found in src/main/java/workspace/ui/Graphics2D.java - About 35 mins to fix

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

                      public void renderBorder(Graphics g, int x, int y, int width, int height) {
                  Severity: Minor
                  Found in src/main/java/workspace/ui/border/LineBorder.java - About 35 mins to fix

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

                        public void renderBorder(Graphics g, int x, int y, int width, int height) {
                    Severity: Minor
                    Found in src/main/java/workspace/ui/border/CornerGapBorder.java - About 35 mins to fix

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

                          void renderBorder(Graphics g, int x, int y, int width, int height);
                      Severity: Minor
                      Found in src/main/java/workspace/ui/border/Border.java - About 35 mins to fix

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

                          public void fillRoundRect(float x, float y, float width, float height, float radii) {
                        Severity: Minor
                        Found in src/main/java/workspace/GraphicsPImpl.java - About 35 mins to fix

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

                              public void renderBorder(Graphics g, int x, int y, int width, int height) {
                          Severity: Minor
                          Found in src/main/java/workspace/ui/border/CompoundBorder.java - About 35 mins to fix

                            Similar blocks of code found in 2 locations. Consider refactoring.
                            Open

                                private void setBorderFrame(int x, int y, int width, int height) {
                                    this.x = x;
                                    this.y = y;
                                    this.width = width;
                                    this.height = height;
                            Severity: Minor
                            Found in src/main/java/workspace/ui/border/CornerGapBorder.java and 1 other location - About 35 mins to fix
                            src/main/java/math/Color.java on lines 360..365

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 3 locations. Consider refactoring.
                            Open

                                private void createFaces() {
                                    for (int z = 0; z < subdivisionsZ; z++)
                                        for (int x = 0; x < subdivisionsX; x++)
                                            createFaceAt(z, x);
                                }
                            Severity: Minor
                            Found in src/main/java/mesh/creator/primitives/GridCreator.java and 2 other locations - About 35 mins to fix
                            src/main/java/mesh/creator/assets/ChainLinkCreator.java on lines 34..38
                            src/main/java/mesh/creator/special/AccordionTorusCreator.java on lines 57..61

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 2 locations. Consider refactoring.
                            Open

                              public void set(float r, float g, float b, float a) {
                                this.r = r;
                                this.g = g;
                                this.b = b;
                                this.a = a;
                            Severity: Minor
                            Found in src/main/java/math/Color.java and 1 other location - About 35 mins to fix
                            src/main/java/workspace/ui/border/CornerGapBorder.java on lines 145..150

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 3 locations. Consider refactoring.
                            Open

                                private void createFaces() {
                                    for (int i = 0; i < majorSegments; i++)
                                        for (int j = 0; j < minorSegments; j++)
                                            createFaceAt(i, j);
                                }
                            Severity: Minor
                            Found in src/main/java/mesh/creator/special/AccordionTorusCreator.java and 2 other locations - About 35 mins to fix
                            src/main/java/mesh/creator/assets/ChainLinkCreator.java on lines 34..38
                            src/main/java/mesh/creator/primitives/GridCreator.java on lines 69..73

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 3 locations. Consider refactoring.
                            Open

                                private void createVertices() {
                                    for (int i = 0; i <= majorSegments; i++)
                                        for (int j = 0; j < minorSegments; j++)
                                            createVertexAt(i, j);
                                }
                            Severity: Minor
                            Found in src/main/java/mesh/creator/assets/ChainLinkCreator.java and 2 other locations - About 35 mins to fix
                            src/main/java/mesh/creator/primitives/GridCreator.java on lines 69..73
                            src/main/java/mesh/creator/special/AccordionTorusCreator.java on lines 57..61

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 6 locations. Consider refactoring.
                            Open

                                float z0 = m.values[6] * x + m.values[7] * y + m.values[8] * z;
                            Severity: Major
                            Found in src/main/java/math/Vector3f.java and 5 other locations - About 35 mins to fix
                            src/main/java/math/Vector3f.java on lines 336..336
                            src/main/java/math/Vector3f.java on lines 337..337
                            src/main/java/math/Vector3f.java on lines 343..343
                            src/main/java/math/Vector3f.java on lines 344..344
                            src/main/java/math/Vector3f.java on lines 345..345

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 46.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 6 locations. Consider refactoring.
                            Open

                                float y0 = m.values[3] * x + m.values[4] * y + m.values[5] * z;
                            Severity: Major
                            Found in src/main/java/math/Vector3f.java and 5 other locations - About 35 mins to fix
                            src/main/java/math/Vector3f.java on lines 336..336
                            src/main/java/math/Vector3f.java on lines 337..337
                            src/main/java/math/Vector3f.java on lines 338..338
                            src/main/java/math/Vector3f.java on lines 343..343
                            src/main/java/math/Vector3f.java on lines 345..345

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 46.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Severity
                            Category
                            Status
                            Source
                            Language