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
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/optimus-price/helpers/optimus_price_setup.php+7
include(optimus_price_user.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.84MB] [CPU: ▼71.86ms] Passed 4 tests
Analyzing server-side resources used by Optimus Price
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 5.14 ▼37.71 |
Dashboard /wp-admin | 2.18 ▼1.16 | 6.10 ▼58.69 |
Posts /wp-admin/edit.php | 2.18 ▼1.17 | 6.63 ▼47.35 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 5.24 ▼143.68 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 6.09 ▼36.12 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Optimus Price
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.40 ▼0.20 | 1.91 ▲0.27 | 38.68 ▼3.74 |
Dashboard /wp-admin | 2,232 ▲55 | 5.78 ▲0.19 | 90.23 ▲2.68 | 39.59 ▼6.21 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.16 ▲0.12 | 41.76 ▼7.00 | 36.37 ▼11.44 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 17.44 ▼0.37 | 700.05 ▲36.80 | 49.43 ▼4.18 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.51 ▲0.29 | 98.41 ▼3.87 | 42.07 ▼6.43 |
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
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/optimus-price/helpers/optimus_price_setup.php+7
include(optimus_price_user.php): failed to open stream: No such file or directory
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
include(optimus_price_user.php): failed to open stream: No such file or directory in wp-content/plugins/optimus-price/helpers/optimus_price_setup.php on line 7
- > PHP Warning
include(optimus_price_user.php): failed to open stream: No such file or directory in wp-content/plugins/optimus-price/helpers/optimus_price_setup.php on line 7
- > PHP Warning
include(): Failed opening 'optimus_price_user.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/optimus-price/helpers/optimus_price_setup.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/optimus-price/optimus-price.php:24
- > PHP Warning
include(): Failed opening 'optimus_price_user.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/optimus-price/helpers/optimus_price_setup.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: pricing, predictive analytics, sales, artificial intelligence, demand...
optimus-price/optimus-price.php Passed 13 tests
The main file in "Optimus Price" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
109 characters long description:
Optimus Price automate pricing using Artificial Intelligence. It maximizes profit for your existing products.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin277 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 31 | 35 | 277 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected