toreta/time_second

View on GitHub

Showing 15 of 15 total issues

TimeSecond#/ has the variable name 'r'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#% has the variable name 'l'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#+ has the variable name 'r'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#+ has the variable name 'l'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#- has the variable name 'r'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#/ has the variable name 'l'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#self.parse has the variable name 'h'
Open

h, m, s = str.split(':')
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#* has the variable name 'r'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#% has the variable name 'r'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#* has the variable name 'l'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#self.parse has the variable name 'm'
Open

h, m, s = str.split(':')
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#self.parse has the variable name 's'
Open

h, m, s = str.split(':')
Severity: Minor
Found in lib/time_second.rb by reek

TimeSecond#- has the variable name 'l'
Open

r, l = @time.coerce(other)
Severity: Minor
Found in lib/time_second.rb by reek

Use =~ in places where the MatchData returned by #match will not be used.
Open

unless str.match(/\A\d{1,2}:\d{2}(?:\:\d{2})?\z/)
Severity: Minor
Found in lib/time_second.rb by rubocop

Freeze mutable objects assigned to constants.
Open

VERSION = '0.1.0'
Severity: Minor
Found in lib/time_second.rb by rubocop
Severity
Category
Status
Source
Language