Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼0.50ms] Passed 4 tests
Server-side resources used by WP Push Notifications
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 43.27 ▲1.34 |
Dashboard /wp-admin | 3.52 ▲0.22 | 51.67 ▲1.27 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 53.76 ▲4.39 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 89.40 ▼9.01 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 40.89 ▲4.45 |
Send Notification /wp-admin/admin.php?page=wppn-send-notification | 3.36 | 38.32 |
Settings /wp-admin/admin.php?page=wppn-settings | 3.39 | 41.27 |
Subscribers /wp-admin/admin.php?page=wppn-subscribers | 3.36 | 40.76 |
WPPN Dashboard /wp-admin/admin.php?page=wppn-dashboard | 3.36 | 30.44 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 35 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wppn_subscribers |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Push Notifications
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,135 ▲389 | 15.06 ▲0.70 | 7.30 ▲5.37 | 50.11 ▲8.82 |
Dashboard /wp-admin | 2,401 ▲195 | 6.45 ▲0.55 | 117.71 ▲15.22 | 43.11 ▲1.97 |
Posts /wp-admin/edit.php | 2,297 ▲197 | 3.36 ▲1.35 | 50.58 ▲12.62 | 33.54 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,560 ▲15 | 23.27 ▲0.13 | 663.18 ▲7.79 | 37.96 ▼13.54 |
Media Library /wp-admin/upload.php | 1,437 ▲40 | 4.15 ▼0.05 | 79.07 ▼29.17 | 45.01 ▼2.46 |
Send Notification /wp-admin/admin.php?page=wppn-send-notification | 1,103 | 3.15 | 41.03 | 44.57 |
Settings /wp-admin/admin.php?page=wppn-settings | 1,156 | 3.13 | 36.91 | 32.52 |
Subscribers /wp-admin/admin.php?page=wppn-subscribers | 1,047 | 3.07 | 39.23 | 25.06 |
WPPN Dashboard /wp-admin/admin.php?page=wppn-dashboard | 996 | 3.03 | 35.65 | 22.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_wppn_subscribers
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
No tags were detected
wp-push-notifications/wp-push-notifications.php Passed 13 tests
The primary PHP file in "WP Push Notifications" version 1.0.6 is used by WordPress to initiate all plugin functionality
88 characters long description:
Sends Notifications to your users, customers, subscribers or visitors. NO LIMIT AND FREE
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin6,617 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 5 | 66 | 27 | 2,571 |
PHP | 13 | 223 | 163 | 760 |
JavaScript | 8 | 179 | 94 | 615 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 3.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 4 | 8.51% |
▷ Public methods | 35 | 74.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 25.53% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 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 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/notification-icon.png | 9.59KB | 4.95KB | ▼ 48.43% |