3scale/porta

View on GitHub
app/representers/cinstance_representer.rb

Summary

Maintainability
A
0 mins
Test Coverage

CinstanceRepresenter has the variable name 'v2'
Open

  with_options(if: ->(*) { backend_version.v2? || backend_version.oauth? }, render_nil: true) do |v2|

An Uncommunicative Variable Name is a variable name that doesn't communicate its intent well enough.

Poor names make it hard for the reader to build a mental picture of what's going on in the code. They can also be mis-interpreted; and they hurt the flow of reading, because the reader must slow down to interpret the names.

CinstanceRepresenter has the variable name 'v1'
Open

  with_options(if: ->(*) { backend_version.v1? }, render_nil: true) do |v1|

An Uncommunicative Variable Name is a variable name that doesn't communicate its intent well enough.

Poor names make it hard for the reader to build a mental picture of what's going on in the code. They can also be mis-interpreted; and they hurt the flow of reading, because the reader must slow down to interpret the names.

There are no issues that match your filters.

Category
Status