ConsumerCommand   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 71.43%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getConsumerService() 0 3 1
A configure() 0 5 1
1
<?php
2
3
namespace OldSound\RabbitMqBundle\Command;
4
5
class ConsumerCommand extends BaseConsumerCommand
6
{
7 1
    protected function configure()
8
    {
9 1
        parent::configure();
10 1
        $this->setDescription('Executes a consumer');
11 1
        $this->setName('rabbitmq:consumer');
12 1
    }
13
14
    protected function getConsumerService()
15
    {
16
        return 'old_sound_rabbit_mq.%s_consumer';
17
    }
18
}
19