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.07MB] [CPU: ▼6.67ms] Passed 4 tests
A check of server-side resources used by Addonify - Quick View For WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 34.41 ▼8.93 |
Dashboard /wp-admin | 3.38 ▲0.03 | 48.43 ▼9.98 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.26 ▼0.18 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.82 ▼7.58 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.19 ▲7.69 |
Server storage [IO: ▲1.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 79 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Addonify - Quick View For WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲59 | 14.22 ▼0.13 | 2.02 ▲0.32 | 39.73 ▼3.13 |
Dashboard /wp-admin | 2,204 ▲24 | 5.62 ▼0.02 | 86.55 ▼9.99 | 41.10 ▼10.85 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▲0.01 | 41.08 ▼0.10 | 36.34 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.28 ▲0.21 | 677.11 ▲76.92 | 53.46 ▼0.27 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.20 ▼0.05 | 98.45 ▼0.60 | 43.35 ▲2.28 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/addonify-quick-view/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addonify-quick-view/includes/addonify-quick-view-template-hooks.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/addonify-quick-view/includes/functions/settings.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-quick-view/includes/functions/fields/modal-box.php:555
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-quick-view/includes/functions/fields/misc-buttons.php:136
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-quick-view/includes/functions/fields/general.php:74
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-quick-view/includes/functions/fields/button.php:163
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/addonify-quick-view/includes/udp/init.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-quick-view/includes/functions/fields/custom-css.php:47
- > PHP Fatal error
Uncaught Error: Class 'Detection\\MobileDetect' not found in wp-content/plugins/addonify-quick-view/vendor/mobiledetect/mobiledetectlib/export/dump_magic_methods.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: woocommerce quick view, quickview, woocommerce, quick view, products quick view
addonify-quick-view/addonify-quick-view.php Passed 13 tests
The entry point to "Addonify - Quick View For WooCommerce" version 1.2.14 is a PHP file that has certain tags in its header comment area
120 characters long description:
Addonify WooCommerce Quick View plugin adds functionality to have a WooCommerce product quick preview on a modal window.
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
Success! There were no dangerous files found in this plugin5,382 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 813 | 2,362 | 3,492 |
Sass | 13 | 373 | 8 | 1,220 |
Markdown | 5 | 143 | 0 | 329 |
JSON | 3 | 0 | 0 | 306 |
YAML | 1 | 1 | 0 | 15 |
SVG | 1 | 0 | 0 | 10 |
CSS | 4 | 0 | 2 | 5 |
JavaScript | 5 | 0 | 2 | 5 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 27 | 21.77% |
▷ Public methods | 108 | 87.10% |
▷ Protected methods | 2 | 1.61% |
▷ Private methods | 14 | 11.29% |
Functions | 50 | |
▷ Named functions | 39 | 78.00% |
▷ Anonymous functions | 11 | 22.00% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin