Use Enum.count instead of count for team_count/size (#324) #44
Annotations
10 errors and 6 warnings
Build and test:
test/teiserver/battle/balance_lib_internal_test.exs#L10
test Able to standardise groups with incomplete data (Teiserver.Battle.BalanceLibInternalTest)
|
Build and test:
test/teiserver_web/live/microblog/admin/tag_live_test.exs#L52
test Basic auth test basic user (TeiserverWeb.TagLiveTest)
|
Build and test:
test/teiserver_web/live/microblog/admin/post_live_test.exs#L52
test Basic auth test basic user (TeiserverWeb.PostLiveTest)
|
Build and test:
test/teiserver_web/live/battle_live_test.exs#L84
test battle live show - valid battle (TeiserverWeb.Live.BattleTest)
|
Build and test:
test/teiserver_web/live/battle_live_test.exs#L161
test battle live chat - valid battle (TeiserverWeb.Live.BattleTest)
|
Build and test:
test/teiserver_web/live/client_live_test.exs#L60
test client live show - valid client (TeiserverWeb.Live.ClientTest)
|
Build and test:
test/teiserver_web/live/client_live_test.exs#L19
test client live index (TeiserverWeb.Live.ClientTest)
|
Build and test:
test/teiserver_web/live/client_live_test.exs#L78
test client live show - no client (TeiserverWeb.Live.ClientTest)
|
Build and test:
test/teiserver_web/live/account/profile/overview_test.exs#L60
test join lobby renders error flash when client is not connected (TeiserverWeb.Live.Account.Profile.OverviewTest)
|
Build and test:
test/teiserver_web/controllers/report/general_controller_test.exs#L11
test index (TeiserverWeb.Report.GeneralControllerTest)
|
Build and test:
test/teiserver/protocols/spring/spring_auth_test.exs#L563
variable "user" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Build and test:
test/teiserver_web/controllers/api/spads_controller_test.exs#L107
Teiserver.User.update_user/1 is undefined (module Teiserver.User is not available or is yet to be defined)
|
Build and test:
lib/teiserver_web/live/account/profile/overview.ex#L289
variable "user_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Build and test:
lib/teiserver_web/live/account/profile/overview.ex#L288
clauses with the same name and arity (number of arguments) should be grouped together, "def handle_event/3" was previously defined (lib/teiserver_web/live/account/profile/overview.ex:87)
|
Build and test:
lib/teiserver_web/live/account/profile/overview.ex#L328
clauses with the same name and arity (number of arguments) should be grouped together, "def get_relationships_and_permissions/1" was previously defined (lib/teiserver_web/live/account/profile/overview.ex:272)
|
|