Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.51ms] Passed 4 tests
A check of server-side resources used by Houzez Property Feed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.87 ▼6.73 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.84 ▲2.23 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.41 ▼2.41 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.86 ▲5.47 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.08 ▲0.86 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 100 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_houzez_property_feed_logs_instance |
wp_houzez_property_feed_export_logs_instance |
wp_houzez_property_feed_logs_instance_log |
wp_houzez_property_feed_export_logs_instance_log |
New WordPress options |
---|
can_compress_scripts |
houzez_property_feed_version |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
houzez_property_feed_db_version |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Houzez Property Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.23 ▼0.03 | 1.61 ▲0.01 | 37.02 ▼6.81 |
Dashboard /wp-admin | 2,199 ▲18 | 5.49 ▼0.23 | 84.69 ▼27.77 | 41.44 ▼1.52 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.00 | 39.15 ▼0.57 | 35.32 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.16 ▼0.41 | 670.83 ▲65.06 | 55.92 ▲8.72 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.26 ▲0.07 | 97.74 ▲4.27 | 42.89 ▲2.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- widget_recent-posts
- houzez_property_feed_version
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- houzez_property_feed_db_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/houzez-property-feed/download.php
- > /wp-content/plugins/houzez-property-feed/includes/views/admin-settings-primary-nav-export.php
- > /wp-content/plugins/houzez-property-feed/includes/views/admin-settings-primary-nav-import.php
- 60× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant HOUZEZ_PROPERTY_FEED_PLUGIN_FILE - assumed 'HOUZEZ_PROPERTY_FEED_PLUGIN_FILE' (this will throw an Error in a future version of PHP) in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-logs-export.php on line 5
- > PHP Notice
Undefined variable: export_id in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-export-settings.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Houzez_Property_Feed_Format_Zoopla' not found in wp-content/plugins/houzez-property-feed/includes/export-formats/class-houzez-property-feed-format-zoopla.php:796
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-automatic-imports.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-export-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-settings-export.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-settings-import-email-reports.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-pro.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-logs-export.php:7
- > PHP Warning
include(): Failed opening './includes/views/admin-settings-notice.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/houzez-property-feed/includes/views/admin-settings-logs-import.php on line 5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
houzez-property-feed/houzez-property-feed.php Passed 13 tests
The principal PHP file in "Houzez Property Feed" v. 2.0.55 is loaded by WordPress automatically on each request
87 characters long description:
Automatically import properties to Houzez from estate agency CRMs and export to portals
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin35,700 lines of code in 96 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 91 | 6,227 | 2,366 | 33,694 |
JavaScript | 3 | 364 | 58 | 1,847 |
CSS | 2 | 37 | 4 | 159 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 345)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 140.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 398.00 |
Average method complexity | 26.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 345.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 49 | 100.00% |
▷ Final classes | 1 | 2.04% |
Methods | 268 | |
▷ Static methods | 1 | 0.37% |
▷ Public methods | 227 | 84.70% |
▷ Protected methods | 6 | 2.24% |
▷ Private methods | 35 | 13.06% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/houzez-property-feed-logo.png | 12.77KB | 8.22KB | ▼ 35.65% |