Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/clickskins/classes/base.class.php+276
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼1.78MB] [CPU: ▼188.06ms] Passed 4 tests
This is a short check of server-side resources used by Click skin - Website enhancements and an alternative to banner ads
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.85 ▼0.87 | 7.02 ▼13.81 |
Dashboard /wp-admin | 1.87 ▼1.19 | 5.95 ▼36.85 |
Posts /wp-admin/edit.php | 1.87 ▼1.24 | 5.46 ▼38.50 |
Add New Post /wp-admin/post-new.php | 1.87 ▼3.57 | 6.17 ▼650.73 |
Media Library /wp-admin/upload.php | 1.87 ▼1.13 | 5.60 ▼26.15 |
Click skins /wp-admin/admin.php?page=clickskins/admin/admin_init.php | 1.87 | 5.49 |
Audio Settings /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings | 1.87 | 9.95 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_spc_flakes |
New WordPress options |
---|
snapycode_flake_installed |
Browser metrics Passed 4 tests
Checking browser requirements for Click skin - Website enhancements and an alternative to banner ads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,958 ▲376 | 17.72 ▲1.75 | 9.15 ▼0.23 | 48.23 ▲1.55 |
Dashboard /wp-admin | 3,208 ▲277 | 8.02 ▲2.05 | 159.22 ▲16.89 | 136.63 ▲33.67 |
Posts /wp-admin/edit.php | 3,036 ▲297 | 4.37 ▲1.65 | 81.34 ▲17.92 | 99.84 ▲2.58 |
Add New Post /wp-admin/post-new.php | 1,653 ▲155 | 21.84 ▲3.05 | 267.79 ▼104.21 | 101.54 ▼5.37 |
Media Library /wp-admin/upload.php | 1,805 ▼5 | 4.94 ▼0.08 | 117.40 ▼34.76 | 133.95 ▲17.32 |
Click skins /wp-admin/admin.php?page=clickskins/admin/admin_init.php | 1,583 | 4.49 | 74.81 | 88.44 |
Audio Settings /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings | 1,445 | 3.95 | 70.81 | 98.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/clickskins/classes/base.class.php+276
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- This plugin did not uninstall successfully, leaving 1 option in the database
- snapycode_flake_installed
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > Deprecated in wp-content/plugins/clickskins/classes/base.class.php+276
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-core handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-tabs handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-effects-core handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-datepicker handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > Notice in wp-content/plugins/clickskins/admin/admin_init.php+51
Undefined variable: submenu2
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php
- > Notice in wp-content/plugins/clickskins/admin/admin_menu_spcflakes.php+509
Undefined variable: where
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'SnapycodeFlake' not found in wp-content/plugins/clickskins/admin/admin_menu_spcflakes.php:25
- > PHP Fatal error
Uncaught Error: Class 'SnapycodeFlake' not found in wp-content/plugins/clickskins/admin/admin_menu_spcflakes.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clickskins/clickskin.php:26
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8.1 1:31592 "jQuery.Deferred exception: jQuery(...).wpColorPicker is not a function" "TypeError: jQuery(...).wpColorPicker is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/clickskins/assets/js/snapycode_flake_admin.js?ver=5.8.1:4:32)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8.1:2:30340)" undefined
- > GET request to /wp-admin/admin.php?page=clickskins/admin/admin_init.php_settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.8.1 1:31702 Uncaught TypeError: jQuery(...).wpColorPicker is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: clickskin, ads, website, alternative, enhancements
clickskins/clickskin.php 92% from 13 tests
"Click skin - Website enhancements and an alternative to banner ads" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("clickskins.php" instead of "clickskin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin5,965 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 2,119 | 1,193 | 4,339 |
PHP | 5 | 521 | 153 | 834 |
CSS | 5 | 137 | 50 | 749 |
HTML | 1 | 22 | 2 | 43 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 5.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 10.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
17 compressed PNG files occupy 0.10MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/info.png | 1.52KB | 1.49KB | ▼ 2.37% |
assets/images/complete.png | 0.52KB | 0.57KB | 0.00% |
assets/images/error.png | 1.38KB | 1.31KB | ▼ 5.30% |
assets/images/settings_icon.png | 18.56KB | 6.42KB | ▼ 65.40% |
assets/images/warning.png | 1.38KB | 1.46KB | 0.00% |