Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼1.67MB] [CPU: ▼56.08ms] Passed 4 tests
Analyzing server-side resources used by Deal Deals for Woocommerces by Harimay
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 4.78 ▼41.45 |
Dashboard /wp-admin | 2.40 ▼0.90 | 7.74 ▼47.02 |
Posts /wp-admin/edit.php | 2.40 ▼0.96 | 8.08 ▼43.05 |
Add New Post /wp-admin/post-new.php | 2.40 ▼3.49 | 7.16 ▼92.79 |
Media Library /wp-admin/upload.php | 2.40 ▼0.83 | 8.40 ▼31.67 |
Daily Deals Setting /wp-admin/edit.php?post_type=product&page=daily_deals_product_setting | 2.40 | 6.75 |
Daily Deals /wp-admin/edit.php?post_type=product&page=daily_deals_product_view | 2.40 | 6.44 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_harimay_dd_product_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Deal Deals for Woocommerces by Harimay
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲143 | 13.79 ▼0.56 | 8.06 ▲5.54 | 39.48 ▼3.03 |
Dashboard /wp-admin | 2,211 ▲20 | 4.87 ▼0.07 | 109.71 ▲2.71 | 39.28 ▼0.97 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.07 ▲0.03 | 41.41 ▼0.32 | 33.84 ▼2.40 |
Add New Post /wp-admin/post-new.php | 1,530 ▲11 | 23.48 ▲0.43 | 699.27 ▼6.82 | 74.62 ▲19.12 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.25 ▲0.05 | 101.32 ▼6.40 | 49.75 ▲3.34 |
Daily Deals Setting /wp-admin/edit.php?post_type=product&page=daily_deals_product_setting | 28 | 0.44 | 0.13 | 4.10 |
Daily Deals /wp-admin/edit.php?post_type=product&page=daily_deals_product_view | 28 | 0.44 | 0.09 | 3.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the woocommerce_quick-edit handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_harimay_dd_product_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=product&page=daily_deals_product_view
- > User notice in wp-includes/functions.php+5905
Function wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the woocommerce_quick-edit handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP 50% 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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/deal-deals-for-woocommerces-by-harimay/include/backend/custom-feilds-product/common-setting.php:203
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/deal-deals-for-woocommerces-by-harimay/include/backend/submenu_page_setting/common-setting.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=product&page=daily_deals_product_setting
- > Network (severe)
wp-admin/edit.php?post_type=product&page=daily_deals_product_setting - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=product&page=daily_deals_product_view
- > Network (severe)
wp-admin/edit.php?post_type=product&page=daily_deals_product_view - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: woocommerces
deal-deals-for-woocommerces-by-harimay/deal-deals-for-woocommerces-by-harimay.php 85% from 13 tests
Analyzing the main PHP file in "Deal Deals for Woocommerces by Harimay" version 0.0.1
The following require your attention:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 166 characters long)
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
There were no executable files found in this plugin2,282 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 342 | 130 | 1,248 |
CSS | 2 | 115 | 0 | 691 |
JavaScript | 6 | 64 | 46 | 343 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin