Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.77ms] Passed 4 tests
Analyzing server-side resources used by Pushwoosh
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.80 ▲0.81 |
Dashboard /wp-admin | 3.34 ▼0.00 | 47.81 ▼11.83 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.02 ▼7.15 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.18 ▼7.60 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.07 ▼4.49 |
Pushwoosh /wp-admin/options-general.php?page=pushwoosh | 3.23 | 29.87 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Pushwoosh
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 13.25 ▼1.13 | 4.91 ▲3.22 | 42.62 ▼2.66 |
Dashboard /wp-admin | 2,226 ▲56 | 5.82 ▲0.14 | 97.90 ▼2.47 | 41.42 ▼0.24 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.01 ▼0.01 | 39.71 ▲0.25 | 35.97 ▼0.12 |
Add New Post /wp-admin/post-new.php | 6,281 ▲4,736 | 21.77 ▼1.33 | 868.67 ▲193.16 | 65.04 ▲7.98 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.21 ▼0.01 | 97.95 ▼5.21 | 42.99 ▼3.49 |
Pushwoosh /wp-admin/options-general.php?page=pushwoosh | 835 | 2.03 | 23.52 | 28.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/push-notifications/pushwoosh.php:82
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Pushwoosh Administration Panel), #2 (Pushwoosh Publishing Widget)
push-notifications/pushwoosh.php 92% from 13 tests
Analyzing the main PHP file in "Pushwoosh" version 2.3.23
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("push-notifications.php" instead of "pushwoosh.php")
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
Everything looks great! No dangerous files found in this plugin497 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 81 | 38 | 453 |
CSS | 1 | 8 | 0 | 30 |
HTML | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 1 | 5.56% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
3 PNG files occupy 0.15MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 79.36KB | 34.82KB | ▼ 56.12% |
assets/icon-128x128.png | 7.13KB | 3.94KB | ▼ 44.73% |
screenshot-1.png | 66.22KB | 30.49KB | ▼ 53.95% |