rathena / FluxCP

Function with cyclomatic complexity higher than threshold found PHP-R1006
Anti-pattern
Minor
2 occurrences in this check
url has a cyclomatic complexity of 18 with "High" risk
 613	 * @param string $actionName
 614	 * @access public
 615	 */
 616	public function url($moduleName, $actionName = null, $params = array()) 617	{
 618		$defaultAction  = Flux_Dispatcher::getInstance()->defaultAction;
 619		$serverProtocol = '';
render has a cyclomatic complexity of 32 with "Very high" risk
 279	 * @param array $dataArr Key=>value pairs of variables to be exposed to the template as globals.
 280	 * @access public
 281	 */
 282	public function render(array $dataArr = array()) 283	{
 284		// GZip compression.
 285		if (Flux::config('GzipCompressOutput')) {