Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.69ms] Passed 4 tests
A check of server-side resources used by Sellbrite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.80 ▼2.19 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.05 ▼5.25 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 43.95 ▼2.80 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.83 ▼20.52 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.31 ▲0.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sellbrite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲85 | 13.21 ▼1.15 | 1.85 ▲0.10 | 43.23 ▼0.45 |
Dashboard /wp-admin | 2,226 ▲38 | 5.90 ▲0.09 | 99.96 ▼8.17 | 42.73 ▲1.62 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.02 ▲0.02 | 35.96 ▼6.21 | 31.57 ▼4.31 |
Add New Post /wp-admin/post-new.php | 1,532 ▼1 | 23.50 ▲0.29 | 681.99 ▲85.85 | 56.23 ▲8.01 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 4.20 ▲0.01 | 100.37 ▲3.38 | 43.59 ▲1.89 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Interface 'Sellbrite_AutomationStep' not found in wp-content/plugins/sellbrite/steps/EnableWooCommerceAPIStep.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Sellbrite_AutomationStep' not found in wp-content/plugins/sellbrite/steps/SendWooCommerceKeysStep.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Sellbrite_AutomationStep' not found in wp-content/plugins/sellbrite/steps/CreateSellbriteUserStep.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sellbrite/sellbrite.php:137
- > PHP Fatal error
Uncaught Error: Interface 'Sellbrite_AutomationStep' not found in wp-content/plugins/sellbrite/steps/EnsureWooCommerceActiveStep.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Sellbrite_AutomationStep' not found in wp-content/plugins/sellbrite/steps/PermalinkSettingsStep.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Sellbrite_AutomationStep' not found in wp-content/plugins/sellbrite/steps/GenerateWooCommerceKeysStep.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Sellbrite_AutomationStep' not found in wp-content/plugins/sellbrite/steps/EnsureWooCommerceVersionStep.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: sellbrite, walmart, ebay, woocommerce, amazon
sellbrite/sellbrite.php Passed 13 tests
The principal PHP file in "Sellbrite" v. 1.0.2 is loaded by WordPress automatically on each request
65 characters long description:
Helps you easily integrate your WooCommerce store with Sellbrite.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected406 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 72 | 19 | 333 |
JavaScript | 1 | 14 | 3 | 61 |
CSS | 1 | 3 | 0 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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