mhenrixon/sidekiq-unique-jobs

View on GitHub
lib/sidekiq_unique_jobs/changelog.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Complex method SidekiqUniqueJobs::Changelog#page (20.6)
Open

    def page(cursor: 0, pattern: "*", page_size: 100)
      redis do |conn|
        total_size, result = conn.multi do |pipeline|
          pipeline.zcard(key)
          pipeline.zscan(key, cursor, match: pattern, count: page_size)
Severity: Minor
Found in lib/sidekiq_unique_jobs/changelog.rb by flog

Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.

You can read more about ABC metrics or the flog tool

There are no issues that match your filters.

Category
Status