alykoshin/wrtc-ice-cand-parse

View on GitHub
index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function parse has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function parse(candidateString) {
  // token                  =  1*(alphanum / "-" / "." / "!" / "%" / "*"
  //                              / "_" / "+" / "`" / "'" / "~" )
  var token_re              = '[0-9a-zA-Z\\-\\.!\\%\\*_\\+\\`\\\'\\~]+';

Severity: Major
Found in index.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status