workcraft/workcraft

View on GitHub

Showing 591 of 2,492 total issues

Avoid too many return statements within this method.
Open

                    return Result.success(new VerificationChainOutput(
                            compositionExportResult, modPcompResult, conformationMpsatResult, conformationParameters,
                            "Circuit does not conform to the environment after the following trace(s):"));

    Avoid too many return statements within this method.
    Open

                            return Result.success(new VerificationChainOutput(
                                    devExportResult, pcompResult, deadlockMpsatResult, deadlockParameters,
                                    "Circuit has a deadlock after the following trace(s):"));

      Avoid too many return statements within this method.
      Open

                  return new Result<>(e);

        Avoid too many return statements within this method.
        Open

                                return Result.cancel();

          Avoid too many return statements within this method.
          Open

                  return true;
          Severity: Major
          Found in workcraft/DtdPlugin/src/org/workcraft/plugins/dtd/VisualSignal.java - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                return Result.cancel();
            Severity: Major
            Found in workcraft/DfsPlugin/src/org/workcraft/plugins/dfs/tasks/CheckTask.java - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return Result.failure(new VerificationChainOutput(
                                      exportResult, null, persistencyResult, persistencyParameters));
              Severity: Major
              Found in workcraft/DfsPlugin/src/org/workcraft/plugins/dfs/tasks/CheckTask.java - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                            return Result.cancel();

                  Avoid too many return statements within this method.
                  Open

                                              return Result.cancel();

                    Avoid too many return statements within this method.
                    Open

                                            return Result.cancel();

                      Avoid too many return statements within this method.
                      Open

                                  return new Result<>(e);

                        Avoid too many return statements within this method.
                        Open

                                        return Result.success(new VerificationChainOutput(
                                                exportResult, null, mpsatResult, verificationParameters, "Policy net has a deadlock"));

                          Avoid too many return statements within this method.
                          Open

                                          return Result.failure(new VerificationChainOutput(
                                                  exportResult, null, deadlockResult, deadlockParameters));
                          Severity: Major
                          Found in workcraft/DfsPlugin/src/org/workcraft/plugins/dfs/tasks/CheckTask.java - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return Result.success(new VerificationChainOutput(
                                                    exportResult, null, deadlockResult, deadlockParameters,
                                                    "Dataflow has a deadlock"));
                            Severity: Major
                            Found in workcraft/DfsPlugin/src/org/workcraft/plugins/dfs/tasks/CheckTask.java - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return;

                                Avoid too many return statements within this method.
                                Open

                                            return Result.success(new VerificationChainOutput(
                                                    exportResult, null, mpsatResult, verificationParameters,
                                                    "Dataflow is output-persistent"));

                                  Avoid too many return statements within this method.
                                  Open

                                                          return Result.cancel();

                                    Avoid too many return statements within this method.
                                    Open

                                                        return Result.failure(new CombinedChainOutput(
                                                                devExportResult, pcompResult, unfoldingResult, mpsatResultList, verificationParametersList));

                                      Avoid too many return statements within this method.
                                      Open

                                                      return Result.failure(new SpotChainOutput(ltl2tgbaResult, devExportResult, null, null));

                                        Avoid too many return statements within this method.
                                        Open

                                                                    return false;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language