sn_geoip_ip_info()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
function geoip_status(){return sn_function_call('geoip_status', array(&$result));}
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $result seems to be never defined.
Loading history...
4
function sn_geoip_status(&$result) {
5
  return $result = false;
6
}
7
8
function geoip_ip_info($ip){return sn_function_call('geoip_ip_info', array($ip, &$result));}
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $result seems to be never defined.
Loading history...
9
function sn_geoip_ip_info($ip, &$result) {
10
  return $result = false;
11
}
12