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.10MB] [CPU: ▼0.66ms] Passed 4 tests
This is a short check of server-side resources used by Push World
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.01 ▲1.72 |
Dashboard /wp-admin | 3.41 ▲0.10 | 47.64 ▲0.31 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 44.70 ▼4.07 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 110.98 ▲15.00 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 32.81 ▼0.61 |
Server storage [IO: ▲2.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 91 new options
New WordPress options |
---|
pushworld_failed_action1_url |
pushworld_abandoned_timeout |
pushworld_processing_image |
pushworld_failed_action1_title |
pushworld_pending_action1_title |
pushworld_cancelled_url |
pushworld_pending_action2_title |
pushworld_processing_text |
pushworld_completed_image |
pushworld_on-hold_image |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Push World
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.58 ▼1.02 | 1.73 ▲0.13 | 45.54 ▲0.84 |
Dashboard /wp-admin | 2,244 ▲59 | 5.85 ▼0.02 | 110.69 ▼4.18 | 89.78 ▲42.98 |
Posts /wp-admin/edit.php | 2,124 ▲38 | 2.00 ▲0.01 | 35.00 ▼3.70 | 32.91 ▼2.23 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 23.08 ▲4.62 | 745.59 ▲119.50 | 56.97 ▲5.10 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.10 ▼0.07 | 97.24 ▼24.54 | 77.17 ▲28.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 91 options
- pushworld_abandoned_action2_url
- pushworld_failed_text
- pushworld_refunded_action1_title
- pushworld_completed_title
- pushworld_failed_image
- pushworld_failed_action2_url
- pushworld_default_title
- pushworld_failed_action1_url
- pushworld_on-hold_action1_url
- pushworld_refunded_title
- ...
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
Even though no errors were found, 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
Almost there! Just fix the following items
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'pushworld\\api\\Exception\\PushWorldApiException' not found in wp-content/plugins/push-world/core/push.world-api-client/Exception/PushWorldApiSaveAccessTokenException.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/push-world/core/push.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/push-world/push-world.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/push-world/core/cron.php:3
- > PHP Fatal error
Uncaught Error: Class 'pushworld\\api\\Exception\\PushWorldApiException' not found in wp-content/plugins/push-world/core/push.world-api-client/Exception/PushWorldApiForbbidenException.php:3
- > PHP Fatal error
Uncaught Error: Class 'pushworld\\api\\Exception\\PushWorldApiException' not found in wp-content/plugins/push-world/core/push.world-api-client/Exception/PushWorldApiValidationException.php:3
- > PHP Fatal error
Uncaught Error: Class 'pushworld\\api\\Exception\\PushWorldApiException' not found in wp-content/plugins/push-world/core/push.world-api-client/Exception/PushWorldApiGetTokenException.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/push-world/core/pw-wc-integration.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/push-world/core/core.php:5
- > PHP Fatal error
Uncaught Error: Interface 'pushworld\\api\\PushWorldApiInterface' not found in wp-content/plugins/push-world/core/push.world-api-client/PushWorldApi.php:11
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 30 tag instead of maximum 10
- Screenshots: Screenshot #1 (Put your embed code to plugin field.) image not found
push-world/push-world.php 92% from 13 tests
The main PHP file in "Push World" ver. 2.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected3,232 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 437 | 277 | 2,071 |
CSS | 2 | 42 | 33 | 601 |
JavaScript | 3 | 76 | 32 | 287 |
PO File | 1 | 111 | 134 | 256 |
SVG | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 3.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 20 | 36.36% |
▷ Public methods | 49 | 89.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 10.91% |
Functions | 14 | |
▷ Named functions | 14 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imgs/logo-pw.png | 3.81KB | 2.67KB | ▼ 29.97% |