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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.44ms] Passed 4 tests
A check of server-side resources used by Wizart AR Room Visualizer WordPress Plugin: New Standard of Selling Home Improvement Products
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 35.38 ▼4.37 |
Dashboard /wp-admin | 3.37 ▲0.03 | 47.79 ▼13.48 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.37 ▲0.05 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 90.04 ▼11.96 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 34.16 ▲0.34 |
Wizart Integration /wp-admin/options-general.php?page=wizart | 3.32 | 34.91 |
Server storage [IO: ▲6.94MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- Illegal file modification detected: 2 files (0.00KB) outside of "wp-content/plugins/wizart-home-interior-design-solutions/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/wizart-home-interior-design-solutions/assets/icon-256\321\205256.png"
- (new file) "wp-content/plugins/wizart-home-interior-design-solutions/assets/icon-128\321\205128.png"
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Wizart AR Room Visualizer WordPress Plugin: New Standard of Selling Home Improvement Products: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.55 ▼0.88 | 1.70 ▲0.09 | 42.51 ▼3.81 |
Dashboard /wp-admin | 2,212 ▲20 | 5.88 ▲0.92 | 109.79 ▼2.01 | 41.76 ▼3.65 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.06 ▲0.09 | 38.58 ▲2.59 | 39.24 ▲3.32 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 17.98 ▼0.16 | 596.28 ▼7.85 | 52.64 ▼10.70 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.22 ▲0.02 | 94.44 ▼2.63 | 41.99 ▲0.12 |
Wizart Integration /wp-admin/options-general.php?page=wizart | 1,151 | 2.03 | 22.86 | 28.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wizart-home-interior-design-solutions/public/partials/wizart-public-display-iframe.php
- > /wp-content/plugins/wizart-home-interior-design-solutions/public/partials/wizart-public-display-svg.php
- > /wp-content/plugins/wizart-home-interior-design-solutions/public/partials/wizart-public-display-iframe-svg.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wizart-home-interior-design-solutions/admin/views/settings.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in wizart-home-interior-design-solutions/assets to your readme.txt
wizart-home-interior-design-solutions/wizart.php 85% from 13 tests
The main file in "Wizart AR Room Visualizer WordPress Plugin: New Standard of Selling Home Improvement Products" v. 1.0.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 385 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wizart-home-interior-design-solutions.php" instead of "wizart.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,931 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 229 | 655 | 940 |
SVG | 1 | 0 | 0 | 701 |
JavaScript | 4 | 37 | 9 | 188 |
CSS | 3 | 13 | 0 | 102 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 15.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 61 | |
▷ Static methods | 1 | 1.64% |
▷ Public methods | 37 | 60.66% |
▷ Protected methods | 5 | 8.20% |
▷ Private methods | 19 | 31.15% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 40 | |
▷ Global constants | 1 | 2.50% |
▷ Class constants | 39 | 97.50% |
▷ Public constants | 39 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128х128.png | 14.98KB | 7.02KB | ▼ 53.11% |
assets/icon-256х256.png | 40.72KB | 19.08KB | ▼ 53.13% |