83% idxpro

Code Review | IDXPro

WordPress plugin IDXPro scored83%from 54 tests.

About plugin

  • Plugin page: idxpro
  • Plugin version: 1.4.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.0
  • WordPress version: 6.3.1
  • First release: May 23, 2013
  • Latest release: Sep 5, 2014
  • Number of updates: 12
  • Update frequency: every 39.2 days
  • Top authors: ihouse (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,281 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼4.88ms] Passed 4 tests

Server-side resources used by IDXPro
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0340.45 ▲0.34
Dashboard /wp-admin3.39 ▲0.0945.64 ▼3.37
Posts /wp-admin/edit.php3.51 ▲0.1547.62 ▼1.68
Add New Post /wp-admin/post-new.php5.98 ▲0.0985.63 ▼9.66
Media Library /wp-admin/upload.php3.32 ▲0.0833.96 ▼4.81
IDXPro Configuration /wp-admin/plugins.php?page=idxpro-config3.3831.36

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by IDXPro
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲6914.47 ▼0.181.76 ▼0.0243.32 ▲0.54
Dashboard /wp-admin2,221 ▲334.81 ▼0.06107.96 ▼9.4339.56 ▼3.33
Posts /wp-admin/edit.php2,101 ▲152.00 ▲0.0335.61 ▼2.7433.42 ▼1.69
Add New Post /wp-admin/post-new.php1,367 ▼16617.09 ▼6.34592.44 ▼61.1744.40 ▼9.67
Media Library /wp-admin/upload.php1,403 ▲154.20 ▼0.2195.56 ▼3.8039.50 ▼3.17
IDXPro Configuration /wp-admin/plugins.php?page=idxpro-config8982.1622.6135.88

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function idxpro_get_account() in wp-content/plugins/idxpro/tinymce/tinymce.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/idxpro/idxpro.php:32
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/idxpro/widget.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function idxpro_get_account() in wp-content/plugins/idxpro/admin.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
  • Screenshots: These screenshots do not have images: #1 (When you edit your Posts and Pages, there is a new IDX button. Use it to embed your IDXPro Application or Quick Search Widget. It will use a WordPress shortcode. Examples: `[idxpro]`, `[idxpro widget='quick search']`), #2 (You can easily customize your Quick Search Widget to match your site. Edit the title, size, colors, and font.), #3 (Choose from one of several Design Themes for your main IDXPro Search pages.), #4 (Each Design Theme comes with several preset color palettes, or you can customize your own color palette. The banner is optional.), #5 (Easy to add widgets for your sidebar include Listing Slideshow (shown), Google Map, Popular Searches, MLS#, and Custom Form.)
The official readme.txt might help

idxpro/idxpro.php 92% from 13 tests

This is the main PHP file of "IDXPro" version 1.4.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 319 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin710 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP4205158600
JavaScript5115262
CSS19748

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.46
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%
Functions41
▷ Named functions41100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png12.68KB12.53KB▼ 1.18%
tinymce/idxpro_button.png0.20KB0.15KB▼ 25.48%