peter/jsonapitest

View on GitHub
lib/context_parser.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handleProperty has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var handleProperty = function(context, property, value) {
  switch(property) {
    case 'data':
      assertValidSchema(value, schema.data);
      context.data = util.deepMerge(context.data, value);
Severity: Minor
Found in lib/context_parser.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status