Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼11.40ms] Passed 4 tests
Server-side resources used by MailPoet WP e-Commerce Add-on
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.12 ▼5.05 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.09 ▼12.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.90 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.31 ▼26.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.98 ▲1.68 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for MailPoet WP e-Commerce Add-on
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.19 ▼1.17 | 1.72 ▼0.99 | 45.63 ▲3.18 |
Dashboard /wp-admin | 2,221 ▲18 | 4.89 ▼0.97 | 114.23 ▼10.92 | 46.40 ▲0.69 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.97 ▼0.08 | 36.90 ▼7.70 | 32.75 ▼6.34 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.13 ▲1.84 | 629.59 ▼87.02 | 55.33 ▼7.70 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.24 ▲0.01 | 112.55 ▲2.39 | 48.15 ▼2.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Subscribe checkbox field on checkout page.), #2 (WP e-Commerce MailPoet Settings.)
mailpoet-wp-e-commerce-add-on/mailpoet-wp-ecommerce-addon.php 85% from 13 tests
The main PHP file in "MailPoet WP e-Commerce Add-on" ver. 1.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:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.5.1" instead of "3.7.1")
- Main file name: The principal plugin file should be the same as the plugin slug ("mailpoet-wp-e-commerce-add-on.php" instead of "mailpoet-wp-ecommerce-addon.php")
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
Success! There were no dangerous files found in this plugin513 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 6 | 82 | 98 | 297 |
PHP | 2 | 58 | 75 | 216 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 30.59KB | 19.16KB | ▼ 37.37% |
screenshot-1.png | 77.25KB | 32.01KB | ▼ 58.56% |