ArtifactForms/MeshLibCore

View on GitHub

Showing 407 of 407 total issues

Vector3f has 78 methods (exceeds 20 allowed). Consider refactoring.
Open

public class Vector3f {

  public static final Vector3f BACK = new Vector3f(0, 0, -1);

  public static final Vector3f DOWN = new Vector3f(0, -1, 0);
Severity: Major
Found in src/main/java/math/Vector3f.java - About 1 day to fix

    Vector2f has 69 methods (exceeds 20 allowed). Consider refactoring.
    Open

    public class Vector2f {
    
      /** Shorthand for writing Vector2f(0, -1). */
      public static final Vector2f DOWN = new Vector2f(0, -1);
    
    
    Severity: Major
    Found in src/main/java/math/Vector2f.java - About 1 day to fix

      Workspace has 63 methods (exceeds 20 allowed). Consider refactoring.
      Open

      public class Workspace extends Editor implements ModelListener {
      
        int vertices;
      
        int faces;
      Severity: Major
      Found in src/main/java/workspace/Workspace.java - About 1 day to fix

        Mathf has 56 methods (exceeds 20 allowed). Consider refactoring.
        Open

        public class Mathf {
        
          /** A random number generator used to generate random values. */
          private static Random random = new Random();
        
        
        Severity: Major
        Found in src/main/java/math/Mathf.java - About 1 day to fix

          Method create has 196 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              @Override
              public Mesh3D create() {
                  Mesh3D mesh = new Mesh3D();
          
                  float a = 2.0f;

            Method create has 178 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                @Override
                public Mesh3D create() {
                    Mesh3D mesh = new Mesh3D();
            
                    float a = 2.0f;
            Severity: Major
            Found in src/main/java/mesh/creator/archimedian/SnubDodecahedronCreator.java - About 7 hrs to fix

              GraphicsPImpl has 50 methods (exceeds 20 allowed). Consider refactoring.
              Open

              public class GraphicsPImpl implements Graphics {
              
                private boolean wireframeMode;
              
                private Color color;
              Severity: Minor
              Found in src/main/java/workspace/GraphicsPImpl.java - About 7 hrs to fix

                FaceSelection has 48 methods (exceeds 20 allowed). Consider refactoring.
                Open

                public class FaceSelection {
                
                    private Mesh3D mesh;
                
                    private HashSet<Face3D> faceSet;
                Severity: Minor
                Found in src/main/java/mesh/selection/FaceSelection.java - About 6 hrs to fix

                  File Vector3f.java has 444 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  package math;
                  
                  public class Vector3f {
                  
                    public static final Vector3f BACK = new Vector3f(0, 0, -1);
                  Severity: Minor
                  Found in src/main/java/math/Vector3f.java - About 6 hrs to fix

                    WorkspaceModel has 45 methods (exceeds 20 allowed). Consider refactoring.
                    Open

                    public class WorkspaceModel {
                    
                        private float panningX;
                    
                        private float panningY;
                    Severity: Minor
                    Found in src/main/java/workspace/WorkspaceModel.java - About 6 hrs to fix

                      File GraphicsPImpl.java has 394 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      package workspace;
                      
                      import java.util.List;
                      
                      import engine.processing.LightGizmoRenderer;
                      Severity: Minor
                      Found in src/main/java/workspace/GraphicsPImpl.java - About 5 hrs to fix

                        SciFiFloorSupportCreator has 40 methods (exceeds 20 allowed). Consider refactoring.
                        Open

                        public class SciFiFloorSupportCreator implements IMeshCreator {
                        
                            private int supportCount;
                        
                            private int segments;
                        Severity: Minor
                        Found in src/main/java/mesh/creator/assets/SciFiFloorSupportCreator.java - About 5 hrs to fix

                          Bounds3 has 39 methods (exceeds 20 allowed). Consider refactoring.
                          Open

                          public class Bounds3 {
                          
                              private Vector3f min;
                          
                              private Vector3f max;
                          Severity: Minor
                          Found in src/main/java/mesh/util/Bounds3.java - About 5 hrs to fix

                            CubeJointLatticeCubeCreator has 39 methods (exceeds 20 allowed). Consider refactoring.
                            Open

                            public class CubeJointLatticeCubeCreator implements IMeshCreator {
                            
                                private int subdivisionsX;
                            
                                private int subdivisionsY;
                            Severity: Minor
                            Found in src/main/java/mesh/creator/unsorted/CubeJointLatticeCubeCreator.java - About 5 hrs to fix

                              File Workspace.java has 378 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              package workspace;
                              
                              import math.Vector3f;
                              import mesh.Mesh3D;
                              import mesh.util.VertexNormals;
                              Severity: Minor
                              Found in src/main/java/workspace/Workspace.java - About 5 hrs to fix

                                File Vector2f.java has 368 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                package math;
                                
                                /**
                                 * Representation of 2D vectors and points.
                                 *
                                Severity: Minor
                                Found in src/main/java/math/Vector2f.java - About 4 hrs to fix

                                  FlangePipeCreator has 36 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

                                  public class FlangePipeCreator implements IMeshCreator {
                                  
                                      private int segmentCount;
                                  
                                      private int boltCount;
                                  Severity: Minor
                                  Found in src/main/java/mesh/creator/assets/FlangePipeCreator.java - About 4 hrs to fix

                                    File FaceSelection.java has 353 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    package mesh.selection;
                                    
                                    import java.util.Collection;
                                    import java.util.HashSet;
                                    import java.util.Iterator;
                                    Severity: Minor
                                    Found in src/main/java/mesh/selection/FaceSelection.java - About 4 hrs to fix

                                      CapsuleCreator has 34 methods (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      public class CapsuleCreator implements IMeshCreator {
                                      
                                          private float topRadius;
                                      
                                          private float bottomRadius;
                                      Severity: Minor
                                      Found in src/main/java/mesh/creator/primitives/CapsuleCreator.java - About 4 hrs to fix

                                        Method create has 102 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            @Override
                                            public Mesh3D create() {
                                                Mesh3D mesh = new Mesh3D();
                                        
                                                float a = 0.0f;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language