Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function register_taxonomy was called incorrectly. Taxonomy names must be between 1 and 32 characters in length. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.)
Server metrics [RAM: ▲0.71MB] [CPU: ▼34.74ms] Passed 4 tests
Analyzing server-side resources used by WP Listings Pro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.69 ▲1.23 | 30.70 ▼10.67 |
Dashboard /wp-admin | 4.73 ▲1.38 | 30.57 ▼35.51 |
Posts /wp-admin/edit.php | 4.73 ▲1.37 | 31.64 ▼17.09 |
Add New Post /wp-admin/post-new.php | 4.73 ▼1.16 | 29.97 ▼75.68 |
Media Library /wp-admin/upload.php | 4.73 ▲1.50 | 34.19 ▼3.51 |
Locations /wp-admin/edit-tags.php?taxonomy=locations&post_type=listing | 4.73 | 26.23 |
WP Listing Pro /wp-admin/plugins.php?page=wplpro_welcome_page | 4.73 | 25.69 |
Employees /wp-admin/edit.php?post_type=employee | 4.73 | 33.79 |
Offices /wp-admin/edit-tags.php?taxonomy=offices&post_type=employee | 4.73 | 25.60 |
IDX Broker Import /wp-admin/edit.php?post_type=listing&page=wplistings-idx-listing | 4.73 | 26.73 |
Property Types /wp-admin/edit-tags.php?taxonomy=property-types&post_type=listing | 4.73 | 26.27 |
Job Types /wp-admin/edit-tags.php?taxonomy=job-types&post_type=employee | 4.73 | 27.03 |
IDX Broker Import /wp-admin/edit.php?post_type=employee&page=wplpro-idx-agent | 4.73 | 26.12 |
Listings /wp-admin/edit.php?post_type=listing | 4.73 | 28.80 |
Add New /wp-admin/post-new.php?post_type=listing | 4.73 | 27.00 |
Server storage [IO: ▲5.65MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 138 new files
Database: no new tables, 14 new options
New WordPress options |
---|
WPLPRO_Taxonomies |
wplpro_plugin_settings |
db_upgraded |
widget_wplpro_employee |
widget_recent-comments |
status_children |
WPLPROAgents_taxonomies |
widget_wplpro_listings_search |
theysaidso_admin_options |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP Listings Pro
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,058 ▲312 | 13.47 ▼0.70 | 10.47 ▲8.69 | 39.33 ▼4.88 |
Dashboard /wp-admin | 2,340 ▲172 | 5.66 ▲0.06 | 94.12 ▼4.61 | 47.72 ▼12.26 |
Posts /wp-admin/edit.php | 2,231 ▲134 | 2.01 ▼0.00 | 39.90 ▲4.15 | 36.00 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,654 ▲107 | 22.26 ▼0.93 | 690.36 ▲53.61 | 38.78 ▼20.38 |
Media Library /wp-admin/upload.php | 1,522 ▲119 | 4.26 ▲0.05 | 99.13 ▲2.38 | 47.09 ▲4.70 |
Locations /wp-admin/edit-tags.php?taxonomy=locations&post_type=listing | 1,439 | 2.15 | 27.69 | 29.70 |
WP Listing Pro /wp-admin/plugins.php?page=wplpro_welcome_page | 963 | 2.07 | 31.03 | 50.54 |
Employees /wp-admin/edit.php?post_type=employee | 1,228 | 1.96 | 39.39 | 36.02 |
Offices /wp-admin/edit-tags.php?taxonomy=offices&post_type=employee | 1,445 | 2.15 | 30.96 | 33.92 |
IDX Broker Import /wp-admin/edit.php?post_type=listing&page=wplistings-idx-listing | 1,152 | 3.52 | 58.77 | 32.91 |
Property Types /wp-admin/edit-tags.php?taxonomy=property-types&post_type=listing | 1,977 | 2.31 | 31.84 | 34.95 |
Job Types /wp-admin/edit-tags.php?taxonomy=job-types&post_type=employee | 1,442 | 2.15 | 26.32 | 32.67 |
IDX Broker Import /wp-admin/edit.php?post_type=employee&page=wplpro-idx-agent | 1,160 | 3.57 | 49.57 | 101.28 |
Listings /wp-admin/edit.php?post_type=listing | 1,232 | 1.96 | 32.09 | 31.21 |
Add New /wp-admin/post-new.php?post_type=listing | 7,324 | 26.34 | 917.19 | 64.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-listings-pro/includes/class-agents.php+145
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 14 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- WPLPRO_Taxonomies
- status_children
- widget_wplpro_listings_search
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- property-types_children
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 21 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=listing
- > Notice in wp-content/plugins/wp-listings-pro/includes/class-agents.php+145
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=wplpro_welcome_page
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=employee&page=wplpro-idx-agent
- > Notice in wp-content/plugins/wp-listings-pro/includes/class-agent-import.php+592
Undefined index: agentID
- > GET request to /wp-admin/edit.php?post_type=employee&page=wplpro-idx-agent
- > Notice in wp-content/plugins/wp-listings-pro/includes/class-agent-import.php+587
Undefined index: agentDisplayName
- > GET request to /wp-admin/edit.php?post_type=employee&page=wplpro-idx-agent
- > Notice in wp-content/plugins/wp-listings-pro/includes/class-agent-import.php+588
Undefined index: agentTitle
- > GET request to /wp-admin/post-new.php?post_type=listing
- > User notice in wp-includes/functions.php+5905
Function register_taxonomy was called incorrectly. The "status" taxonomy "rest_base" property (status) conflicts with an existing property on the REST API Posts Controller. Specify a custom "rest_base" when registering the taxonomy to avoid this error. Please see Debugging in WordPress for more information. (This message was added in version 5.4.0.)
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
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_meta() in wp-content/plugins/wp-listings-pro/includes/class-listing-register-meta.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-listings-pro/includes/class-custom-post-types.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-listings-pro/modules/class-wplpro-settings.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/wp-listings-pro/includes/wp-background-processing/classes/wp-background-process.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-listings-pro/includes/widgets/class-wp-listings-featured-listings-widget.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-listings-pro/includes/widgets/class-wp-listings-search-widget.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=employee&page=wplpro-idx-agent
- > Javascript (severe) in unknown
/wp-content/plugins/wp-listings-pro/assets/js/imagesloaded.min.js?ver=6.3.1 0:888 Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
wp-listings-pro/wp-listings-pro.php Passed 13 tests
"WP Listings Pro" version 3.0.14's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
103 characters long description:
Manages both listings and agents through an IDX broker or invidually, along with linking them together.
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
Success! There were no dangerous files found in this plugin88,929 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 2 | 0 | 0 | 62,747 |
JSON | 11 | 0 | 0 | 12,000 |
PHP | 63 | 3,022 | 7,156 | 10,576 |
Sass | 8 | 394 | 36 | 2,048 |
JavaScript | 10 | 155 | 155 | 1,539 |
CSS | 18 | 0 | 11 | 18 |
YAML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 19.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 2 | 6.25% |
▷ Concrete classes | 30 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 299 | |
▷ Static methods | 21 | 7.02% |
▷ Public methods | 275 | 91.97% |
▷ Protected methods | 24 | 8.03% |
▷ Private methods | 0 | 0.00% |
Functions | 114 | |
▷ Named functions | 110 | 96.49% |
▷ Anonymous functions | 4 | 3.51% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
8 compressed PNG files occupy 0.08MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/controls.png | 1.33KB | 1.42KB | 0.00% |
assets/images/equity-ad.png | 24.32KB | 14.93KB | ▼ 38.61% |
assets/images/imforza-bolt.png | 4.22KB | 4.22KB | 0.00% |
assets/images/imforza-logo-w.png | 14.72KB | 14.58KB | ▼ 0.99% |
assets/images/no-photo-full.png | 8.45KB | 8.46KB | 0.00% |