 countStatementHalstead = (statement) ->
   switch statement.statement
     when "return"
-      countExpressionHalstead statement.returns
+      combineHalsteads (countExpressionHalstead ret for ret in statement.returns)
     when "throw"
       countExpressionHalstead statement.throws
     when "declaration"

    when "if"
      hals = [
        countExpressionHalstead statement.condition
        countExpressionHalstead statement.block
      ]
      hals.push countExpressionHalstead statement.elseBlock if statement.elseBlock?
      hal = combineHalsteads hals
      hal.operators.push 'if'
      hal.operators.push 'else' if statement.elseBlock?

    return hal
  return {
    operators: []
    operands: [expression]
  }

calculateStatementComplexity = (statement, options) ->
