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.25MB] [CPU: ▼5.60ms] Passed 4 tests
A check of server-side resources used by Gest.online for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 39.67 ▲2.38 |
Dashboard /wp-admin | 3.56 ▲0.21 | 47.86 ▼7.93 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 46.02 ▲2.14 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 86.75 ▼18.98 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.08 ▲5.76 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Gest.online for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.31 ▼0.94 | 1.69 ▲0.11 | 42.66 ▲0.47 |
Dashboard /wp-admin | 2,203 ▲15 | 4.87 ▼1.04 | 107.71 ▲6.96 | 42.16 ▲2.11 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.01 | 33.56 ▼4.25 | 36.08 ▲2.03 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.22 ▲0.03 | 633.31 ▲3.40 | 48.09 ▼0.34 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.19 ▼0.01 | 100.34 ▼1.80 | 41.82 ▼1.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× 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/gest-online-wc/inc/ajax.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gest-online-wc/woo-gestonline.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gest-online-wc/inc/woocommerce.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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 to be fixed:
- Contributors: Plugin contributors field is missing
gest-online-wc/woo-gestonline.php 77% from 13 tests
"Gest.online for WooCommerce" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gest-online-wc.php" instead of "woo-gestonline.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "3.8.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,899 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 415 | 218 | 1,795 |
PO File | 1 | 33 | 35 | 89 |
SVG | 1 | 0 | 1 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 44.25 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 9.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin