Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼10.71ms] Passed 4 tests
An overview of server-side resources used by Haloween Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 28.47 ▼16.81 |
Dashboard /wp-admin | 3.47 ▲0.12 | 48.71 ▼16.90 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 55.60 ▲1.60 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 97.03 ▼10.71 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 41.11 ▲4.63 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Haloween Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,053 ▲292 | 13.51 ▼1.21 | 10.55 ▲8.89 | 44.51 ▲0.93 |
Dashboard /wp-admin | 2,299 ▲122 | 5.67 ▲0.01 | 94.13 ▼6.89 | 75.64 ▲30.94 |
Posts /wp-admin/edit.php | 2,223 ▲123 | 1.99 ▲0.03 | 38.86 ▼0.29 | 38.15 ▲5.23 |
Add New Post /wp-admin/post-new.php | 1,631 ▲95 | 23.67 ▲0.32 | 637.22 ▼85.75 | 64.11 ▼2.08 |
Media Library /wp-admin/upload.php | 1,513 ▲110 | 4.12 ▼0.06 | 103.35 ▲1.45 | 74.21 ▲29.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/halloween-woocommerce/haloween-woocommerce.php+66
Undefined index: hl_current_pumpkins
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/halloween-woocommerce/partials/wpk-description.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function Halloween\\Admin\\add_filter() in wp-content/plugins/halloween-woocommerce/admin/class.Popup.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Halloween\\Admin\\add_action() in wp-content/plugins/halloween-woocommerce/admin/class.WC.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function Halloween\\plugin_dir_url() in wp-content/plugins/halloween-woocommerce/haloween-woocommerce.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function Halloween\\Admin\\add_filter() in wp-content/plugins/halloween-woocommerce/admin/class.Icons.php:10
- > PHP Fatal error
Uncaught Error: Class 'Halloween\\Admin\\Options' not found in wp-content/plugins/halloween-woocommerce/partials/modal.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function Halloween\\_x() in wp-content/plugins/halloween-woocommerce/partials/notice.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function Halloween\\Admin\\add_filter() in wp-content/plugins/halloween-woocommerce/admin/class.Coupons.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Halloween\\Admin\\is_admin() in wp-content/plugins/halloween-woocommerce/admin/class.Settings.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: Please a description for screenshot #1 in halloween-woocommerce/assets to your readme.txt
halloween-woocommerce/haloween-woocommerce.php 77% from 13 tests
Analyzing the main PHP file in "Haloween Woocommerce" version 1.0
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("halloween-woocommerce.php" instead of "haloween-woocommerce.php")
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
Everything looks great! No dangerous files found in this plugin5,517 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 51 | 8 | 51 | 2,495 |
JavaScript | 8 | 688 | 605 | 1,803 |
CSS | 5 | 66 | 80 | 639 |
PHP | 10 | 202 | 159 | 580 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 50 | |
▷ Static methods | 12 | 24.00% |
▷ Public methods | 31 | 62.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 38.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin