static/js/https/domains.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function initExpansions has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var initExpansions = function() {
    $('table.domain').on('click', 'tbody tr.odd, tbody tr.even', function() {
      var row = table.row(this);

      // zero in on the parent row, whichever was clicked
Severity: Minor
Found in static/js/https/domains.js - About 1 hr to fix

    Function loadHostData has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var loadHostData = function(tr, base_domain, hosts) {
        var all = [];
        var number = hosts.length;
    
        if (number > 1) {
    Severity: Minor
    Found in static/js/https/domains.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status