GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Worker   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 13
ccs 7
cts 7
cp 1
rs 10
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A perform() 0 9 2
1 1
module Textris
2 1
  module Delay
3 1
    module Sidekiq
4 1
      class Worker
5 1
        include ::Sidekiq::Worker
6
7 1
        def perform(texter, action, args)
8 8
          texter = texter.safe_constantize
9
10 8
          if texter.present?
11 8
            args = ::Textris::Delay::Sidekiq::Serializer.deserialize(args)
12
13 8
            texter.new(action, *args).call_action.deliver
14
          end
15
        end
16
      end
17
    end
18
  end
19
end
20