Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼142.76ms] Passed 4 tests
An overview of server-side resources used by Veeqo for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 30.88 ▼3.47 |
Dashboard /wp-admin | 3.06 ▲0.00 | 47.30 ▲5.14 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 43.74 ▲0.58 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 90.61 ▼561.20 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 24.46 ▼6.95 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Veeqo for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,702 ▲106 | 15.82 ▲0.30 | 7.90 ▲0.14 | 51.08 ▲4.84 |
Dashboard /wp-admin | 2,973 ▲42 | 5.90 ▼0.03 | 124.29 ▼18.89 | 108.13 ▼4.36 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.69 ▲0.00 | 65.10 ▼0.32 | 76.41 ▼20.10 |
Add New Post /wp-admin/post-new.php | 1,498 ▼106 | 18.83 ▼0.01 | 369.25 ▲3.47 | 113.36 ▲5.38 |
Media Library /wp-admin/upload.php | 1,807 ▼6 | 5.00 ▼0.04 | 155.71 ▲7.86 | 115.37 ▼10.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/veeqo-for-woocommerce/veeqo.php
- > /wp-content/plugins/veeqo-for-woocommerce/views/layout/header.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to a member function does_bridge_exist() on null in wp-content/plugins/veeqo-for-woocommerce/views/index_view.php:21
- > PHP Fatal error
Uncaught Error: Class 'VeeqoPluginCore' not found in wp-content/plugins/veeqo-for-woocommerce/includes/bridge_class.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function plugin_url() on null in wp-content/plugins/veeqo-for-woocommerce/views/layout/index/index_bottom.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/veeqo-for-woocommerce/includes/wordpress_hooks.php:2
- > PHP Notice
Trying to get property 'bridge' of non-object in wp-content/plugins/veeqo-for-woocommerce/views/install_bridge_form_view.php on line 4
- > PHP Notice
Trying to get property 'bridge' of non-object in wp-content/plugins/veeqo-for-woocommerce/views/index_view.php on line 21
- > PHP Notice
Trying to get property 'core' of non-object in wp-content/plugins/veeqo-for-woocommerce/views/layout/index/index_bottom.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function does_bridge_exist() on null in wp-content/plugins/veeqo-for-woocommerce/views/install_bridge_form_view.php:4
- > PHP Notice
Undefined variable: wooVeeqo in wp-content/plugins/veeqo-for-woocommerce/views/layout/index/index_bottom.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: You are using too many tags: 23 tag instead of maximum 10
veeqo-for-woocommerce/veeqo.php 85% from 13 tests
The primary PHP file in "Veeqo for WooCommerce" version 1.2.7 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("3.1" instead of "1.6")
- Main file name: Name the main plugin file the same as the plugin slug ("veeqo-for-woocommerce.php" instead of "veeqo.php")
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
No dangerous file extensions were detected690 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 24 | 30 | 334 |
PHP | 9 | 79 | 24 | 321 |
JavaScript | 1 | 8 | 1 | 35 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 56.52% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 43.48% |
Functions | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/veeqo-logo.png | 4.52KB | 2.44KB | ▼ 46.00% |
assets/images/woocommerceapp-x2.png | 89.38KB | 40.01KB | ▼ 55.24% |
assets/images/shippingintegrations.png | 6.21KB | 3.27KB | ▼ 47.30% |
assets/images/ebay-amazon.png | 2.66KB | 1.96KB | ▼ 26.40% |