1.2.1374. Used Methods¶
Those methods are used in the code: this means they have a definition and at least one call. They may have more than one call too. This analysis is mostly useful for detecting unused methods.
<?php
class foo {
public function used() {
$this->used();
}
// No usage of 'unused', as method call, in or out of the definition class.
public function unused() {
$this->used();
}
}
class bar extends foo {
public function some() {
$this->used();
}
}
$a = new foo();
$a->used();
?>
1.2.1374.1. Connex PHP features¶
1.2.1374.1.1. Specs¶
Short name |
Classes/UsedMethods |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |