Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/easysell/easy-sell.php+11
Constant WP_DEBUG already defined
Server metrics [RAM: ▼1.92MB] [CPU: ▼54.12ms] Passed 4 tests
A check of server-side resources used by EasySell
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 5.30 ▼34.12 |
Dashboard /wp-admin | 2.09 ▼1.25 | 5.03 ▼51.56 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 5.82 ▼39.65 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.49 ▼91.15 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 5.50 ▼30.39 |
Easy Sell Settings /wp-admin/options-general.php?page=easy-sell-plugin | 2.10 | 5.51 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for EasySell
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.02 | 1.87 ▼0.10 | 39.45 ▼3.53 |
Dashboard /wp-admin | 2,210 ▲25 | 5.84 ▲0.89 | 96.54 ▼11.82 | 38.49 ▼1.79 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.00 ▼0.05 | 36.03 ▼2.03 | 33.40 ▼4.41 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.09 ▲5.48 | 676.36 ▲20.01 | 54.46 ▼5.06 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.36 ▲0.14 | 97.15 ▼14.92 | 45.74 ▼1.27 |
Easy Sell Settings /wp-admin/options-general.php?page=easy-sell-plugin | 786 | 2.04 | 22.39 | 27.34 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/easysell/easy-sell.php+11
Constant WP_DEBUG already defined
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=easy-sell-plugin
- > Notice in wp-content/plugins/easysell/easy-sell.php+11
Constant WP_DEBUG already defined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=easy-sell-plugin
- > Notice in wp-includes/plugin.php+1004
Undefined offset: 0
- > GET request to /wp-admin/options-general.php?page=easy-sell-plugin
- > Notice in wp-content/plugins/easysell/easy-sell.php+146
Undefined variable: nostatus
- > GET request to /wp-admin/options-general.php?page=easy-sell-plugin
- > Notice in wp-content/plugins/easysell/easy-sell.php+147
Undefined variable: yesstatus
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easysell/easy-sell.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
Attributes that need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
easysell/easy-sell.php 85% from 13 tests
Analyzing the main PHP file in "EasySell" version 1.0
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("easysell.php" instead of "easy-sell.php")
- Description: The description should be shorter than 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin157 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 8 | 157 |
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.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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 are no PNG files in this plugin