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
462
	 * @param string $extra_chars Valid characters not in iunreserved or
463
	 *                            iprivate (this is ASCII-only)
464
	 * @param bool $iprivate Allow iprivate
465
	 * @return string
466
	 */
467
	protected function replace_invalid_with_pct_encoding($string, $extra_chars, $iprivate = false)
468
	{
469
		// Normalize as many pct-encoded sections as possible
470
		$string = preg_replace_callback('/(?:%[A-Fa-f0-9]{2})+/', array($this, 'remove_iunreserved_percent_encoded'), $string);
471
 
472
		// Replace invalid percent characters
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
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