bakerface/fluent-dynamo

View on GitHub

Showing 2 of 6 total issues

File fluent.js has 373 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * Copyright (c) 2015 Christopher M. Baker
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
Severity: Minor
Found in lib/fluent.js - About 4 hrs to fix

    Function withCondition has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function withCondition(request, name) {
      function isOperation(operator, type, value) {
        var key = ':v' + Object.keys(request.ExpressionAttributeValues).length;
        var attribute = request.ExpressionAttributeValues[key] = { };
        attribute[type] = value.toString();
    Severity: Minor
    Found in lib/fluent.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language