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(
                    exportResult, null, mpsatResult, verificationParameters, "Policy net is deadlock-free"));

    Avoid too many return statements within this method.
    Open

            return null;

      Avoid too many return statements within this method.
      Open

                                  return Result.cancel();

        Avoid too many return statements within this method.
        Open

                                return Result.success(new VerificationChainOutput(
                                        devExportResult, pcompResult, persistencyMpsatResult, persistencyParameters,
                                        "Circuit is not output-persistent after the following trace(s):"));

          Avoid too many return statements within this method.
          Open

                              return;

            Avoid too many return statements within this method.
            Open

                    return null;

              Avoid too many return statements within this method.
              Open

                              return Result.failure(new SpotChainOutput(ltl2tgbaResult, mpsatResult));

                Avoid too many return statements within this method.
                Open

                                    return Result.failure(new VerificationChainOutput(
                                            devExportResult, modPcompResult, null, preparationParameters));

                  Avoid too many return statements within this method.
                  Open

                                  return Result.success(new VerificationChainOutput(
                                          envExportResult, null, mpsatResult, verificationParameters,
                                          "Circuit does not strictly implement the environment after the following trace(s):"));

                    Avoid too many return statements within this method.
                    Open

                            return "!" + expression;

                      Avoid too many return statements within this method.
                      Open

                                  return Result.success(new VerificationChainOutput(
                                          envExportResult, null, mpsatResult, verificationParameters,
                                          "The circuit strictly implements its environment."));

                        Avoid too many return statements within this method.
                        Open

                                return null;

                          Avoid too many return statements within this method.
                          Open

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

                            Avoid too many return statements within this method.
                            Open

                                                return Result.exception(e);

                              Avoid too many return statements within this method.
                              Open

                                                  return Result.failure(new VerificationChainOutput(
                                                          devExportResult, pcompResult, null, preparationParameters));

                                Avoid too many return statements within this method.
                                Open

                                                        return Result.failure(new VerificationChainOutput(
                                                                devExportResult, pcompResult, null, preparationParameters));

                                  Avoid too many return statements within this method.
                                  Open

                                                          return Result.failure(new VerificationChainOutput(
                                                                  devExportResult, pcompResult, deadlockMpsatResult, deadlockParameters));

                                    Avoid too many return statements within this method.
                                    Open

                                                            return Result.failure(new VerificationChainOutput(
                                                                    devExportResult, pcompResult, persistencyMpsatResult, persistencyParameters));

                                      Avoid too many return statements within this method.
                                      Open

                                                  return Result.success(new VerificationChainOutput(
                                                          exportResult, null, null, completionParameters,
                                                          "Dataflow is deadlock-free and output-persistent"));
                                      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 new Result<>(e);
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language