Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.44ms] Passed 4 tests
Server-side resources used by Gist for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.43 ▼2.85 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.72 ▼5.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.72 ▼8.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.94 ▼16.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.90 ▲3.57 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Gist for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.58 ▼0.81 | 1.99 ▲0.33 | 44.80 ▲3.46 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▲0.93 | 109.06 ▼2.19 | 42.88 ▼1.66 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.05 ▼0.01 | 35.37 ▼11.61 | 33.02 ▼4.01 |
Add New Post /wp-admin/post-new.php | 1,371 ▼167 | 16.74 ▼6.35 | 572.97 ▼111.80 | 52.60 ▼9.43 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.16 ▼0.04 | 96.50 ▼5.93 | 46.85 ▲1.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Gist_WooCommerce\\Base\\GSTWC_Integration' not found in wp-content/plugins/gist-for-woocommerce/Gist_WooCommerce/Pages/GSTWC_Order.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gist-for-woocommerce/Gist_WooCommerce/Base/Template/settings_form.php:42
- > PHP Fatal error
Uncaught Error: Class 'Gist_WooCommerce\\Base\\GSTWC_Integration' not found in wp-content/plugins/gist-for-woocommerce/Gist_WooCommerce/Base/GSTWC_Enqueue.php:12
- > PHP Fatal error
Uncaught Error: Class 'Gist_WooCommerce\\Base\\GSTWC_Integration' not found in wp-content/plugins/gist-for-woocommerce/Gist_WooCommerce/Base/GSTWC_Settings.php:9
- > PHP Fatal error
Uncaught Error: Class 'Gist_WooCommerce\\Base\\GSTWC_Integration' not found in wp-content/plugins/gist-for-woocommerce/Gist_WooCommerce/Pages/GSTWC_Customer.php:12
- > PHP Fatal error
Uncaught Error: Class 'Gist_WooCommerce\\Base\\GSTWC_Integration' not found in wp-content/plugins/gist-for-woocommerce/Gist_WooCommerce/Pages/GSTWC_Product.php:14
- > PHP Fatal error
Uncaught Error: Class 'Gist_WooCommerce\\Base\\GSTWC_Integration' not found in wp-content/plugins/gist-for-woocommerce/Gist_WooCommerce/Pages/GSTWC_ProductCategory.php:11
- > PHP Fatal error
Uncaught Error: Class 'Gist_WooCommerce\\Base\\GSTWC_Integration' not found in wp-content/plugins/gist-for-woocommerce/Gist_WooCommerce/Pages/GSTWC_Cart.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/gist-for-woocommerce/gist-woocommerce.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: ecommerce, cart recovery, automation, cart abandonment, workflows...
gist-for-woocommerce/gist-woocommerce.php 92% from 13 tests
The main PHP script in "Gist for WooCommerce" version 1.2.3 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("gist-for-woocommerce.php" instead of "gist-woocommerce.php")
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
There were no executable files found in this plugin1,643 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 348 | 1,026 | 1,533 |
CSS | 1 | 19 | 0 | 89 |
JSON | 2 | 0 | 0 | 18 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 1 | 5.00% |
Methods | 111 | |
▷ Static methods | 10 | 9.01% |
▷ Public methods | 64 | 57.66% |
▷ Protected methods | 33 | 29.73% |
▷ Private methods | 14 | 12.61% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.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