Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▲0.93ms] Passed 4 tests
A check of server-side resources used by Supplier Order Email
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 44.74 ▲4.64 |
Dashboard /wp-admin | 3.70 ▲0.39 | 51.65 ▲2.53 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 51.95 ▲2.92 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 100.16 ▼6.39 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 40.17 ▲5.24 |
Server storage [IO: ▲18.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 405 new files
Database: no new tables, 40 new options
New WordPress options |
---|
mcisoe_show_ean |
mcisoe_show_weight |
mcisoe_show_order_number |
mcisoe_new_structure_2_0 |
mcisoe_company_info |
mcisoe_show_product_attributes |
mcisoe_store_pdf |
mcisoe_email_subject |
mcisoe_show_product_meta |
mcisoe_delete_all_data |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Supplier Order Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲64 | 14.23 ▼0.53 | 1.79 ▲0.22 | 44.97 ▲1.64 |
Dashboard /wp-admin | 2,213 ▲32 | 5.55 ▼0.12 | 88.65 ▼15.40 | 36.37 ▼6.42 |
Posts /wp-admin/edit.php | 2,124 ▲27 | 2.11 ▲0.10 | 39.71 ▲2.46 | 34.33 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.01 ▼0.39 | 608.01 ▼43.82 | 59.99 ▲13.65 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.20 ▲0.04 | 98.30 ▲4.01 | 38.90 ▼4.49 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 40 options
- mcisoe_company_info
- widget_recent-posts
- mcisoe_show_product_img
- mcisoe_email_copy
- widget_recent-comments
- mcisoe_show_price_items
- mcisoe_special_meta
- mcisoe_product_img_width
- mcisoe_from_email
- widget_theysaidso_widget
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/supplier-order-email/vendor/masterminds/html5/bin/entities.php
- 129× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Frame' not found in wp-content/plugins/supplier-order-email/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php:27
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/supplier-order-email/vendor/dompdf/dompdf/src/Positioner/TableCell.php:17
- > PHP Fatal error
Uncaught Error: Class 'Svg\\Tag\\Shape' not found in wp-content/plugins/supplier-order-email/vendor/phenx/php-svg-lib/src/Svg/Tag/Ellipse.php:13
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\TrueType\\File' not found in wp-content/plugins/supplier-order-email/vendor/phenx/php-font-lib/src/FontLib/EOT/File.php:16
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameDecorator\\AbstractFrameDecorator' not found in wp-content/plugins/supplier-order-email/vendor/dompdf/dompdf/src/FrameDecorator/Block.php:18
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\PrimitiveValue' not found in wp-content/plugins/supplier-order-email/vendor/sabberworm/php-css-parser/src/Value/CSSString.php:11
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\TrueType\\Header' not found in wp-content/plugins/supplier-order-email/vendor/phenx/php-font-lib/src/FontLib/WOFF/Header.php:16
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\RuleSet\\RuleSet' not found in wp-content/plugins/supplier-order-email/vendor/sabberworm/php-css-parser/src/RuleSet/AtRuleSet.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Sabberworm\\CSS\\Property\\AtRule' not found in wp-content/plugins/supplier-order-email/vendor/sabberworm/php-css-parser/src/Property/Charset.php:16
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/supplier-order-email/vendor/dompdf/dompdf/src/Positioner/Absolute.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: suppliers, order email, emails de pedido, order, orders emails...
supplier-order-email/supplier-order-email.php 92% from 13 tests
The entry point to "Supplier Order Email" version 3.4.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 162 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 detected47,008 lines of code in 276 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 247 | 9,345 | 16,795 | 43,571 |
Markdown | 11 | 390 | 0 | 1,314 |
CSS | 5 | 108 | 55 | 956 |
JSON | 9 | 0 | 0 | 635 |
PO File | 1 | 139 | 159 | 413 |
JavaScript | 1 | 49 | 57 | 94 |
HTML | 1 | 0 | 0 | 17 |
SVG | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 28.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 809.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 97.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 228 | |
▷ Abstract classes | 12 | 5.26% |
▷ Concrete classes | 216 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 2,339 | |
▷ Static methods | 137 | 5.86% |
▷ Public methods | 1,859 | 79.48% |
▷ Protected methods | 402 | 17.19% |
▷ Private methods | 78 | 3.33% |
Functions | 36 | |
▷ Named functions | 3 | 8.33% |
▷ Anonymous functions | 33 | 91.67% |
Constants | 226 | |
▷ Global constants | 12 | 5.31% |
▷ Class constants | 214 | 94.69% |
▷ Public constants | 209 | 97.66% |
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.11MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/arrow_up.png | 0.37KB | 0.40KB | 0.00% |
vendor/dompdf/dompdf/lib/res/broken_image.png | 0.60KB | 0.47KB | ▼ 22.33% |
admin/img/screenshot-1.png | 108.22KB | 33.85KB | ▼ 68.72% |