Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼0.15ms] Passed 4 tests
An overview of server-side resources used by iONE360 configurator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 38.54 ▼0.14 |
Dashboard /wp-admin | 3.70 ▲0.35 | 45.76 ▼10.60 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 48.57 ▲6.11 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.42 | 97.42 ▲8.03 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 36.24 ▲4.04 |
Render settings /wp-admin/admin.php?page=configurator-ione360-rendersettings | 3.60 | 34.99 |
Contact Settings /wp-admin/admin.php?page=configurator-ione360-contactsettings | 3.60 | 34.03 |
Contact Form /wp-admin/admin.php?page=configurator-ione360-contactform | 3.61 | 25.58 |
Configurator settings /wp-admin/admin.php?page=configurator-ione360 | 3.60 | 36.74 |
Layout settings /wp-admin/admin.php?page=configurator-ione360-layoutsettings | 3.61 | 29.40 |
Server storage [IO: ▲11.81MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 52 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_configurator_contact_form |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for iONE360 configurator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,976 ▲230 | 14.76 ▲0.41 | 15.60 ▲13.95 | 41.04 ▲2.44 |
Dashboard /wp-admin | 2,268 ▲79 | 5.12 ▲0.15 | 100.49 ▼8.87 | 40.42 ▲0.59 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.35 ▲0.36 | 41.56 ▲5.79 | 34.06 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 21.22 ▲3.64 | 586.34 ▼74.01 | 26.49 ▼29.43 |
Media Library /wp-admin/upload.php | 1,444 ▲56 | 4.50 ▲0.27 | 96.26 ▼25.42 | 42.16 ▼2.74 |
Render settings /wp-admin/admin.php?page=configurator-ione360-rendersettings | 937 | 1.97 | 26.77 | 28.89 |
Contact Settings /wp-admin/admin.php?page=configurator-ione360-contactsettings | 1,004 | 1.97 | 26.89 | 28.21 |
Contact Form /wp-admin/admin.php?page=configurator-ione360-contactform | 857 | 1.98 | 25.91 | 22.44 |
Configurator settings /wp-admin/admin.php?page=configurator-ione360 | 1,024 | 1.97 | 28.26 | 41.17 |
Layout settings /wp-admin/admin.php?page=configurator-ione360-layoutsettings | 1,855 | 3.07 | 86.05 | 34.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_configurator_contact_form
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=configurator-ione360-layoutsettings
- > Notice in wp-content/plugins/ione360-configurator/admin/class-configurator-ione360-admin.php+1519
Undefined variable: step
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=configurator-ione360-layoutsettings
- > Notice in wp-content/plugins/ione360-configurator/admin/class-configurator-ione360-admin.php+1519
Undefined variable: max
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=configurator-ione360-layoutsettings
- > Notice in wp-content/plugins/ione360-configurator/admin/class-configurator-ione360-admin.php+1519
Undefined variable: min
- > GET request to /wp-admin/admin.php?page=configurator-ione360-contactform
- > Notice in wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-contact-form.php+17
Undefined variable: charset_collate
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-contact-settings.php
- > /wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-settings-render-display.php
- > /wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-settings-general-display.php
- > /wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-woocommerce-settings.php
- > /wp-content/plugins/ione360-configurator/public/partials/configurator-ione360-public-display.php
- > /wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-settings-layout-display.php
- > /wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-display.php
- > /wp-content/plugins/ione360-configurator/templates/woocommerce/content-single-product.php
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-contact-settings.php:24
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-contact-form.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-settings-render-display.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-settings-general-display.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-settings-layout-display.php:17
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-contact-form.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ione360-configurator/template.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ione360-configurator/configurator_template.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/ione360-configurator/admin/partials/configurator-ione360-admin-display.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ione360-configurator/templates/woocommerce/templates/contact-form.php:3
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in ione360-configurator/assets to your readme.txt
- Donate link: Invalid URI ("www.colijn-it.nl")
ione360-configurator/configurator-ione360.php 85% from 13 tests
The primary PHP file in "iONE360 configurator" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ione360-configurator.php" instead of "configurator-ione360.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin9,259 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 173 | 20 | 4,810 |
PHP | 22 | 296 | 777 | 3,988 |
JavaScript | 6 | 70 | 886 | 461 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 1.06MB with 0.64MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot1.png | 1,080.98KB | 250.39KB | ▼ 76.84% |
public/images/ione360.png | 1.36KB | 0.75KB | ▼ 44.53% |