nesquena/gitdocs

View on GitHub
test/support/git_factory.rb

Summary

Maintainability
A
0 mins
Test Coverage

Module has too many lines. [103/100]
Open

module GitFactory
  class << self
    attr_accessor :working_directory

    def configure
Severity: Minor
Found in test/support/git_factory.rb by rubocop

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

    def bare_commit(repo_name, filename, content, author_id = 0)
      commit_message = 'commit'
      repo = rugged_repository(repo_name)

      index = Rugged::Index.new
Severity: Minor
Found in test/support/git_factory.rb by rubocop

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

There are no issues that match your filters.

Category
Status