Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.38ms] Passed 4 tests
This is a short check of server-side resources used by SoundCloud Ultimate Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.18 ▼6.48 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.28 ▼16.19 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.82 ▼1.86 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.62 ▼8.98 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.26 ▼0.92 |
Server storage [IO: ▲0.45MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
SoundCloud Ultimate Plugin: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.65 ▼0.65 | 1.60 ▼0.28 | 45.39 ▲2.47 |
Dashboard /wp-admin | 2,224 ▲33 | 4.95 ▼0.96 | 95.40 ▼13.64 | 66.44 ▲21.25 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.05 ▲0.04 | 35.28 ▲2.19 | 30.59 ▼5.98 |
Add New Post /wp-admin/post-new.php | 1,527 ▼3 | 17.47 ▼5.72 | 765.04 ▲64.60 | 53.29 ▼1.30 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.07 ▼0.10 | 95.87 ▼1.06 | 69.56 ▲22.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/soundcloud-ultimate/wp-scu-display-usage.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(): Failed opening 'WPSHQ_SCU_PLUGIN_PATH/includes/wpscu-list-table.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/soundcloud-ultimate/wp-scu-display-tracks.php on line 6
- > PHP Warning
Use of undefined constant WPSHQ_SCU_PLUGIN_PATH - assumed 'WPSHQ_SCU_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/soundcloud-ultimate/wp-scu-display-tracks.php on line 6
- > PHP Warning
include_once(WPSHQ_SCU_PLUGIN_PATH/includes/wpscu-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/soundcloud-ultimate/wp-scu-display-tracks.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'WP_SCU_List_Table' not found in wp-content/plugins/soundcloud-ultimate/wp-scu-display-tracks.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/soundcloud-ultimate/wp-soundcloud-ultimate.php:27
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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
7 plugin tags: soundcloud plugin, music, soundcloud wordpress, soundcloud, podcast...
soundcloud-ultimate/wp-soundcloud-ultimate.php 92% from 13 tests
The main file in "SoundCloud Ultimate Plugin" v. 1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("soundcloud-ultimate.php" instead of "wp-soundcloud-ultimate.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,895 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 363 | 755 | 1,783 |
CSS | 1 | 5 | 0 | 57 |
JavaScript | 2 | 3 | 3 | 55 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 18.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 94 | 93.07% |
▷ Protected methods | 7 | 6.93% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/soundcloud-icon.png | 0.53KB | 0.73KB | 0.00% |