http   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 6
dl 0
loc 17
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A recipientOfIntegerIs() 0 3 1
A recipientOfUnsignedIntegeris() 0 3 1
A recipientOfStringIs() 0 3 1
1
<?php namespace norsys\score\net\port;
2
3
use norsys\score\{
4
	net\port,
5
	php
6
};
7
8
class http
9
	implements
10
		port
11
{
12
	function recipientOfStringIs(php\string\recipient $recipient) :void
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
13
	{
14
		$recipient->stringIs('80');
15
	}
16
17
	function recipientOfIntegerIs(php\integer\recipient $recipient) :void
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
18
	{
19
		$recipient->integerIs(80);
20
	}
21
22
	function recipientOfUnsignedIntegeris(php\integer\unsigned\recipient $recipient) :void
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
23
	{
24
		$recipient->unsignedIntegerIs(80);
25
	}
26
}
27