alessandrocuzzocrea/chip-8-emulator-js

View on GitHub

Showing 50 of 76 total issues

Avoid too many return statements within this function.
Open

        return module.exports.se(chip, vx, byte);
Severity: Major
Found in src/chip8.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return module.exports.sknp(chip, x, keyboard.getKeys());
    Severity: Major
    Found in src/chip8.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return module.exports.addIVx(chip, x);
      Severity: Major
      Found in src/chip8.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

          return `Illegal opcode: ${opcode.toString(16)}`;
        Severity: Major
        Found in src/chip8.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return module.exports.skp(chip, x, keyboard.getKeys());
          Severity: Major
          Found in src/chip8.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return "LD Vx, DT";
            Severity: Major
            Found in src/chip8.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return "Fx33";
              Severity: Major
              Found in src/chip8.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return module.exports.add(chip, vx, byte);
                Severity: Major
                Found in src/chip8.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return module.exports.drw(chip, b, c, d);
                  Severity: Major
                  Found in src/chip8.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return module.exports.rnd(chip, x, byte);
                    Severity: Major
                    Found in src/chip8.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return "SE Vx, byte";
                      Severity: Major
                      Found in src/chip8.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return module.exports.sneXY(chip, vx, vy);
                        Severity: Major
                        Found in src/chip8.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return module.exports.ldIndirectIVx(chip, x);
                          Severity: Major
                          Found in src/chip8.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return "SKNP Vx";
                            Severity: Major
                            Found in src/chip8.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return "Fx55";
                              Severity: Major
                              Found in src/chip8.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return module.exports.ldXY(chip, vx, vy);
                                Severity: Major
                                Found in src/chip8.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return "ADD Vx, byte";
                                  Severity: Major
                                  Found in src/chip8.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return "SNE Vx, byte";
                                    Severity: Major
                                    Found in src/chip8.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return module.exports.ld(chip, vx, byte);
                                      Severity: Major
                                      Found in src/chip8.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return module.exports.andXY(chip, vx, vy);
                                        Severity: Major
                                        Found in src/chip8.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language