Showing 2 of 2 total issues
File random_user.rb
has 300 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class RandomUser
def initialize(app)
@app = app
end
Function inWords
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
inWords: function(distanceMillis) {
var $l = this.settings.strings;
var prefix = $l.prefixAgo;
var suffix = $l.suffixAgo;
if (this.settings.allowFuture) {