Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.41ms] Passed 4 tests
Analyzing server-side resources used by Youbeli Sync for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.97 ▲0.66 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.23 ▼4.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.29 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.88 ▼5.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.94 ▲3.37 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Youbeli Sync for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.30 ▼1.48 | 1.64 ▼0.11 | 41.54 ▼1.08 |
Dashboard /wp-admin | 2,206 ▲14 | 4.89 ▼0.07 | 105.71 ▼4.53 | 37.71 ▼4.88 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.00 | 40.27 ▼0.65 | 35.64 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.27 ▲0.43 | 580.39 ▼115.28 | 59.62 ▲7.58 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▲0.02 | 94.13 ▼2.57 | 41.86 ▼1.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/youbeli-sync/youbeli.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/youbeli-sync/views/setting.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/youbeli-sync/views/category_setting.php:2
- > PHP Notice
Undefined variable: size in wp-content/plugins/youbeli-sync/views/log.php on line 8
- > PHP Notice
Undefined variable: deleted in wp-content/plugins/youbeli-sync/views/log.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/youbeli-sync/views/log.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/youbeli-sync/views/product_sync.php:2
- > PHP Notice
Undefined variable: saved in wp-content/plugins/youbeli-sync/views/setting.php on line 3
- > PHP Notice
Undefined variable: unit in wp-content/plugins/youbeli-sync/views/log.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 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
7 plugin tags: youbeli, marketplace, synchronize, woocommerce, sell...
youbeli-sync/youbeli.php 85% from 13 tests
The main PHP file in "Youbeli Sync for WooCommerce" ver. 2.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("youbeli-sync.php" instead of "youbeli.php")
- Requires at least: The required version number must match the one declared in readme.txt ("3.8" instead of "4.1")
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
Good job! No executable or dangerous file extensions detected1,974 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 193 | 16 | 1,405 |
CSS | 4 | 38 | 6 | 427 |
JavaScript | 3 | 12 | 2 | 142 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 64.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 59 | 95.16% |
▷ Public methods | 57 | 91.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.06% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected