Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/woocommerce-ownedit/Owned_it.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; OwneditWidget has a deprecated constructor
Server metrics [RAM: ▼1.72MB] [CPU: ▼48.32ms] Passed 4 tests
Analyzing server-side resources used by Owned it - Conversation Rate Optimization - WooCommerce Extension
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.18 | 8.83 ▼29.10 |
Dashboard /wp-admin | 2.30 ▼1.05 | 11.01 ▼47.48 |
Posts /wp-admin/edit.php | 2.30 ▼1.06 | 10.19 ▼32.69 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 11.04 ▼84.00 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 9.51 ▼23.29 |
Owned it /wp-admin/options-general.php?page=ownedit-plugin | 2.30 | 9.37 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
ownedit |
widget_owneditwidget |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Owned it - Conversation Rate Optimization - WooCommerce Extension
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,469 ▼292 | 14.32 ▼0.09 | 0.97 ▼0.70 | 17.53 ▼25.00 |
Dashboard /wp-admin | 2,199 ▲18 | 5.62 ▼0.04 | 101.04 ▲2.34 | 46.67 ▲7.45 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.98 ▼0.01 | 41.45 ▲7.65 | 32.88 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.47 ▲0.42 | 604.05 ▼78.49 | 59.61 ▼0.22 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▲0.11 | 104.03 ▲5.36 | 46.31 ▼1.32 |
Owned it /wp-admin/options-general.php?page=ownedit-plugin | 800 | 2.00 | 23.71 | 26.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in OwneditWidget is deprecated since version 4.3.0! Use __construct() instead.
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_owneditwidget
- ownedit
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=ownedit-plugin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in OwneditWidget is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=ownedit-plugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ownedit-plugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ownedit-plugin
- > Notice in wp-content/plugins/woocommerce-ownedit/Owned_it_options.php+40
Undefined index: storeid
SRP 0% 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woocommerce-ownedit/Owned_it.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/woocommerce-ownedit/Owned_it_options.php:32
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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
These attributes need your attention:
- Requires at least: The plugin version is formatted incorrectly
- Screenshots: Add images for these screenshots: #1 (Use Owned It to), #2 (Insights), #3 (How it works?)
woocommerce-ownedit/Owned_it.php 85% from 13 tests
Analyzing the main PHP file in "Owned it - Conversation Rate Optimization - WooCommerce Extension" version 2.0
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woocommerce-ownedit.php" instead of "Owned_it.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin208 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 45 | 38 | 208 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin