fga-gpp-mds/2017.1-Escola-X

View on GitHub

Showing 3,213 of 3,213 total issues

(...) interpreted as grouped expression.
Open

When (/^I press "Visualizar Secretários" button$/) do

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad

puts (x + y)

Example:

# good

puts(x + y)

(...) interpreted as grouped expression.
Open

When (/^I press "Nova Notificação" button$/) do

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad

puts (x + y)

Example:

# good

puts(x + y)

(...) interpreted as grouped expression.
Open

Then (/^I see nofications information$/) do

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad

puts (x + y)

Example:

# good

puts(x + y)

(...) interpreted as grouped expression.
Open

Then (/^I see all classrooms$/) do

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad

puts (x + y)

Example:

# good

puts(x + y)

Tab detected.
Open

    driver.get('http://localhost:3000/parents/1/edit')

(...) interpreted as grouped expression.
Open

And (/^I press Notificacoes button$/) do

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad

puts (x + y)

Example:

# good

puts(x + y)

Tab detected.
Open

    driver.get('http://localhost:3000/alumns/1/strikes/1')

(...) interpreted as grouped expression.
Open

When (/^I press "Sair" button$/) do

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad

puts (x + y)

Example:

# good

puts(x + y)

(...) interpreted as grouped expression.
Open

Then (/^I create a notification$/) do

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad

puts (x + y)

Example:

# good

puts(x + y)

Tab detected.
Open

    driver.get('http://localhost:3000/secretaries')

Line is too long. [99/80]
Open

And (/^I fill in "Motivo" with "Arrecadar fundos pra formatura do pessoal de Softy e de Aero"$/) do

Use snake_case for variable names.
Open

    birthDate = driver.find_element(:name, 'teacher[birth_date]')

This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

Example: EnforcedStyle: snake_case (default)

# bad
fooBar = 1

# good
foo_bar = 1

Example: EnforcedStyle: camelCase

# bad
foo_bar = 1

# good
fooBar = 1

Tab detected.
Open

    driver.get('http://localhost:3000/notifications/3')

Do not use parentheses for method calls with no arguments.
Open

    parent_address.clear()

This cop checks for unwanted parentheses in parameterless method calls.

Example:

# bad
object.some_method()

# good
object.some_method

Tab detected.
Open

    driver.get('http://localhost:3000/secretaries')

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

    senhaUser.send_keys "555555555"

Checks if uses of quotes match the configured preference.

Example: EnforcedStyle: single_quotes (default)

# bad
"No special symbols"
"No string interpolation"
"Just text"

# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"

Example: EnforcedStyle: double_quotes

# bad
'Just some text'
'No special chars or interpolation'

# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"

Tab detected.
Open

    advertencia = driver.find_element(:name, 'strikebtn')

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

    matriculaUser.send_keys "153456"

Checks if uses of quotes match the configured preference.

Example: EnforcedStyle: single_quotes (default)

# bad
"No special symbols"
"No string interpolation"
"Just text"

# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"

Example: EnforcedStyle: double_quotes

# bad
'Just some text'
'No special chars or interpolation'

# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"

Tab detected.
Open

    driver.get('http://localhost:3000/notifications')

(...) interpreted as grouped expression.
Open

And (/^I fill in "Nome" with "Victor Hugo"$/) do

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad

puts (x + y)

Example:

# good

puts(x + y)
Severity
Category
Status
Source
Language