nus-mtp/sashimi-note

View on GitHub
sashimi-webapp/src/logic/renderer/index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

PageRenderer.prototype.getReferenceFrame = function getReferenceFrame() {
  const idOfReferenceFrame = defaultConfig.prefix.reference + this.renderDomId;
  let referenceFrame = this.ownerDocument.getElementById(idOfReferenceFrame);

  // Create a new reference frame if doesn't exist
Severity: Minor
Found in sashimi-webapp/src/logic/renderer/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status