Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.73ms] Passed 4 tests
Server-side resources used by TechGasp Sound Master
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.57 ▼3.22 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.07 ▼6.79 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.84 ▼2.48 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.98 ▼14.41 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.00 ▲5.89 |
Sound Master /wp-admin/admin.php?page=soundcloud-master | 3.27 | 30.59 |
Add-ons /wp-admin/admin.php?page=soundcloud-master-admin-addons | 3.31 | 32.01 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_soundcloud_master_widget_buttons |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
TechGasp Sound Master: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲105 | 13.30 ▼1.28 | 1.68 ▲0.03 | 42.93 ▼1.48 |
Dashboard /wp-admin | 2,235 ▲50 | 5.87 ▲0.97 | 108.26 ▼15.05 | 66.97 ▲19.63 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 1.99 ▼0.07 | 38.43 ▼3.75 | 34.51 ▼3.56 |
Add New Post /wp-admin/post-new.php | 1,690 ▲176 | 21.93 ▲4.31 | 702.18 ▲46.31 | 52.27 ▼27.88 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.30 ▲0.07 | 113.35 ▲14.78 | 45.47 ▲2.81 |
Sound Master /wp-admin/admin.php?page=soundcloud-master | 1,763 | 8.23 | 205.19 | 79.62 |
Add-ons /wp-admin/admin.php?page=soundcloud-master-admin-addons | 1,088 | 2.01 | 24.56 | 35.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_soundcloud_master_widget_buttons
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/soundcloud-master/includes/soundcloud-master-widget-buttons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/soundcloud-master/includes/soundcloud-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/soundcloud-master/includes/soundcloud-master-admin-addons-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/soundcloud-master/includes/soundcloud-master-admin-addons.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/soundcloud-master/includes/soundcloud-master-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/soundcloud-master/includes/soundcloud-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/soundcloud-master/soundcloud-master.php:52
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=soundcloud-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=soundcloud-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=soundcloud-master
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yx/r/RBH7b7zeA6F.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=soundcloud-master
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yx/r/RBH7b7zeA6F.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
soundcloud-master/soundcloud-master.php Passed 13 tests
The main PHP file in "TechGasp Sound Master" ver. 5.1.4 adds more information about the plugin and also serves as the entry point for this plugin
135 characters long description:
TechGasp Sound Master is a light weight and shiny clean code wordpress plugin that you need to show off and sell your soundcloud music.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected427 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 27 | 60 | 427 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 2 | 22.22% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
12 PNG files occupy 0.30MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-minilogo-16.png | 1.86KB | 0.92KB | ▼ 50.87% |
images/techgasp-admin-addons-updater.png | 14.03KB | 13.02KB | ▼ 7.21% |
images/techgasp-admin-addons-support.png | 15.84KB | 14.85KB | ▼ 6.26% |
images/techgasp-admin-addons-shortcodes.png | 21.28KB | 20.24KB | ▼ 4.91% |
images/techgasp-admin-addons-widgets.png | 17.08KB | 16.02KB | ▼ 6.22% |