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.01MB] [CPU: ▼4.55ms] Passed 4 tests
An overview of server-side resources used by Price Robot for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.51 ▼0.00 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.53 ▼6.22 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.94 ▲3.59 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.35 ▼11.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.53 ▼0.67 |
Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Price Robot for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.72 ▲0.33 | 1.66 ▼0.15 | 42.74 ▲3.53 |
Dashboard /wp-admin | 2,198 ▲20 | 5.54 ▼0.08 | 82.39 ▼28.14 | 40.20 ▼5.63 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.03 ▲0.04 | 39.70 ▲2.68 | 36.94 ▲4.09 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.17 ▲0.24 | 590.66 ▼69.04 | 62.78 ▲3.50 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▼0.00 | 93.81 ▼10.94 | 41.19 ▼6.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Plugin admin area - WooCommerce > Settings > Price Robot.), #2 (Plugin admin area - WooCommerce > Products.)
price-robot-for-woocommerce/price-robot-for-woocommerce.php Passed 13 tests
The primary PHP file in "Price Robot for WooCommerce" version 1.3.2 is used by WordPress to initiate all plugin functionality
64 characters long description:
The plugin calculates optimal price for products in WooCommerce.
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 detected1,211 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 242 | 741 | 1,211 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 1 | 7.14% |
Methods | 92 | |
▷ Static methods | 1 | 1.09% |
▷ Public methods | 92 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected