Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.62MB] [CPU: ▼1.84ms] Passed 4 tests
This is a short check of server-side resources used by = Instantio - WooCommerce Quick Checkout | Instant Checkout, Side Cart & Popup Cart
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.95 ▲1.49 | 39.69 ▼2.69 |
Dashboard /wp-admin | 4.93 ▲1.58 | 53.99 ▼7.32 |
Posts /wp-admin/edit.php | 5.16 ▲1.80 | 60.22 ▲16.71 |
Add New Post /wp-admin/post-new.php | 7.65 ▲1.76 | 92.79 ▼6.39 |
Media Library /wp-admin/upload.php | 4.87 ▲1.64 | 44.79 ▲9.03 |
Dashboard /wp-admin/admin.php?page=ins_dashboard | 4.96 | 42.29 |
Server storage [IO: ▲4.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 200 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
tf_display_admin_notice_time |
Browser metrics 75% from 4 tests
An overview of browser requirements for = Instantio - WooCommerce Quick Checkout | Instant Checkout, Side Cart & Popup Cart
It is time to focus on the following
- Nodes: For the best user experience, please reduce the number of DOM nodes under 25,000 (currently 91,356 on /wp-admin/admin.php?page=wiopt#tab=general)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,724 ▼23 | 13.47 ▼0.88 | 1.01 ▼0.67 | 13.85 ▼29.77 |
Dashboard /wp-admin | 2,249 ▲72 | 5.73 ▲0.15 | 99.62 ▼1.42 | 43.40 ▼1.64 |
Posts /wp-admin/edit.php | 2,535 ▲432 | 5.33 ▲3.37 | 97.81 ▲59.64 | 38.89 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,640 ▲114 | 23.22 ▲0.09 | 657.03 ▼21.52 | 44.49 ▼12.19 |
Media Library /wp-admin/upload.php | 1,454 ▲54 | 4.29 ▲0.10 | 85.02 ▼23.47 | 45.81 ▼3.41 |
Dashboard /wp-admin/admin.php?page=ins_dashboard | 2,231 | 5.16 | 68.32 | 125.86 |
Settings /wp-admin/admin.php?page=wiopt#tab=general | 91,356 | 5.92 | 487.33 | 282.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- tf_display_admin_notice_time
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 fix the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/instantio/includes/controller/checkout_editor.php:4
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/instantio/includes/app/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/instantio/includes/app/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/instantio/functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/instantio/includes/controller/ins-checkout-editor.php:9
- > PHP Warning
require_once(wp-content/plugins/instantio/includes/app/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/instantio/includes/app/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ins_dashboard
- > Network (severe)
wp-content/plugins/instantio/admin/tf-options/img/play.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wiopt#tab=general
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wiopt#tab=general 923 The specified value "1px" cannot be parsed, or is out of range.
- > GET request to /wp-admin/admin.php?page=wiopt#tab=general
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wiopt#tab=general 934 The specified value "1px" cannot be parsed, or is out of range.
- > GET request to /wp-admin/admin.php?page=wiopt#tab=general
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wiopt#tab=general 945 The specified value "1px" cannot be parsed, or is out of range.
- > GET request to /wp-admin/admin.php?page=wiopt#tab=general
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wiopt#tab=general 956 The specified value "1px" cannot be parsed, or is out of range.
- > GET request to /wp-admin/admin.php?page=wiopt#tab=general
- > Javascript (severe) in unknown
/wp-content/plugins/instantio/admin/tf-options/assets/js/dashboard.js?ver=2.0.1 10:40 Uncaught TypeError: Cannot read properties of undefined (reading 'getElementsByClassName')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #9 (Glassmorphism theme - You can use the popular glass effect in the design.), #10 (Gradient theme - It uses the smooth Gradient color effect to the instantio.)
- Tags: Please delete some tags, you are using 34 tag instead of maximum 10
instantio/instantio.php 92% from 13 tests
The main PHP file in "= Instantio - WooCommerce Quick Checkout | Instant Checkout, Side Cart & Popup Cart" ver. 3.1.8 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 200 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin43,018 lines of code in 147 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 1,888 | 1,719 | 14,776 |
PO File | 11 | 3,539 | 7,610 | 10,429 |
Sass | 41 | 932 | 191 | 7,664 |
CSS | 6 | 188 | 94 | 6,559 |
JavaScript | 11 | 459 | 407 | 3,148 |
SVG | 16 | 0 | 0 | 302 |
XML | 1 | 6 | 11 | 95 |
JSON | 1 | 0 | 0 | 45 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 23.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 71.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 42 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 279 | |
▷ Static methods | 11 | 3.94% |
▷ Public methods | 233 | 83.51% |
▷ Protected methods | 6 | 2.15% |
▷ Private methods | 40 | 14.34% |
Functions | 32 | |
▷ Named functions | 27 | 84.38% |
▷ Anonymous functions | 5 | 15.62% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
21 compressed PNG files occupy 1.10MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/tf-options/img/pro/Dedicated-Mobile-Layout.png | 2.43KB | 2.03KB | ▼ 16.37% |
admin/tf-options/img/tutorial-1.png | 23.34KB | 24.67KB | 0.00% |
assets/img/delete.png | 1.22KB | 1.18KB | ▼ 3.68% |
admin/tf-options/img/layout/version2.png | 1.45KB | 1.27KB | ▼ 12.89% |
admin/tf-options/img/layout/Dark.png | 0.69KB | 0.69KB | 0.00% |