meteor/meteor

View on GitHub
tools/isobuild/unibuild.js

Summary

Maintainability
C
1 day
Test Coverage

Function toJSON has 99 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  toJSON({
    builder,
    unibuildDir,
    usesModules,
    npmDirsToCopy,
Severity: Major
Found in tools/isobuild/unibuild.js - About 3 hrs to fix

    Function fromJSON has 88 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      static fromJSON(unibuildJson, {
        isopack,
        // At some point we stopped writing 'kind's to the metadata file, so
        // default to main.
        kind = "main",
    Severity: Major
    Found in tools/isobuild/unibuild.js - About 3 hrs to fix

      File unibuild.js has 262 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      "use strict";
      
      import _ from "underscore";
      import files from "../fs/files";
      import { WatchSet, sha1 } from "../fs/watch";
      Severity: Minor
      Found in tools/isobuild/unibuild.js - About 2 hrs to fix

        There are no issues that match your filters.

        Category
        Status