Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼143.30ms] Passed 4 tests
This is a short check of server-side resources used by Cart Reminder for WooCommerce - Create templates and schedule your cart reminder emails!
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 37.97 ▲15.24 |
Dashboard /wp-admin | 3.09 ▲0.03 | 50.78 ▲2.64 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 53.58 ▲6.50 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 94.81 ▼582.38 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 38.77 ▲0.05 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Cart Reminder for WooCommerce - Create templates and schedule your cart reminder emails!
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,689 ▲93 | 15.94 ▲0.34 | 10.34 ▼2.45 | 50.19 ▼3.74 |
Dashboard /wp-admin | 2,977 ▲43 | 5.91 ▼0.03 | 157.04 ▼18.91 | 123.92 ▲5.52 |
Posts /wp-admin/edit.php | 2,751 ▲12 | 2.71 ▼0.01 | 71.35 ▼4.50 | 91.95 ▼5.30 |
Add New Post /wp-admin/post-new.php | 1,510 ▼71 | 18.48 ▼0.26 | 389.31 ▼42.84 | 126.77 ▲1.23 |
Media Library /wp-admin/upload.php | 1,817 ▲10 | 5.04 ▲0.00 | 166.78 ▼3.14 | 129.72 ▲0.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in simple-cart-reminder/assets to your readme.txt
simple-cart-reminder/simple-cart-reminder.php 92% from 13 tests
"Cart Reminder for WooCommerce - Create templates and schedule your cart reminder emails!" version 1.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected1,415 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 196 | 176 | 844 |
CSS | 2 | 53 | 13 | 214 |
JavaScript | 2 | 18 | 15 | 185 |
PO File | 1 | 75 | 80 | 172 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 16.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 48 | 100.00% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.58MB with 0.42MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/buylogo.png | 598.94KB | 170.06KB | ▼ 71.61% |