Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold-widget.php+9
Function create_function() is deprecated
Server metrics [RAM: ▼2.53MB] [CPU: ▼345.65ms] Passed 4 tests
An overview of server-side resources used by SoundCloud Is Gold
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.84 ▼1.67 | 4.53 ▼42.86 |
Dashboard /wp-admin | 1.86 ▼1.55 | 3.59 ▼29.10 |
Posts /wp-admin/edit.php | 1.86 ▼1.78 | 4.02 ▼33.49 |
Add New Post /wp-admin/post-new.php | 1.86 ▼5.11 | 4.08 ▼1,277.15 |
Media Library /wp-admin/upload.php | 1.86 ▼1.43 | 3.58 ▼21.39 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 2 new options
New WordPress options |
---|
widget_soundcloud_is_gold_widget |
soundcloud_is_gold_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SoundCloud Is Gold
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,789 ▲35 | 15.86 ▼0.13 | 5.76 ▼0.16 | 2.09 ▼0.70 |
Dashboard /wp-admin | 2,897 ▲46 | 6.17 ▲0.05 | 115.30 ▼23.51 | 184.89 ▲23.00 |
Posts /wp-admin/edit.php | 2,711 ▲23 | 3.13 ▼0.10 | 66.20 ▲2.56 | 144.27 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,646 ▼73 | 20.34 ▼1.58 | 390.10 ▼32.90 | 155.28 ▲0.93 |
Media Library /wp-admin/upload.php | 1,718 ▲23 | 5.54 ▲0.04 | 124.83 ▼15.39 | 212.62 ▲25.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold-widget.php+9
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_soundcloud_is_gold_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold-widget.php:9
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold-advanced.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold-functions.php:396
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #5, #6 in soundcloud-is-gold/assets to your readme.txt
soundcloud-is-gold/soundcloud-is-gold.php 92% from 13 tests
Analyzing the main PHP file in "SoundCloud Is Gold" version 2.5.1
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 592 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,276 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 146 | 329 | 1,198 |
CSS | 2 | 32 | 48 | 694 |
JavaScript | 3 | 69 | 115 | 384 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 12.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 52 | |
▷ Named functions | 52 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/soundcloud-is-gold-icon.png | 0.44KB | 0.73KB | 0.00% |
images/addPointer.png | 0.14KB | 0.18KB | 0.00% |
images/active.png | 1.01KB | 1.17KB | 0.00% |
images/remove.png | 1.07KB | 1.35KB | 0.00% |
images/pag.png | 0.75KB | 1.17KB | 0.00% |