Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/remove-woocommerce-marketplace-suggestions/wc-remove-marketplace-suggestions.php+25
Use of undefined constant vnmRemoveWCMPS_VERSION - assumed 'vnmRemoveWCMPS_VERSION' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.92MB] [CPU: ▼51.77ms] Passed 4 tests
Server-side resources used by Remove Marketplace Suggestions for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 5.04 ▼38.23 |
Dashboard /wp-admin | 2.09 ▼1.21 | 8.84 ▼44.01 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 6.20 ▼41.56 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 5.86 ▼83.26 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.86 ▼27.23 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
vnmRemoveWCMPS_version |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove Marketplace Suggestions for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.42 | 1.74 ▼0.36 | 39.64 ▼5.04 |
Dashboard /wp-admin | 2,203 ▲15 | 4.86 ▲0.00 | 111.28 ▼6.23 | 45.43 ▲2.81 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.01 ▼0.04 | 39.76 ▲3.62 | 35.48 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,413 ▼120 | 18.15 ▼4.99 | 630.84 ▼81.46 | 49.00 ▼4.92 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▼0.00 | 109.14 ▲7.00 | 44.49 ▲0.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/remove-woocommerce-marketplace-suggestions/wc-remove-marketplace-suggestions.php+45
Use of undefined constant vnmRemoveWCMPS_VERSION - assumed 'vnmRemoveWCMPS_VERSION' (this will throw an Error in a future version of PHP)
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/remove-woocommerce-marketplace-suggestions/wc-remove-marketplace-suggestions.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Requires php: The plugin version is formatted incorrectly
remove-woocommerce-marketplace-suggestions/wc-remove-marketplace-suggestions.php 77% from 13 tests
"Remove Marketplace Suggestions for WooCommerce" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.4" instead of "3.5.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("remove-woocommerce-marketplace-suggestions.php" instead of "wc-remove-marketplace-suggestions.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
No dangerous file extensions were detected23 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 23 | 23 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin