workcraft/workcraft

View on GitHub

Showing 591 of 2,488 total issues

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.failure(new SpotChainOutput(ltl2tgbaResult, devExportResult, null, null));

      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.success(new VerificationChainOutput(
                                  exportResult, null, mpsatResult, verificationParameters, "Policy net has a deadlock"));

            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 Result.cancel();

                Avoid too many return statements within this method.
                Open

                            return Result.success(new VerificationChainOutput(
                                    devExportResult, pcompResult, mpsatResult, verificationParameters,
                                    "Property holds"));

                  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 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: Major
                      Found in workcraft/DfsPlugin/src/org/workcraft/plugins/dfs/tasks/CheckTask.java - About 30 mins to fix
                        Severity
                        Category
                        Status
                        Source
                        Language