Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.03MB] [CPU: ▲28.95ms] Passed 4 tests
This is a short check of server-side resources used by IMPress for IDX Broker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.59 ▲2.13 | 59.31 ▲18.10 |
Dashboard /wp-admin | 5.42 ▲2.07 | 90.28 ▲26.51 |
Posts /wp-admin/edit.php | 5.47 ▲2.11 | 91.56 ▲42.12 |
Add New Post /wp-admin/post-new.php | 7.74 ▲1.86 | 135.15 ▲29.07 |
Media Library /wp-admin/upload.php | 5.33 ▲2.10 | 85.14 ▲46.60 |
Leads /wp-admin/admin.php?page=leads | 5.24 | 74.72 |
General Settings /wp-admin/admin.php?page=idx-broker | 5.23 | 78.06 |
Add Search /wp-admin/admin.php?page=edit-idx-search | 5.24 | 70.93 |
Add Lead /wp-admin/admin.php?page=edit-lead | 5.30 | 76.01 |
Saved Links /wp-admin/admin.php?page=idx-searches | 5.24 | 68.57 |
Server storage [IO: ▲10.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 564 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_idx_omnibar_widget |
widget_impress_idx_dashboard_widget |
db_upgraded |
widget_recent-posts |
widget_impress_lead_login |
idx_results_url |
widget_recent-comments |
idx_cron_schedule |
impress_data_sent |
widget_impress_carousel |
... |
Browser metrics Passed 4 tests
Checking browser requirements for IMPress for IDX Broker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,068 ▲307 | 13.36 ▼0.86 | 1.89 ▲0.09 | 43.32 ▲3.48 |
Dashboard /wp-admin | 2,406 ▲206 | 4.86 ▼0.01 | 111.95 ▼12.99 | 41.91 ▼0.51 |
Posts /wp-admin/edit.php | 2,250 ▲150 | 2.05 ▲0.02 | 39.13 ▼1.75 | 41.05 ▲3.77 |
Add New Post /wp-admin/post-new.php | 6,555 ▲5,019 | 29.56 ▲6.43 | 866.88 ▲203.41 | 37.54 ▼20.44 |
Media Library /wp-admin/upload.php | 1,553 ▲150 | 4.20 ▼0.06 | 102.90 ▼8.16 | 49.71 ▲2.42 |
Leads /wp-admin/admin.php?page=leads | 1,480 | 2.95 | 76.25 | 142.60 |
General Settings /wp-admin/admin.php?page=idx-broker | 1,487 | 6.43 | 155.08 | 119.16 |
Add Search /wp-admin/admin.php?page=edit-idx-search | 1,386 | 2.56 | 41.68 | 56.87 |
Add Lead /wp-admin/admin.php?page=edit-lead | 1,376 | 2.43 | 35.93 | 37.12 |
Saved Links /wp-admin/admin.php?page=idx-searches | 1,264 | 2.75 | 50.70 | 44.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/idx-broker-platinum/add-ons/listings/uninstall.php+9
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 12 options in the database
- widget_impress_idx_dashboard_widget
- impress_data_sent
- db_upgraded
- widget_impress_city_links
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- widget_impress_lead_login
- widget_impress_showcase
- ...
Smoke tests 50% 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 208× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/idx-broker-platinum/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php:7
- > PHP Warning
Use of undefined constant IMPRESS_IDX_DIR - assumed 'IMPRESS_IDX_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/idx-broker-platinum/add-ons/utilities/background-processing/impress-agents-background-process.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/idx-broker-platinum/vendor/symfony/translation/Dumper/PoFileDumper.php:21
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/idx-broker-platinum/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/idx-broker-platinum/vendor/symfony/translation/Dumper/XliffFileDumper.php:21
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/idx-broker-platinum/vendor/symfony/translation/Dumper/IniFileDumper.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/idx-broker-platinum/add-ons/listings/includes/wp-api.php:30
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/idx-broker-platinum/idx/widgets/impress-carousel-widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Loader\\FileLoader' not found in wp-content/plugins/idx-broker-platinum/vendor/symfony/translation/Loader/IniFileLoader.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Translation\\Catalogue\\OperationInterface' not found in wp-content/plugins/idx-broker-platinum/vendor/symfony/translation/Catalogue/AbstractOperation.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=idx-broker
- > Javascript (severe) in unknown
/wp-content/plugins/idx-broker-platinum/assets/vue/backend/admin.js?ver=0.1.0 81:34316
Optimizations
Plugin configuration 97% 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: Please reduce the number of tags, currently 26 tag instead of maximum 10
idx-broker-platinum/idx-broker-platinum.php Passed 13 tests
The main PHP file in "IMPress for IDX Broker" ver. 3.1.0 adds more information about the plugin and also serves as the entry point for this plugin
78 characters long description:
Over 600 IDX/MLS feeds serviced. The #1 IDX/MLS solution just got even better!
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
Good job! No executable or dangerous file extensions detected43,114 lines of code in 538 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 325 | 6,200 | 11,460 | 28,907 |
JSON | 12 | 0 | 0 | 7,903 |
XSD | 3 | 92 | 48 | 2,803 |
JavaScript | 82 | 158 | 333 | 1,589 |
Markdown | 10 | 331 | 0 | 915 |
CSS | 65 | 3 | 62 | 398 |
XML | 15 | 5 | 0 | 296 |
SVG | 12 | 0 | 2 | 230 |
PO File | 6 | 7 | 0 | 37 |
YAML | 5 | 4 | 0 | 24 |
Qt Linguist | 1 | 0 | 0 | 10 |
HTML | 1 | 0 | 0 | 1 |
INI | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 155)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 155.00 |
Code structure | ||
---|---|---|
Namespaces | 31 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 227 | |
▷ Abstract classes | 10 | 4.41% |
▷ Concrete classes | 217 | 95.59% |
▷ Final classes | 3 | 1.38% |
Methods | 1,439 | |
▷ Static methods | 141 | 9.80% |
▷ Public methods | 1,236 | 85.89% |
▷ Protected methods | 101 | 7.02% |
▷ Private methods | 102 | 7.09% |
Functions | 176 | |
▷ Named functions | 147 | 83.52% |
▷ Anonymous functions | 29 | 16.48% |
Constants | 52 | |
▷ Global constants | 7 | 13.46% |
▷ Class constants | 45 | 86.54% |
▷ Public constants | 45 | 100.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
15 PNG files occupy 0.21MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/block-placeholder-images/lead-signup-placeholder.png | 22.09KB | 8.43KB | ▼ 61.82% |
assets/images/block-placeholder-images/carousel-placeholder.png | 22.18KB | 8.40KB | ▼ 62.14% |
assets/images/active.png | 0.89KB | 0.59KB | ▼ 33.48% |
assets/images/block-placeholder-images/showcase-placeholder.png | 23.28KB | 8.74KB | ▼ 62.44% |
assets/images/block-placeholder-images/lead-login-placeholder.png | 20.69KB | 7.91KB | ▼ 61.78% |