Authenticate   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 3
Bugs 1 Features 1
Metric Value
wmc 1
c 3
b 1
f 1
lcom 0
cbo 1
dl 0
loc 5
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getData() 0 3 1
1
<?php
2
namespace Cassandra\Response;
3
use Cassandra\Protocol\Frame;
4
5
class Authenticate extends Response {
6
	public function getData(){
7
		return unpack('n', $this->getBody())[1];
8
	}
9
}
10