unageanu/jiji2

View on GitHub
src/jiji/model/trading/trading_summaries/trading_summary.rb

Summary

Maintainability
A
2 hrs
Test Coverage

File trading_summary.rb has 253 lines of code (exceeds 250 allowed). Consider refactoring.
Open

require 'encase'
module Jiji::Model::Trading::TradingSummaries
  class CompositeSummary

    def initialize(name = nil)
Severity: Minor
Found in src/jiji/model/trading/trading_summaries/trading_summary.rb - About 2 hrs to fix

    unexpected token error (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
    Open

          agent_id   = (position.agent&.id) || ''

    unexpected token error (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
    Open

          agent_name = (position.agent&.name) || ''

    There are no issues that match your filters.

    Category
    Status