Showing 83 of 87 total issues
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}-alpha.*/i)
Avoid too many return
statements within this method. Open
Open
return result
Avoid too many return
statements within this method. Open
Open
return true if (stability.casecmp( A_STABILITY_BETA ) == 0) && beta
Avoid too many return
statements within this method. Open
Open
return true if value.to_s.match(/.+SP.*/i)
Avoid too many return
statements within this method. Open
Open
return -1 if a_val.length > b_val.length && a_val.to_s.match(/\A#{a_val}-rc.*/i)
Avoid too many return
statements within this method. Open
Open
return 1 if a_val.length > b_val.length && a_val.to_s.match(/\A#{b_val}u\d/i)
Avoid too many return
statements within this method. Open
Open
return true if (stability.casecmp( A_STABILITY_DEV ) == 0)
Avoid too many return
statements within this method. Open
Open
return 1 if ( part1.eql?("0") && part2.to_s.match(/^[a-zA-Z]+/) )
Avoid too many return
statements within this method. Open
Open
return 1 if pm2 && pm1 && pm1[1].eql?(part2) && VersionTagRecognizer.stable?(pm1[2])
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}-SNAPSHOT/i)
Avoid too many return
statements within this method. Open
Open
return nil
Avoid too many return
statements within this method. Open
Open
return 11 if A_STABILITY_PATCH.eql? value
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;
Avoid too many return
statements within this method. Open
Open
return self.compare_special_cases part1, part2
Avoid too many return
statements within this method. Open
Open
return 10 if self.stable? value
Avoid too many return
statements within this method. Open
Open
return true if self.snapshot?(value)
Avoid too many return
statements within this method. Open
Open
return true if self.jbossorg?(value)
Avoid too many return
statements within this method. Open
Open
return true if (stability.casecmp( A_STABILITY_ALPHA ) == 0) && alpha
Avoid too many return
statements within this method. Open
Open
return true if (stability.casecmp( A_STABILITY_SNAPSHOT ) == 0) && snapshot