refactor: Refactor grading related functions to use atoms (#1187) #1581
Annotations
20 warnings
mix ecto.setup:
lib/cadet/assessments/assessments.ex#L919
variable "team" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
mix ecto.setup:
lib/cadet/assessments/assessments.ex#L2657
variable "cr_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
mix ecto.setup
router paths should begin with a forward slash, got: ""
|
mix ecto.setup:
lib/cadet_web/controllers/answer_controller.ex#L82
clauses with the same name and arity (number of arguments) should be grouped together, "def submit/2" was previously defined (lib/cadet_web/controllers/answer_controller.ex:12)
|
mix ecto.setup:
lib/cadet/accounts/teams.ex#L47
variable "student_ids" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
mix ecto.setup:
lib/cadet/accounts/teams.ex#L88
variable "all_ids_distinct" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
mix ecto.setup:
lib/cadet/accounts/teams.ex#L70
defp student_already_assigned?/2 is private, @doc attribute is always discarded for private functions/macros/types
|
mix ecto.setup:
lib/cadet/accounts/teams.ex#L94
defp all_students_distinct?/1 is private, @doc attribute is always discarded for private functions/macros/types
|
mix ecto.setup:
lib/cadet/accounts/teams.ex#L119
defp all_team_within_max_size?/2 is private, @doc attribute is always discarded for private functions/macros/types
|
mix ecto.setup:
lib/cadet/accounts/teams.ex#L139
defp all_student_enrolled_in_course?/2 is private, @doc attribute is always discarded for private functions/macros/types
|
mix coveralls.github (run tests)
:included_environments option is deprecated. Use :dsn to control whether to send events to Sentry.
|
mix coveralls.github (run tests)
CadetWeb.Endpoint.init/2 is deprecated, use config/runtime.exs instead or pass additional options when starting the endpoint in your supervision tree
|
mix coveralls.github (run tests):
test/cadet_web/plug/rate_limiter_test.exs#L25
variable "key" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
mix coveralls.github (run tests):
test/cadet_web/plug/rate_limiter_test.exs#L3
unused import Plug.Conn
|
mix coveralls.github (run tests)
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
mix coveralls.github (run tests)
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
mix coveralls.github (run tests)
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
mix coveralls.github (run tests)
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
mix coveralls.github (run tests)
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
mix coveralls.github (run tests)
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
Loading