Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.20ms] 75% from 4 tests
This is a short check of server-side resources used by Clicky by Yoast
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 749.17ms on /wp-admin/options-general.php?page=clicky)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.87 ▲1.64 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.41 ▼0.44 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.83 ▲0.60 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 85.16 ▼7.80 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.52 ▼5.17 |
Clicky /wp-admin/options-general.php?page=clicky | 7.55 | 749.17 |
Clicky Stats /wp-admin/index.php?page=clicky_stats | 3.27 | 31.66 |
Server storage [IO: ▲0.30MB] [DB: ▲0.55MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 77 new files
Database: no new tables, 7 new options
New WordPress options |
---|
clicky |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Clicky by Yoast
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲82 | 13.19 ▼1.19 | 2.00 ▲0.25 | 43.73 ▲1.19 |
Dashboard /wp-admin | 2,220 ▲32 | 5.83 ▲0.93 | 100.87 ▼5.54 | 37.85 ▼3.74 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.05 ▲0.05 | 39.66 ▲2.93 | 34.88 ▲1.21 |
Add New Post /wp-admin/post-new.php | 6,282 ▲4,768 | 19.86 ▲2.42 | 885.01 ▲189.17 | 57.35 ▲3.08 |
Media Library /wp-admin/upload.php | 1,405 ▲20 | 4.25 ▼0.05 | 93.62 ▼7.89 | 40.78 ▼2.48 |
Clicky /wp-admin/options-general.php?page=clicky | 1,024 | 2.24 | 26.30 | 33.20 |
Clicky Stats /wp-admin/index.php?page=clicky_stats | 790 | 2.19 | 25.48 | 23.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.55MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- clicky
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/clicky/admin/views/stats-page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/clicky/admin/views/admin-page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/clicky/admin/views/meta-box.php:12
- > PHP Fatal error
Uncaught Error: Class 'Clicky_Options' not found in wp-content/plugins/clicky/admin/options-admin.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/clicky/frontend/views/script.php:19
- > PHP Fatal error
Uncaught Error: Class 'Clicky_Admin' not found in wp-content/plugins/clicky/admin/admin-page.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/clicky/frontend/views/comment-author-script.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/clicky/admin/views/like-box.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/index.php?page=clicky_stats
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://clicky.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: statistics, clicky, affiliate, analytics, getclicky
clicky/clicky.php 85% from 13 tests
The main PHP script in "Clicky by Yoast" version 2.0 is automatically included on every request by WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 186 characters long)
- Requires PHP: Required version does not match the one declared in readme.txt ("5.6.20" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,486 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 295 | 770 | 1,462 |
Markdown | 1 | 11 | 0 | 20 |
CSS | 3 | 0 | 0 | 3 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 4 | 4.30% |
▷ Public methods | 57 | 61.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 36 | 38.71% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/email_sub.png | 0.69KB | 0.81KB | 0.00% |
images/rss.png | 0.70KB | 0.70KB | 0.00% |
images/clicky-32x32.png | 1.76KB | 1.76KB | 0.00% |
images/twitter-icon.png | 0.64KB | 1.02KB | 0.00% |
images/facebook-icon.png | 0.68KB | 0.90KB | 0.00% |