Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼6.68ms] Passed 4 tests
Server-side resources used by Missing Addons for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 43.17 ▲0.85 |
Dashboard /wp-admin | 3.66 ▲0.31 | 50.20 ▼13.54 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 49.29 ▼5.75 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 97.81 ▼8.28 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 43.30 ▲6.24 |
All Modules /wp-admin/admin.php?page=springdevs-modules | 3.48 | 40.52 |
Active Pro /wp-admin/admin.php?page=springdevs-freemius | 3.49 | 35.86 |
Server storage [IO: ▲15.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 856 new files
Database: no new tables, 9 new options
New WordPress options |
---|
sdevs_wea_installed |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
sdevs_wea_modules |
widget_theysaidso_widget |
theysaidso_admin_options |
sdevs_wea_version |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Missing Addons for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲142 | 14.76 ▲0.58 | 2.04 ▲0.12 | 43.12 ▲2.85 |
Dashboard /wp-admin | 2,303 ▲97 | 5.90 ▲0.99 | 110.69 ▲7.05 | 71.53 ▲30.23 |
Posts /wp-admin/edit.php | 2,189 ▲82 | 2.21 ▲0.16 | 35.53 ▼5.77 | 33.51 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,739 ▲208 | 22.52 ▼0.72 | 654.25 ▲47.31 | 43.98 ▼11.00 |
Media Library /wp-admin/upload.php | 1,470 ▲70 | 4.22 ▼0.01 | 97.59 ▼1.12 | 70.34 ▲23.40 |
All Modules /wp-admin/admin.php?page=springdevs-modules | 1,004 | 2.11 | 24.22 | 27.78 |
Active Pro /wp-admin/admin.php?page=springdevs-freemius | 1,053 | 2.25 | 28.93 | 40.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- sdevs_wea_modules
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- sdevs_wea_installed
- sdevs_wea_version
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 9× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/sabberworm/php-css-parser/tests/quickdump.php
- > /wp-content/plugins/wc-essential-addons/modules/product-sharing-buttons/templates/3.php
- > /wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/templates/simple/invoice/footer.php
- > /wp-content/plugins/wc-essential-addons/modules/bulk-products-selling/includes/Admin/views/footer-script.php
- > /wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/templates/simple/packing/footer.php
- > /wp-content/plugins/wc-essential-addons/includes/Admin/views/pricing.php
- > /wp-content/plugins/wc-essential-addons/modules/product-sharing-buttons/templates/2.php
- > /wp-content/plugins/wc-essential-addons/modules/product-sharing-buttons/templates/1.php
- > /wp-content/plugins/wc-essential-addons/modules/product-sharing-buttons/templates/4.php
- 215× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameDecorator\\AbstractFrameDecorator' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/Block.php:20
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameReflower\\AbstractFrameReflower' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/Table.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Sabberworm\\CSS\\Renderable' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Property/AtRule.php:8
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\Header' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/phenx/php-font-lib/src/FontLib/EOT/Header.php:21
- > PHP Fatal error
Uncaught Error: Class 'Kint\\Parser\\Plugin' not found in wp-content/plugins/wc-essential-addons/vendor/raveren/kint/src/Parser/JsonPlugin.php:31
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\ValueList' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Value/LineName.php:8
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Tests\\TestCase' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/dompdf/dompdf/tests/HelpersTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Frame' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php:30
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Tests\\TestCase' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/dompdf/dompdf/tests/AutoloaderTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\Table\\Table' not found in wp-content/plugins/wc-essential-addons/modules/pdf-invoices-and-packing-slips/vendor/phenx/php-font-lib/src/FontLib/Table/Type/post.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Donate link: Invalid URI ("")
wc-essential-addons/wc-essential-addons.php 85% from 13 tests
"Missing Addons for WooCommerce" version 1.1.0'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: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin127,205 lines of code in 675 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 518 | 11,470 | 20,168 | 76,461 |
JSON | 30 | 0 | 0 | 45,188 |
Vuejs Component | 18 | 23 | 25 | 2,189 |
CSS | 59 | 289 | 81 | 1,565 |
Markdown | 19 | 349 | 0 | 1,100 |
JavaScript | 20 | 31 | 159 | 253 |
Sass | 1 | 31 | 0 | 178 |
XML | 5 | 2 | 2 | 176 |
YAML | 3 | 15 | 2 | 70 |
HTML | 1 | 0 | 0 | 17 |
SVG | 1 | 0 | 0 | 8 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 652)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 797.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 652.00 |
Code structure | ||
---|---|---|
Namespaces | 90 | |
Interfaces | 7 | |
Traits | 11 | |
Classes | 422 | |
▷ Abstract classes | 15 | 3.55% |
▷ Concrete classes | 407 | 96.45% |
▷ Final classes | 12 | 2.95% |
Methods | 3,088 | |
▷ Static methods | 244 | 7.90% |
▷ Public methods | 2,759 | 89.35% |
▷ Protected methods | 195 | 6.31% |
▷ Private methods | 134 | 4.34% |
Functions | 76 | |
▷ Named functions | 42 | 55.26% |
▷ Anonymous functions | 34 | 44.74% |
Constants | 284 | |
▷ Global constants | 77 | 27.11% |
▷ Class constants | 207 | 72.89% |
▷ Public constants | 207 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.27MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/Woo-Advanced-Coupon/icon.png | 4.56KB | 2.38KB | ▼ 47.80% |
modules/pdf-invoices-and-packing-slips/vendor/dompdf/dompdf/lib/res/broken_image.png | 0.60KB | 0.47KB | ▼ 22.33% |
assets/images/logo.png | 7.05KB | 3.41KB | ▼ 51.68% |
modules/simple-subscription/assets/images/subscrpt-ads.png | 239.59KB | 250.28KB | 0.00% |
modules/simple-booking/icon.png | 2.74KB | 1.87KB | ▼ 31.98% |