Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/easify-server-woocommerce/includes/class-easify-generic-basic-auth.php+151
Undefined offset: 1
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.61ms] Passed 4 tests
An overview of server-side resources used by Easify Server WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.97 ▼1.76 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.55 ▼2.76 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 45.03 ▼2.90 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 80.08 ▼14.03 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.32 ▼2.75 |
Easify Settings /wp-admin/options-general.php?page=easify_options_page | 3.28 | 31.75 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- Illegal file modification found: 2 files (0.75KB) outside of "wp-content/plugins/easify-server-woocommerce/" and "wp-content/uploads/"
- (modified) .htaccess
- (new file) esfysrvwc.cfg
Filesystem: 36 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
easify_options_orders |
theysaidso_admin_options |
easify_options_payment |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Easify Server WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 14.47 ▲0.09 | 1.73 ▼0.08 | 43.35 ▼1.64 |
Dashboard /wp-admin | 2,220 ▲35 | 5.91 ▲0.06 | 98.55 ▼4.52 | 39.82 ▼4.63 |
Posts /wp-admin/edit.php | 2,103 ▲17 | 2.04 ▲0.03 | 36.24 ▼1.31 | 31.03 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,681 ▲167 | 22.56 ▲5.06 | 645.16 ▼64.28 | 49.65 ▼11.27 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.30 ▲0.16 | 94.68 ▼4.23 | 40.35 ▼6.44 |
Easify Settings /wp-admin/options-general.php?page=easify_options_page | 1,738 | 1.75 | 24.25 | 26.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/easify-server-woocommerce/includes/class-easify-generic-basic-auth.php+151
Undefined offset: 1
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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)
Good news, no errors were detected
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
Please fix the following items
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/image.php): failed to open stream: No such file or directory in wp-content/plugins/easify-server-woocommerce/includes/class-easify-wc-plugin.php on line 29
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/easify-server-woocommerce/includes/easify_functions.php on line 19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easify-server-woocommerce/includes/class-easify-wc-plugin.php on line 21
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/image.php' (include_path='.:/usr/share/php') in wp-content/plugins/easify-server-woocommerce/includes/class-easify-wc-plugin.php on line 29
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easify-server-woocommerce/includes/easify_functions.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easify-server-woocommerce/includes/class-easify-wc-plugin-settings-page.php:18
- > PHP Warning
require_once(ABSPATHwp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/easify-server-woocommerce/includes/easify_functions.php on line 19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easify-server-woocommerce/includes/easify_functions.php on line 19
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/easify-server-woocommerce/includes/easify_functions.php on line 19
- > PHP Warning
require_once(ABSPATHwp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/easify-server-woocommerce/includes/easify_functions.php on line 19
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
easify-server-woocommerce/easify.php 85% from 13 tests
The entry point to "Easify Server WooCommerce" version 4.35 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 229 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easify-server-woocommerce.php" instead of "easify.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected4,390 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,099 | 2,078 | 4,062 |
CSS | 4 | 50 | 10 | 325 |
JavaScript | 2 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 14.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 2 | 7.69% |
▷ Concrete classes | 24 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 205 | |
▷ Static methods | 2 | 0.98% |
▷ Public methods | 140 | 68.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 65 | 31.71% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 9 | 47.37% |
▷ Class constants | 10 | 52.63% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/help.png | 0.30KB | 0.32KB | 0.00% |
assets/images/success.png | 0.72KB | 0.70KB | ▼ 2.86% |
assets/images/warning.png | 0.76KB | 0.81KB | 0.00% |
assets/images/easify_logo.png | 4.83KB | 2.30KB | ▼ 52.42% |
assets/images/failure.png | 0.83KB | 0.94KB | 0.00% |