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
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/i9-idxpress/i9Listings.php+129
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
Server metrics [RAM: ▼1.82MB] [CPU: ▼50.42ms] Passed 4 tests
This is a short check of server-side resources used by IDXMATRIX
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 5.76 ▼39.05 |
Dashboard /wp-admin | 2.19 ▼1.12 | 9.10 ▼39.81 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 7.58 ▼37.74 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 6.85 ▼85.06 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 11.73 ▼22.52 |
Server storage [IO: ▲3.69MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 143 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_cannysys-listings |
widget_recent-comments |
widget_i9-calc-widget |
widget_cannysys-guided-search |
widget_theysaidso_widget |
widget_i9-quicksearch |
theysaidso_admin_options |
widget_recent-posts |
widget_i9-open-house |
widget_i9-list-areas |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IDXMATRIX
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,008 ▲273 | 14.65 ▲0.27 | 39.67 ▲37.99 | 34.00 ▼10.12 |
Dashboard /wp-admin | 2,240 ▲49 | 5.10 ▼0.75 | 112.41 ▲4.90 | 122.19 ▲83.51 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.07 ▲0.03 | 35.50 ▲0.88 | 44.93 ▲5.08 |
Add New Post /wp-admin/post-new.php | 1,704 ▲185 | 22.56 ▼0.65 | 744.44 ▲54.74 | 46.53 ▼16.51 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.27 ▲0.02 | 102.56 ▲0.93 | 99.19 ▲54.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the i9_admin_options_style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 12 options in the database
- widget_i9-quicksearch
- widget_i9-open-house
- widget_cannysys-listings
- widget_recent-posts
- widget_theysaidso_widget
- widget_i9-list-areas
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_cannysys-guided-search
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/i9-idxpress/i9-budget-widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/i9-idxpress/i9-listing-areas.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/i9-idxpress/admin.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/i9-idxpress/i9-open-house.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/i9-idxpress/i9Listings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/i9-idxpress/autocomplete.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/i9-idxpress/i9guided-search.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/i9-idxpress/client.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/i9-idxpress/rewrite.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/i9-idxpress/i9quick_search.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: custom idx, idx, mls, idxmatrix, housing...
i9-idxpress/i9-idxpress.php 92% from 13 tests
This is the main PHP file of "IDXMATRIX" version 1.0, 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: Keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected14,495 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 103 | 88 | 4,156 |
PHP | 20 | 4,474 | 284 | 3,955 |
JavaScript | 13 | 1,667 | 174 | 2,374 |
SVG | 4 | 0 | 0 | 1,507 |
Sass | 13 | 23 | 24 | 1,256 |
LESS | 13 | 23 | 33 | 1,247 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 39.81 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 222.00 |
Average method complexity | 6.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 87 | 73.73% |
▷ Public methods | 115 | 97.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.54% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
26 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/selectarrow.png | 1.06KB | 0.15KB | ▼ 85.60% |
css/images/ui-icons_454545_256x240.png | 4.10KB | 4.11KB | 0.00% |
images/hyperlink-icon.png | 3.89KB | 0.49KB | ▼ 87.34% |
css/images/ui-icons_cd0a0a_256x240.png | 4.10KB | 4.11KB | 0.00% |
images/i9-icon2.png | 4.32KB | 0.96KB | ▼ 77.70% |