84% wp-property-feed-to-houzez-theme-connector

Code Review | WP Property Feed Connector for Houzez Theme

WordPress plugin WP Property Feed Connector for Houzez Theme scored84%from 54 tests.

About plugin

  • Plugin page: wp-property-feed-...
  • Plugin version: 1.35
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.2
  • WordPress version: 6.3.1
  • First release: Jul 4, 2018
  • Latest release: May 16, 2023
  • Number of updates: 39
  • Update frequency: every 45.6 days
  • Top authors: ultimatewebuk (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /3,186 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.11MB] [CPU: ▼11.58ms] Passed 4 tests

A check of server-side resources used by WP Property Feed Connector for Houzez Theme
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1240.35 ▼2.18
Dashboard /wp-admin3.42 ▲0.0847.69 ▼13.25
Posts /wp-admin/edit.php3.53 ▲0.1846.10 ▲4.35
Add New Post /wp-admin/post-new.php6.00 ▲0.1284.09 ▼31.07
Media Library /wp-admin/upload.php3.34 ▲0.1135.69 ▲0.18

Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Property Feed Connector for Houzez Theme
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,798 ▲3714.35 ▼0.021.69 ▼0.1441.52 ▼1.48
Dashboard /wp-admin2,204 ▲235.57 ▼0.1081.87 ▼15.8179.33 ▲43.63
Posts /wp-admin/edit.php2,109 ▲91.98 ▼0.0135.32 ▼6.2534.87 ▼0.76
Add New Post /wp-admin/post-new.php1,688 ▲28222.29 ▲4.25715.70 ▲156.2945.59 ▼2.28
Media Library /wp-admin/upload.php1,412 ▲124.13 ▼0.0697.00 ▼0.9262.05 ▲19.21

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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
Please take a closer look at the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/wp-property-feed-to-houzez-theme-connector/hou-wppf-connector.php

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)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Tags: You are using too many tags: 15 tag instead of maximum 10
Please take inspiration from this readme.txt

wp-property-feed-to-houzez-theme-connector/hou-wppf-connector.php 92% from 13 tests

Analyzing the main PHP file in "WP Property Feed Connector for Houzez Theme" version 1.35
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("wp-property-feed-to-houzez-theme-connector.php" instead of "hou-wppf-connector.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 detected485 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15548485

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions25
▷ Named functions2496.00%
▷ Anonymous functions14.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
wppf.png1.26KB0.65KB▼ 48.61%