freedomjs/freedom

View on GitHub
demo/connections/heightCustomViewProvider.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

var HeightView = function () {
  'use strict';
  window.addEventListener('message', function (msg, source) {
    if (this.frameWindow === source.source) {
      this.postMessage(msg.data);
Severity: Minor
Found in demo/connections/heightCustomViewProvider.js - About 1 hr to fix

Function onOpen has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

  this.onOpen = function (id, name, page, resources, postMessage) {
Severity: Minor
Found in demo/connections/heightCustomViewProvider.js - About 35 mins to fix

There are no issues that match your filters.

Category
Status