Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/houzez-respacio-import/includes/admin-page.php+701
Undefined index: flag
Server metrics [RAM: ▼1.32MB] [CPU: ▼52.85ms] Passed 4 tests
This is a short check of server-side resources used by Respacio Houzez Import
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.67 ▼0.79 | 7.07 ▼29.72 |
Dashboard /wp-admin | 2.69 ▼0.61 | 7.85 ▼38.17 |
Posts /wp-admin/edit.php | 2.69 ▼0.66 | 10.17 ▼49.09 |
Add New Post /wp-admin/post-new.php | 2.69 ▼3.19 | 8.15 ▼94.43 |
Media Library /wp-admin/upload.php | 2.69 ▼0.54 | 7.67 ▼26.20 |
Export /wp-admin/admin.php?page=respacio_houzez_export | 2.69 | 8.38 |
Import /wp-admin/admin.php?page=respacio_houzez_import | 2.69 | 10.90 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Respacio Houzez Import
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲56 | 13.29 ▼1.10 | 1.96 ▲0.06 | 44.29 ▲5.57 |
Dashboard /wp-admin | 2,236 ▲48 | 5.89 ▲0.03 | 106.79 ▼11.47 | 42.08 ▼3.73 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.05 ▲0.06 | 39.40 ▼1.19 | 34.88 ▼5.38 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.41 ▲0.11 | 668.23 ▲79.17 | 50.22 ▲1.82 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.20 ▼0.05 | 102.00 ▼2.12 | 43.70 ▼0.50 |
Export /wp-admin/admin.php?page=respacio_houzez_export | 839 | 2.03 | 25.56 | 25.58 |
Import /wp-admin/admin.php?page=respacio_houzez_import | 829 | 2.02 | 24.16 | 29.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/houzez-respacio-import/includes/admin-page.php+701
Undefined index: flag
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=respacio_houzez_import
- > Notice in wp-content/plugins/houzez-respacio-import/includes/admin-page.php+701
Undefined index: flag
- > GET request to /wp-admin/admin.php?page=respacio_houzez_export
- > Notice in wp-content/plugins/houzez-respacio-import/includes/template/export.php+18
Undefined index: submit
- > GET request to /wp-admin/admin.php?page=respacio_houzez_import
- > Notice in wp-content/plugins/houzez-respacio-import/includes/template/api-varification.php+4
Undefined index: property_verification_api
- > GET request to /wp-admin/admin.php?page=respacio_houzez_import
- > Notice in wp-content/plugins/houzez-respacio-import/includes/template/api-varification.php+18
Undefined index: property_sync_property
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 take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/houzez-respacio-import/includes/admin-page.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/houzez-respacio-import/includes/admin-page.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/houzez-respacio-import/includes/template/api-varification.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/houzez-respacio-import/includes/template/export.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (This screen for import export data or API), #2 (This screen for enter API key for import data), #3 (Screen for export properties)
houzez-respacio-import/respacio-import.php 92% from 13 tests
"Respacio Houzez Import" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("houzez-respacio-import.php" instead of "respacio-import.php")
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
Good job! No executable or dangerous file extensions detected1,750 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 430 | 126 | 1,565 |
CSS | 1 | 12 | 14 | 157 |
JavaScript | 1 | 3 | 5 | 28 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin