Showing 10 of 10 total issues
Method infoFrom
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
private function infoFrom(array $server) { if (isset($server["TRAVIS"])) { return $this->travisProperties($server); }
Function infoFrom
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
private function infoFrom(array $server) { if (isset($server["TRAVIS"])) { return $this->travisProperties($server); }
- Read upRead up
Avoid too many return
statements within this method. Open
return $this->tddiumProperties($server);
Avoid too many return
statements within this method. Open
return $this->gitlabCiProperties($server);
Avoid too many return
statements within this method. Open
return $this->codeshipProperties($server);
Avoid too many return
statements within this method. Open
return $this->werckerProperties($server);
Avoid too many return
statements within this method. Open
return array();
Avoid too many return
statements within this method. Open
return $this->buildkiteProperties($server);
The method infoFrom() has an NPath complexity of 768. The configured NPath complexity threshold is 200. Open
private function infoFrom(array $server) { if (isset($server["TRAVIS"])) { return $this->travisProperties($server); }
- Read upRead up
- Exclude checks
The method infoFrom() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10. Open
private function infoFrom(array $server) { if (isset($server["TRAVIS"])) { return $this->travisProperties($server); }
- Read upRead up
- Exclude checks