goreutils/gore-gulp

View on GitHub
webpack/index.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function groupEntries has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function groupEntries(config, pckg) {
  return Promise.all(map(libDirs(pckg), libDir => {
    const pattern = path.resolve(
      config.baseDir,
      libDir,
Severity: Minor
Found in webpack/index.js - About 1 hr to fix

    Function createVariant has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function createVariant(variant) {
      return function webpack(config, pckg) {
        const runnerPath = require.resolve(path.resolve(__dirname, 'forkableRunner'));
        const workers = workerFarm(runnerPath);
    
    
    Severity: Minor
    Found in webpack/index.js - About 1 hr to fix

      Function webpack has 34 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        return function webpack(config, pckg) {
          const runnerPath = require.resolve(path.resolve(__dirname, 'forkableRunner'));
          const workers = workerFarm(runnerPath);
      
          return groupEntries(config, pckg)
      Severity: Minor
      Found in webpack/index.js - About 1 hr to fix

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

        function normalizeEntry(config, pckg, libDir, entry, fileExtensions) {
        Severity: Minor
        Found in webpack/index.js - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status