Privacy-friendly and self-hosted stats for WordPress. Simple interface, plug and play, lightning fast.
| Code | Message | Location | Category | |
|---|---|---|---|---|
| ERROR | Generic.PHP.DisallowShortOpenTag.EchoFound | Short PHP opening tag used with echo; expected "<?php echo esc_html__ ..." but found "<?= esc_html__ ..." | 83:116 | — |
| ERROR | Generic.PHP.DisallowShortOpenTag.EchoFound | Short PHP opening tag used with echo; expected "<?php echo esc_html__ ..." but found "<?= esc_html__ ..." | 84:25 | — |
| ERROR | WordPress.WP.AlternativeFunctions.rename_rename | rename() is discouraged. Use WP_Filesystem::move() to rename a file. | 36:21 | Plugin Repo |
| ERROR | WordPress.Security.EscapeOutput.OutputNotEscaped | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'number_format_i18n'. | 196:65 | Security |
| ERROR | WordPress.WP.AlternativeFunctions.file_system_operations_fopen | File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen(). | 47:25 | Plugin Repo |
| ERROR | WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound | Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$i". | 235:54 | Plugin Repo |
| ERROR | PluginCheck.Security.DirectDB.UnescapedDBParameter | Unescaped parameter $query used in $wpdb->query($query)\n$query assigned unsafely at line 293:\n $query = $wpdb->prepare("INSERT INTO {$wpdb->prefix}koko_analytics_post_stats(date, path_id, post_id, visitors, pageviews) VALUES {$placeholders} ON DUPLICATE KEY UPDATE visitors = visitors + VALUES(visitors), pageviews = pageviews + VALUES(pageviews)", $values)\n$placeholders assigned unsafely at line 285:\n $placeholders = rtrim(str_repeat('(%s,%d,%d,%d,%d),', count($item->postviews)), ',')\n$item->postviews assigned unsafely at line 266:\n $item->postviews = array_map(function ($postviews) {\n $permalink = get_permalink($postviews->post_id);\n if (!$permalink) {\n $postviews->path = '/?p=' . $postviews->post_id;\n } else {\n $postviews->path = parse_url($permalink, PHP_URL_PATH);\n }\n return $postviews;\n }, $item->postviews)\n$permalink used without escaping. | 302:20 | Security |
| ERROR | WordPress.WP.AlternativeFunctions.file_system_operations_fclose | File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose(). | 78:10 | Plugin Repo |
| ERROR | WordPress.WP.AlternativeFunctions.unlink_unlink | unlink() is discouraged. Use wp_delete_file() to delete a file. | 79:10 | Plugin Repo |
| ERROR | WordPress.WP.AlternativeFunctions.parse_url_parse_url | parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead. | 61:22 | Plugin Repo |
| 11/13/2025, 1:17:05 AM | 14s | 12 | 327 | 402 |