darkwallet/darkwallet

View on GitHub
src/js/frontend/controllers/signing.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function verifyText has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  $scope.verifyText = function() {
      var address = $scope.tools.verifyAddress;
      var sigText = $scope.tools.verifySig;
      var text = $scope.tools.verifyText;

Severity: Minor
Found in src/js/frontend/controllers/signing.js - About 1 hr to fix

    Function signText has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      $scope.signText = function() {
          var text = $scope.tools.signText;
          var address = $scope.tools.signAddress;
          var identity = DarkWallet.getIdentity();
          var walletAddress = identity.wallet.getWalletAddress(address);
    Severity: Minor
    Found in src/js/frontend/controllers/signing.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status