patternweb/patternx

View on GitHub
src/graph/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function buildGraph has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function buildGraph(graphData) {
  const vGraph = graphData.processes.reduce(
    (obj, proc) => {
      obj.nodes[proc.name] = proc.component;
      const edges = Object.keys(proc.inputs || {})
Severity: Minor
Found in src/graph/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status