Wonder-Technology/Wonder.js

View on GitHub
lib/js/src/construct/domain_layer/library/structure/tuple/Tuple7.bs.js

Summary

Maintainability
A
2 hrs
Test Coverage

Consider simplifying this complex logical expression.
Open

  if (optionData1 !== undefined && optionData2 !== undefined && optionData3 !== undefined && optionData4 !== undefined && optionData5 !== undefined && optionData6 !== undefined && optionData7 !== undefined) {
    return Result$Wonderjs.succeed([
                Caml_option.valFromOption(optionData1),
                Caml_option.valFromOption(optionData2),
                Caml_option.valFromOption(optionData3),

    Function collectOption has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function collectOption(optionData1, optionData2, optionData3, optionData4, optionData5, optionData6, optionData7) {
    Severity: Major
    Found in lib/js/src/construct/domain_layer/library/structure/tuple/Tuple7.bs.js - About 50 mins to fix

      Function collectResult has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      function collectResult(resultData1, resultData2, resultData3, resultData4, resultData5, resultData6, resultData7) {
      Severity: Major
      Found in lib/js/src/construct/domain_layer/library/structure/tuple/Tuple7.bs.js - About 50 mins to fix

        There are no issues that match your filters.

        Category
        Status