Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.76ms] Passed 4 tests
Server-side resources used by BlindMatrix eCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 36.58 ▼5.59 |
Dashboard /wp-admin | 3.44 ▲0.13 | 47.01 ▲0.37 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.46 ▼6.94 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 86.10 ▼14.88 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 40.90 ▲8.57 |
Server storage [IO: ▲15.02MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- Illegal file modification detected: 1 file (0.00KB) outside of "wp-content/plugins/blindmatrix-ecommerce/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/blindmatrix-ecommerce/assets/banner-772\303\227250.jpg"
Filesystem: 201 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for BlindMatrix eCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.70 ▼0.03 | 1.67 ▼0.10 | 36.20 ▼7.08 |
Dashboard /wp-admin | 2,205 ▲28 | 5.63 ▲0.02 | 95.47 ▲2.80 | 42.88 ▲0.12 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.01 ▲0.06 | 39.49 ▼1.81 | 37.83 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,533 ▲6 | 23.21 ▲0.13 | 702.51 ▲74.64 | 57.40 ▲7.35 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.18 ▼0.06 | 97.22 ▼5.68 | 44.25 ▼0.11 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/blindmatrix-ecommerce/vendor/Shortcode-Source/appointment.php
- 39× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function blindmatrix_check_premium() in wp-content/plugins/blindmatrix-ecommerce/vendor/Shortcode-Source/Blinds-List.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/blindmatrix-ecommerce/vendor/Shortcode-Source/Product-Menu-Footer.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blindmatrix-ecommerce/functions.php:2
- > PHP Fatal error
Uncaught Error: Class 'MainController' not found in wp-content/plugins/blindmatrix-ecommerce/control/BlindWooc.php:2
- > PHP Warning
include(WP_PLUGIN_DIR/blindmatrix-ecommerce/control/MainController.php): failed to open stream: No such file or directory in wp-content/plugins/blindmatrix-ecommerce/common.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/blindmatrix-ecommerce/vendor/Shortcode-Source/shutter-type.php:2
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/blindmatrix-ecommerce/common.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/blindmatrix-ecommerce/custom_orderdetails.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/blindmatrix-ecommerce/vendor/Shortcode-Source/curtain-config.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/blindmatrix-ecommerce/vendor/Shortcode-Source/appointment.php:572
- > 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)
No browser issues were found
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
These attributes need your attention:
- Contributors: Plugin contributors field is missing
blindmatrix-ecommerce/blind-matrix-api.php 85% from 13 tests
The main PHP file in "BlindMatrix eCommerce" ver. 5.1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 344 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("blindmatrix-ecommerce.php" instead of "blind-matrix-api.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 detected50,801 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 27 | 872 | 146 | 21,722 |
PHP | 32 | 2,357 | 905 | 18,743 |
JavaScript | 14 | 538 | 268 | 10,238 |
SVG | 4 | 0 | 0 | 98 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 66.86 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 236.00 |
Average method complexity | 6.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 12 | 15.58% |
▷ Public methods | 76 | 98.70% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.30% |
Functions | 131 | |
▷ Named functions | 124 | 94.66% |
▷ Anonymous functions | 7 | 5.34% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
50 PNG files occupy 0.22MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/Shortcode-Source/image/blinds_icon/vertical-blinds.png | 1.35KB | 0.84KB | ▼ 38.00% |
vendor/Shortcode-Source/image/blinds_icon/roman-blinds.png | 1.50KB | 1.02KB | ▼ 32.01% |
vendor/Shortcode-Source/image/blinds_icon/day-&-night-blinds.png | 1.64KB | 1.15KB | ▼ 29.82% |
vendor/Shortcode-Source/image/admin_settings/layout-2.png | 1.26KB | 0.13KB | ▼ 89.69% |
vendor/Shortcode-Source/image/headertype_icon/goblet-buttoned.png | 11.93KB | 2.60KB | ▼ 78.19% |