sanger/limber

View on GitHub
app/frontend/javascript/pipeline-graph/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function applyMouseEvents has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const applyMouseEvents = function () {
  const core = graph.getCore()

  core.elements().unbind('mouseover')
  core.elements().bind('mouseover', (event) => {
Severity: Minor
Found in app/frontend/javascript/pipeline-graph/index.js - About 1 hr to fix

    Function generateTooltipContent has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const generateTooltipContent = function (ele) {
      // pipeline properties
      const pipelineName = graph.getElementPipeline(ele)
    
      // purpose node properties
    Severity: Minor
    Found in app/frontend/javascript/pipeline-graph/index.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status