Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/wpecommerce-betaout/index.php+302
Undefined index: start_date
Server metrics [RAM: ▼1.12MB] [CPU: ▼54.35ms] Passed 4 tests
An overview of server-side resources used by WP eCommerce Betaout
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.82 ▼0.64 | 10.58 ▼35.95 |
Dashboard /wp-admin | 2.92 ▼0.43 | 11.25 ▼52.94 |
Posts /wp-admin/edit.php | 2.92 ▼0.44 | 9.42 ▼38.86 |
Add New Post /wp-admin/post-new.php | 2.92 ▼2.97 | 9.27 ▼89.63 |
Media Library /wp-admin/upload.php | 2.92 ▼0.31 | 8.46 ▼26.25 |
Betaout Wp-e-commerce /wp-admin/admin.php?page=wpecommerce-betaout | 2.92 | 11.19 |
Betaout Export CSV /wp-admin/admin.php?page=betaout-export | 2.92 | 9.50 |
Server storage [IO: ▲1.74MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
WP eCommerce Betaout: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,492 ▼254 | 14.24 ▼0.35 | 0.53 ▼1.26 | 19.00 ▼28.16 |
Dashboard /wp-admin | 2,224 ▲47 | 5.72 ▲0.02 | 91.23 ▼3.33 | 88.98 ▲48.42 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.03 ▲0.02 | 35.01 ▼4.76 | 32.04 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,547 ▲2 | 23.32 ▼0.26 | 670.21 ▲19.34 | 76.62 ▲23.27 |
Media Library /wp-admin/upload.php | 1,423 ▲20 | 4.20 ▲0.02 | 97.86 ▼0.44 | 81.52 ▲39.93 |
Betaout Wp-e-commerce /wp-admin/admin.php?page=wpecommerce-betaout | 1,047 | 2.01 | 26.13 | 79.71 |
Betaout Export CSV /wp-admin/admin.php?page=betaout-export | 847 | 2.01 | 24.34 | 23.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wpecommerce-betaout/index.php+302
Undefined index: start_date
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=betaout-export
- > Notice in wp-content/plugins/wpecommerce-betaout/index.php+302
Undefined index: start_date
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=betaout-export
- > Notice in wp-content/plugins/wpecommerce-betaout/index.php+302
Undefined index: end_date
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=betaout-export
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AmplifyLoginNew::amplifyinit() should not be called statically
- > GET request to /wp-admin/admin.php?page=betaout-export
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AmplifyLoginNew::exportcsv() should not be called statically
SRP 0% 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wpecommerce-betaout/orderexport.php
- > /wp-content/plugins/wpecommerce-betaout/includes/html/amplify.php
- > /wp-content/plugins/wpecommerce-betaout/index.php
- 33× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
include(./wp-load.php): failed to open stream: No such file or directory in wp-content/plugins/wpecommerce-betaout/lib/wp-json.php on line 24
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/class-wp-xmlrpc-server.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wpecommerce-betaout/lib/wp-json.php on line 27
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/class-wp-json-datetime.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wpecommerce-betaout/lib/wp-json.php on line 28
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpecommerce-betaout/lib/wp-json.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wpecommerce-betaout/includes/html/amplify.php:68
- > PHP Warning
include_once(ABSPATHWPINC/class-wp-json-datetime.php): failed to open stream: No such file or directory in wp-content/plugins/wpecommerce-betaout/lib/wp-json.php on line 28
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wpecommerce-betaout/index.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpecommerce-betaout/lib/wp-json.php:32
- > PHP Warning
include_once(ABSPATHWPINC/class-wp-json-server.php): failed to open stream: No such file or directory in wp-content/plugins/wpecommerce-betaout/lib/wp-json.php on line 29
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpecommerce-betaout/lib/wp-json.php on line 27
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (**Insights** -You can get an overview of the total number of orders & GMV earned in a selected time period. The page also shows you insights into total orders with a breakdown in terms of orders from regular customers, new customers & reactivated customers. At a quick glance, insights shows you the overall health of your ecommerce store, including a drill-down of the total no of customers, emails sent, total no of opens & clicks, bounces & unsubscribes. The customer grid is based on RFM score and is updated in real-time.), #2 (**Ready-to-Use Segmentation Ideas**-You can start segmenting your customers instantly with these ready-to-use segment ideas. Each segment gets activated with a single-click. With Betaout’s advanced segmentation capabilities, you can segment your customers based on any number of attributes.), #3 (**Customer Lifecycles**-This page gives you a complete drill-down of the total number of customers in each lifecycle, total no of orders (with & without offer), total GMV of the customers in each lifecycle. It also shows the total number of emails sent to each lifecycle with email analytics.), #4 (**Live Chat**-This is the view of an admin’s dashboard where the team members reply to the queries posted by your contacts & customers. On the left side of the screen are the users which are online, and on the right side of the screen you get a detailed information of the user in terms of the segments he belongs to, his lifecycle, RFM score, his predicted lifetime revenue based on his customer lifetime value (CLV) and total revenue earned from him. With a quick glance, you can also check out his most recent purchase. At a given time, you can check the complete discussion thread with a particular contact/customer.), #5 (**User profile**-This page give you a single view of each customer with his demographic details, activity and event details updated in real-time. This page gives you deep insights into a customer’s behavior and his purchasing habits, the campaigns he has touched across different marketing channels, including the most performing campaigns throughout his customer journey. This 360 degree customer view gives you detailed insights into the best days and time to connect with him based on the email tracking.)
wpecommerce-betaout/index.php 92% from 13 tests
The primary PHP file in "WP eCommerce Betaout" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wpecommerce-betaout.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,218 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 790 | 1,014 | 2,821 |
CSS | 1 | 55 | 1 | 393 |
JavaScript | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 36.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 203.00 |
Average method complexity | 4.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 5 | 4.42% |
▷ Public methods | 94 | 83.19% |
▷ Protected methods | 18 | 15.93% |
▷ Private methods | 1 | 0.88% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 5 | 27.78% |
▷ Class constants | 13 | 72.22% |
▷ Public constants | 13 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 1.18MB with 0.60MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plugin-logo.png | 2.11KB | 0.82KB | ▼ 61.21% |
images/engage-app.png | 4.65KB | 1.63KB | ▼ 64.98% |
images/db-1.png | 6.14KB | 2.14KB | ▼ 65.24% |
screenshot-3.png | 159.11KB | 56.84KB | ▼ 64.28% |
images/icon.png | 0.73KB | 0.78KB | 0.00% |