Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.35MB] [CPU: ▲3.90ms] Passed 4 tests
A check of server-side resources used by Ultimate Push Notifications ( Mobile / Desktop ), Receive Notification From WooCommerce, BuddyPress, WordPress Default Events & Many More
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 45.76 ▲5.44 |
Dashboard /wp-admin | 3.68 ▲0.37 | 49.83 ▼0.06 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 53.71 ▲6.57 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 98.68 ▲3.66 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 40.35 ▲7.03 |
Set Notifications /wp-admin/admin.php?page=cs-upn-set-notifications | 3.83 | 40.08 |
Register My Device /wp-admin/admin.php?page=cs-upn-register-my-device | 3.66 | 42.94 |
All Registered Devices /wp-admin/admin.php?page=cs-upn-all-registered-devices | 3.63 | 35.06 |
App Config /wp-admin/admin.php?page=cs-upn-app-configuration | 3.65 | 36.01 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 62 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_upn_notifications |
wp_upn_user_devices |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
upn_plugin_version |
widget_recent-comments |
widget_recent-posts |
upn_plugin_install_date |
db_upgraded |
upn_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Push Notifications ( Mobile / Desktop ), Receive Notification From WooCommerce, BuddyPress, WordPress Default Events & Many More
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲58 | 14.26 ▲0.10 | 1.63 ▼0.74 | 42.29 ▼4.43 |
Dashboard /wp-admin | 2,235 ▲58 | 5.62 ▼0.03 | 86.53 ▼5.79 | 86.14 ▲44.44 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 2.03 ▲0.01 | 37.68 ▲2.42 | 35.84 ▼2.67 |
Add New Post /wp-admin/post-new.php | 1,582 ▲56 | 17.92 ▼5.16 | 681.78 ▼3.12 | 57.00 ▼12.94 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.17 ▼0.04 | 102.38 ▼0.00 | 81.84 ▲37.68 |
Set Notifications /wp-admin/admin.php?page=cs-upn-set-notifications | 1,364 | 1.93 | 27.40 | 47.64 |
Register My Device /wp-admin/admin.php?page=cs-upn-register-my-device | 1,026 | 1.91 | 26.24 | 33.34 |
All Registered Devices /wp-admin/admin.php?page=cs-upn-all-registered-devices | 997 | 1.80 | 23.38 | 44.33 |
App Config /wp-admin/admin.php?page=cs-upn-app-configuration | 1,029 | 1.94 | 22.88 | 47.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_upn_user_devices
- wp_upn_notifications
- The uninstall procedure has failed, leaving 9 options in the database
- upn_plugin_install_date
- widget_recent-comments
- upn_db_version
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- upn_plugin_version
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=cs-upn-all-registered-devices
- > Notice in wp-content/plugins/ultimate-push-notifications/core/admin/options/pages/AllRegisteredDevices.php+68
Undefined index: well
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: woocommerce, buddypress, push notification, cloud push notification, dokan...
ultimate-push-notifications/ultimate-push-notifications.php 92% from 13 tests
The main file in "Ultimate Push Notifications ( Mobile / Desktop ), Receive Notification From WooCommerce, BuddyPress, WordPress Default Events & Many More" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 189 characters long)
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
Good job! No executable or dangerous file extensions detected17,168 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 12,808 |
PHP | 39 | 1,006 | 1,489 | 4,241 |
JavaScript | 10 | 3 | 2 | 72 |
CSS | 4 | 1 | 3 | 47 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 35 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 209 | |
▷ Static methods | 66 | 31.58% |
▷ Public methods | 163 | 77.99% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 46 | 22.01% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-order-status.png | 3.99KB | 2.23KB | ▼ 44.03% |
assets/img/icon-product-added-to-cart.png | 4.21KB | 2.37KB | ▼ 43.72% |
assets/img/icon-push.png | 1.83KB | 1.97KB | 0.00% |
assets/img/icon-24x24.png | 1.26KB | 1.02KB | ▼ 19.01% |
assets/img/icon-new-user.png | 1.01KB | 1.01KB | 0.00% |