test/support/git_factory.rb
Module has too many lines. [103/100] Open
Open
module GitFactory
class << self
attr_accessor :working_directory
def configure
- Read upRead up
- Exclude checks
This cop checks if the length a module exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.
Assignment Branch Condition size for bare_commit is too high. [17.49/15] Open
Open
def bare_commit(repo_name, filename, content, author_id = 0)
commit_message = 'commit'
repo = rugged_repository(repo_name)
index = Rugged::Index.new
- Read upRead up
- Exclude checks
This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric