workcraft/workcraft

View on GitHub

Showing 2,511 of 2,511 total issues

Avoid too many return statements within this method.
Open

            return Result.success(new CombinedChainOutput()
                    .applyVerificationParametersList(TRIVIAL_VIOLATION_PARAMETERS_LIST)
                    .applyMessage(HandshakeParameters.VIOLATION_PREFIX
                            + "Acknowledgements must be of opposite to requests type (inputs)."));

    Avoid too many return statements within this method.
    Open

                return false;

      Avoid too many return statements within this method.
      Open

              return null;

        Avoid too many return statements within this method.
        Open

                    return false;

          Avoid too many return statements within this method.
          Open

                      return new Result<>(implementationExportResult.getOutcome(), payload);

            Avoid too many return statements within this method.
            Open

                        return false;

              Avoid too many return statements within this method.
              Open

                      return Result.success(payload.applyExportResult(extendedExportResult));

                Avoid too many return statements within this method.
                Open

                            return result;
                Severity: Major
                Found in workcraft/SonPlugin/src/org/workcraft/plugins/son/VisualSON.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return new Result<>(specificationExportResult.getOutcome(), payload);

                    Avoid too many return statements within this method.
                    Open

                                return false;

                      Avoid too many return statements within this method.
                      Open

                                      return Result.exception(TextUtils.wrapMessageWithItems(
                                              "Refinement cannot be checked for specification STG with toggle input transitions.\n" +
                                                      "Problematic signal", specificationToggleInputs));

                        Avoid too many return statements within this method.
                        Open

                                    return args;

                          Avoid too many return statements within this method.
                          Open

                                      return x;

                            Avoid too many return statements within this method.
                            Open

                                        return false;

                              Avoid too many return statements within this method.
                              Open

                                          return Result.failure(new MpsatOutput(output, verificationParameters, netFile, unfoldingFile, null));

                                Avoid too many return statements within this method.
                                Open

                                        return false;
                                Severity: Major
                                Found in workcraft/SonPlugin/src/org/workcraft/plugins/son/util/Interval.java - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return reducedWorker.and(x, y);

                                    Avoid too many return statements within this method.
                                    Open

                                                return Result.cancel();

                                      Avoid too many return statements within this method.
                                      Open

                                              return null;

                                        Avoid too many return statements within this method.
                                        Open

                                                        return args;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language