nabeelamjad/poke-api

View on GitHub
lib/poke-api/pogoprotos/pogoprotos_inventory_item.rb

Summary

Maintainability
A
0 mins
Test Coverage

Block has too many lines. [56/25]
Open

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "POGOProtos.Inventory.Item.ItemAward" do
    optional :item_id, :enum, 1, "POGOProtos.Inventory.Item.ItemId"
    optional :item_count, :int32, 2
  end

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

Block has too many lines. [30/25]
Open

  add_enum "POGOProtos.Inventory.Item.ItemId" do
    value :ITEM_UNKNOWN, 0
    value :ITEM_POKE_BALL, 1
    value :ITEM_GREAT_BALL, 2
    value :ITEM_ULTRA_BALL, 3

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

There are no issues that match your filters.

Category
Status