crossfilter/universe

View on GitHub
src/reductiofy.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function exports has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (service) {
  var filters = require('./filters')(service)

  return function reductiofy(query) {
    var reducer = reductio()
Severity: Minor
Found in src/reductiofy.js - About 1 hr to fix

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

      return function reductiofy(query) {
        var reducer = reductio()
        // var groupBy = query.groupBy // groupBy is defined but never used
        aggregateOrNest(reducer, query.select)
    
    
    Severity: Minor
    Found in src/reductiofy.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status