efigence/cracklib_reloaded

View on GitHub

Showing 13 of 13 total issues

CracklibReloaded::Password has no descriptive comment
Open

class Password
Severity: Minor
Found in lib/cracklib_reloaded/password.rb by reek

CracklibReloaded::Password::Errors has no descriptive comment
Open

class Errors
Severity: Minor
Found in lib/cracklib_reloaded/password.rb by reek

CracklibReloaded::Password assumes too much for instance variable '@message'
Open

class Password
Severity: Minor
Found in lib/cracklib_reloaded/password.rb by reek

CracklibReloaded has no descriptive comment
Open

module CracklibReloaded
Severity: Minor
Found in lib/cracklib_reloaded.rb by reek

CracklibReloaded::CracklibReloadedFfiMixin has no descriptive comment
Open

module CracklibReloadedFfiMixin
Severity: Minor
Found in lib/cracklib_reloaded/password.rb by reek

CracklibReloaded::Password#weak? performs a nil-check
Open

!@message.nil?
Severity: Minor
Found in lib/cracklib_reloaded/password.rb by reek

Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency coveralls should appear before rubygems-manifest.
Open

spec.add_development_dependency 'coveralls', '0.8.19'
Severity: Minor
Found in cracklib_reloaded.gemspec by rubocop

Favor modifier unless usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Open

unless defined?(RUBY_ENV)
Severity: Minor
Found in env.rb by rubocop

Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency github_changelog_generator should appear before rspec.
Open

spec.add_development_dependency 'github_changelog_generator', '~> 1'
Severity: Minor
Found in cracklib_reloaded.gemspec by rubocop

Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency codeclimate-test-reporter should appear before simplecov-console.
Open

spec.add_development_dependency 'codeclimate-test-reporter', '0.4.8'
Severity: Minor
Found in cracklib_reloaded.gemspec by rubocop

Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency fuubar should appear before github_changelog_generator.
Open

spec.add_development_dependency 'fuubar', '~> 2'
Severity: Minor
Found in cracklib_reloaded.gemspec by rubocop

TODO found
Open

# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
Severity: Minor
Found in .gitignore by fixme

TODO found
Open

# TODO Comment out this rule if environment variables can be committed
Severity: Minor
Found in .gitignore by fixme
Severity
Category
Status
Source
Language