Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▼168.11ms] Passed 4 tests
Server-side resources used by Push Monkey Light and Abandoned Cart for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.10 ▲0.38 | 32.94 ▲6.73 |
Dashboard /wp-admin | 3.40 ▲0.34 | 51.82 ▲4.79 |
Posts /wp-admin/edit.php | 3.45 ▲0.34 | 47.77 ▲0.90 |
Add New Post /wp-admin/post-new.php | 5.70 ▲0.26 | 90.32 ▼681.53 |
Media Library /wp-admin/upload.php | 3.28 ▲0.27 | 36.83 ▲3.41 |
Settings /wp-admin/admin.php?page=pm-light-woocommerce | 3.29 | 31.64 |
Push Monkey Lite + WooCommerce /wp-admin/admin.php?page=pm-light-woocommerce-main-config | 3.30 | 34.00 |
Server storage [IO: ▲5.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 228 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Push Monkey Light and Abandoned Cart for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,909 ▲313 | 17.48 ▲1.95 | 10.01 ▼0.92 | 38.14 ▼10.00 |
Dashboard /wp-admin | 3,152 ▲218 | 7.88 ▲1.68 | 165.28 ▲15.85 | 120.52 ▲15.65 |
Posts /wp-admin/edit.php | 2,950 ▲211 | 3.84 ▲1.12 | 82.36 ▲17.55 | 106.60 ▲18.03 |
Add New Post /wp-admin/post-new.php | 1,710 ▲210 | 24.31 ▲5.79 | 284.23 ▼89.36 | 102.95 ▼9.96 |
Media Library /wp-admin/upload.php | 2,013 ▲203 | 6.54 ▲1.51 | 150.48 ▲8.87 | 131.07 ▲10.95 |
Settings /wp-admin/admin.php?page=pm-light-woocommerce | 1,448 | 3.01 | 67.89 | 116.70 |
Push Monkey Lite + WooCommerce /wp-admin/admin.php?page=pm-light-woocommerce-main-config | 1,448 | 3.16 | 67.77 | 113.51 |
Uninstaller [IO: ▲5.17MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the followingThis plugin did not uninstall successfully, leaving 1 option in the database
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/push-monkey-light-woocommerce/uninstall.php+16
require_once(wp-content/plugins/push-monkey-light-woocommerce/../models/class-push-monkey-light-woocommerce-review-notice.php): failed to open stream: No such file or directory
- The plugin did not uninstall correctly, leaving 228 files (5.17MB) in the plugin directory
- (new file) css/animate/animate.min.css
- (new file) css/animate/animate.css
- (new file) css/additional.css
- (new file) css/bootstrap/bootstrap.min.css
- (new file) assets/icon-128x128.png
- (new file) css/bootstrap/bootstrap_3.3.2.min.css
- (new file) assets/icon-256x256.png
- (new file) css/bootstrap/bootstrap_3.3.1.min.css
- (new file) assets/manifest.json
- (new file) css/blueimp/blueimp-gallery.min.css
- ...
- recovery_mode_email_last_sent
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/push-monkey-light-woocommerce/templates/pages/service_worker.php
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: pluginPath in wp-content/plugins/push-monkey-light-woocommerce/templates/pages/settings/parts/header.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/push-monkey-light-woocommerce/templates/messages/push-monkey-light-woocommerce-upsell-notice.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/push-monkey-light-woocommerce/templates/pages/settings/statistics.php:4
- > PHP Notice
Undefined variable: plan_name in wp-content/plugins/push-monkey-light-woocommerce/templates/pages/settings/parts/header.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/push-monkey-light-woocommerce/templates/pages/settings/parts/log-in.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/push-monkey-light-woocommerce/templates/messages/push-monkey-light-woocommerce-big-expiration-notice.php:2
- > PHP Notice
Undefined variable: signed_in in wp-content/plugins/push-monkey-light-woocommerce/templates/pages/settings/statistics.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/push-monkey-light-woocommerce/templates/pages/settings/main.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/push-monkey-light-woocommerce/templates/messages/push-monkey-light-woocommerce-review-notice.php:3
- > PHP Notice
Undefined variable: signed_in in wp-content/plugins/push-monkey-light-woocommerce/templates/pages/settings/woo-info.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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 your attention:
- Tags: You are using too many tags: 23 tag instead of maximum 10
push-monkey-light-woocommerce/push-monkey-light-woocommerce.php 92% from 13 tests
This is the main PHP file of "Push Monkey Light and Abandoned Cart for WooCommerce" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 411 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
No dangerous file extensions were detected37,048 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 58 | 1,419 | 777 | 23,133 |
JavaScript | 31 | 442 | 268 | 10,285 |
PHP | 21 | 472 | 543 | 1,757 |
SVG | 5 | 0 | 0 | 944 |
Markdown | 2 | 128 | 0 | 557 |
LESS | 1 | 57 | 15 | 358 |
JSON | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 20.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 1 | 1.22% |
▷ Public methods | 82 | 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 | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
77 PNG files occupy 0.57MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/jquery/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.39KB | 0.21KB | ▼ 45.64% |
img/default/plugin-big-expiration-notice.png | 2.62KB | 1.92KB | ▼ 26.80% |
img/default/plugin-feature-image-filter.png | 2.35KB | 1.39KB | ▼ 40.91% |
img/jstree/32px.png | 3.05KB | 2.88KB | ▼ 5.58% |
img/default/bootstrap-colorpicker/alpha.png | 3.19KB | 1.68KB | ▼ 47.45% |