Showing 83 of 87 total issues
Avoid too many return
statements within this method. Open
Open
return 1
Avoid too many return
statements within this method. Open
Open
return true if self.pre?(value)
Avoid too many return
statements within this method. Open
Open
return value.gsub(/\.snapshot.*$/i, "")
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return A_STABILITY_RC
Avoid too many return
statements within this method. Open
Open
return A_STABILITY_BETA
Avoid too many return
statements within this method. Open
Open
return -1 if am && bm && am[1].eql?(bm[1])
Avoid too many return
statements within this method. Open
Open
return 1 if ( part2.eql?("0") && part1.to_s.match(/^[1-9]+[-_a-zA-Z]+/) )
Avoid too many return
statements within this method. Open
Open
return 1 if ( pm1 && pm2 && pm2[1].eql?(part1) && VersionTagRecognizer.stable?(pm2[2]) )
Avoid too many return
statements within this method. Open
Open
return 1 if try_to_i_bigger( pm1, pm2, part2 )
Avoid too many return
statements within this method. Open
Open
return value.gsub(/\.[\w-]*pre.*$/i, "")
Avoid too many return
statements within this method. Open
Open
return A_STABILITY_PRE
Avoid too many return
statements within this method. Open
Open
return A_STABILITY_ALPHA
Avoid too many return
statements within this method. Open
Open
return 1 if b_val.length > a_val.length && b_val.to_s.match(/\A#{a_val}-BETA.*/i)
Avoid too many return
statements within this method. Open
Open
return 1 if b_val.length > a_val.length && b_val.to_s.match(/\A#{a_val}-rc.*/i)
Avoid too many return
statements within this method. Open
Open
return -1 if ( part2.eql?("0") && part1.to_s.match(/^[a-zA-Z]+/) )
Avoid too many return
statements within this method. Open
Open
return 1 if am && bm && am[1].eql?(bm[1])
Avoid too many return
statements within this method. Open
Open
return 1 if ( part1.match(/\A[0-9]+\z/) && !part2.match(/\A[0-9]+\z/) )
Avoid too many return
statements within this method. Open
Open
return 1 if try_to_i_bigger( pm1, pm2, part2 )
Avoid too many return
statements within this method. Open
Open
return value