Showing 71 of 71 total issues
Block has too many lines. [610/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_enum "POGOProtos.Enums.TutorialState" do
value :LEGAL_SCREEN, 0
value :AVATAR_SELECTION, 1
value :ACCOUNT_CREATION, 2
- Read upRead up
- Exclude checks
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. [545/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Networking.Responses.SetContactSettingsResponse" do
optional :status, :enum, 1, "POGOProtos.Networking.Responses.SetContactSettingsResponse.Status"
optional :player_data, :message, 2, "POGOProtos.Data.PlayerData"
end
- Read upRead up
- Exclude checks
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. [216/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Networking.Requests.Messages.UpgradePokemonMessage" do
optional :pokemon_id, :fixed64, 1
end
add_message "POGOProtos.Networking.Requests.Messages.GetAssetDigestMessage" do
- Read upRead up
- Exclude checks
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. [180/25] Open
add_enum "POGOProtos.Enums.PokemonMove" do
value :MOVE_UNSET, 0
value :THUNDER_SHOCK, 1
value :QUICK_ATTACK, 2
value :SCRATCH, 3
- Read upRead up
- Exclude checks
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.
File pogoprotos_networking_responses.rb
has 659 lines of code (exceeds 250 allowed). Consider refactoring. Open
require 'google/protobuf'
require_relative 'pogoprotos_data'
require_relative 'pogoprotos_inventory'
require_relative 'pogoprotos_data_capture'
File pogoprotos_enums.rb
has 634 lines of code (exceeds 250 allowed). Consider refactoring. Open
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_enum "POGOProtos.Enums.TutorialState" do
value :LEGAL_SCREEN, 0
Block has too many lines. [152/25] Open
add_enum "POGOProtos.Enums.PokemonId" do
value :MISSINGNO, 0
value :BULBASAUR, 1
value :IVYSAUR, 2
value :VENUSAUR, 3
- Read upRead up
- Exclude checks
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. [151/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Settings.Master.IapSettings" do
optional :daily_bonus_coins, :int32, 1
repeated :daily_defender_bonus_per_pokemon, :int32, 2
optional :daily_defender_bonus_max_defenders, :int32, 3
- Read upRead up
- Exclude checks
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. [145/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Networking.Envelopes.Signature" do
optional :timestamp_since_start, :uint64, 2
repeated :location_fix, :message, 4, "POGOProtos.Networking.Envelopes.Signature.LocationFix"
optional :android_gps_info, :message, 5, "POGOProtos.Networking.Envelopes.Signature.AndroidGpsInfo"
- Read upRead up
- Exclude checks
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. [81/25] Open
add_enum "POGOProtos.Enums.PokemonFamilyId" do
value :FAMILY_UNSET, 0
value :FAMILY_BULBASAUR, 1
value :FAMILY_CHARMANDER, 4
value :FAMILY_SQUIRTLE, 7
- Read upRead up
- Exclude checks
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. [77/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Networking.Requests.Request" do
optional :request_type, :enum, 1, "POGOProtos.Networking.Requests.RequestType"
optional :request_message, :bytes, 2
end
- Read upRead up
- Exclude checks
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. [74/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Data.PokemonData" do
optional :id, :fixed64, 1
optional :pokemon_id, :enum, 2, "POGOProtos.Enums.PokemonId"
optional :cp, :int32, 3
- Read upRead up
- Exclude checks
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. [71/25] Open
add_enum "POGOProtos.Networking.Requests.RequestType" do
value :METHOD_UNSET, 0
value :PLAYER_UPDATE, 1
value :GET_PLAYER, 2
value :GET_INVENTORY, 4
- Read upRead up
- Exclude checks
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. [67/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Inventory.InventoryUpgrade" do
optional :item_id, :enum, 1, "POGOProtos.Inventory.Item.ItemId"
optional :upgrade_type, :enum, 2, "POGOProtos.Inventory.InventoryUpgradeType"
optional :additional_storage, :int32, 3
- Read upRead up
- Exclude checks
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. [66/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Data.Battle.BattlePokemonInfo" do
optional :pokemon_data, :message, 1, "POGOProtos.Data.PokemonData"
optional :current_health, :int32, 2
optional :current_energy, :int32, 3
- Read upRead up
- Exclude checks
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. [64/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Data.Player.Currency" do
optional :name, :string, 1
optional :amount, :int32, 2
end
- Read upRead up
- Exclude checks
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. [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
- Read upRead up
- Exclude checks
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.
File pogoprotos_networking_requests_messages.rb
has 283 lines of code (exceeds 250 allowed). Consider refactoring. Open
require 'google/protobuf'
require_relative 'pogoprotos_enums'
require_relative 'pogoprotos_inventory_item'
require_relative 'pogoprotos_data_player'
Method has too many lines. [38/30] Open
def find_poi(client, lat, lng)
step_size = 0.0015
step_limit = 49
coords = generate_spiral(lat, lng, step_size, step_limit)
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.
Block has too many lines. [48/25] Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Map.Fort.FortSummary" do
optional :fort_summary_id, :string, 1
optional :last_modified_timestamp_ms, :int64, 2
optional :latitude, :double, 3
- Read upRead up
- Exclude checks
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.