Filter by:
File Violation Severity
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method absolutize() has a Cyclomatic Complexity of 20. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method parse_iri() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method remove_dot_segments() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method replace_invalid_with_pct_encoding() has a Cyclomatic Complexity of 28. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method remove_iunreserved_percent_encoded() has a Cyclomatic Complexity of 36. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method scheme_normalization() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method is_valid() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.
Notice
764
	 * Check if the object represents a valid IRI. This needs to be done on each
765
	 * call as some things change depending on another part of the IRI.
766
	 *
767
	 * @return bool
768
	 */
769
	public function is_valid()
770
	{
771
		$isauthority = $this->iuserinfo !== null || $this->ihost !== null || $this->port !== null;
772
		if ($this->ipath !== '' &&
773
			(
774
				$isauthority && (
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method get_iri() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/bookmark.php CyclomaticComplexity   (kritika/PHPMD)
The function get_bookmark() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/bookmark.php CyclomaticComplexity   (kritika/PHPMD)
The function get_bookmarks() has a Cyclomatic Complexity of 38. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/bookmark.php CyclomaticComplexity   (kritika/PHPMD)
The function sanitize_bookmark_field() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/class-wp-site.php CyclomaticComplexity   (kritika/PHPMD)
The method __isset() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/comment.php CyclomaticComplexity   (kritika/PHPMD)
The function check_comment() has a Cyclomatic Complexity of 22. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/comment.php CyclomaticComplexity   (kritika/PHPMD)
The function wp_allow_comment() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/comment.php CyclomaticComplexity   (kritika/PHPMD)
The function get_comment_pages_count() has a Cyclomatic Complexity of 15. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/comment.php CyclomaticComplexity   (kritika/PHPMD)
The function get_page_of_comment() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/comment.php CyclomaticComplexity   (kritika/PHPMD)
The function wp_get_comment_fields_max_lengths() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/comment.php CyclomaticComplexity   (kritika/PHPMD)
The function wp_blacklist_check() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/comment.php CyclomaticComplexity   (kritika/PHPMD)
The function wp_delete_comment() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
Notice
wp-includes/SimplePie/IRI.php CyclomaticComplexity   (kritika/PHPMD)
The method __get() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.
Notice