Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.19ms] 75% from 4 tests
Analyzing server-side resources used by RealtyCandy MailChimp IDX Broker Connector
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 536.49ms on /wp-admin/admin.php?page=settings-mailchimp-idx)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.41 ▼4.59 |
Dashboard /wp-admin | 3.34 ▲0.04 | 55.40 ▲4.73 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 52.77 ▲2.05 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.88 ▼20.72 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.65 ▲2.49 |
Settings /wp-admin/admin.php?page=settings-mailchimp-idx | 3.31 | 536.49 |
Mailchimp IDX /wp-admin/admin.php?page=mailchimp-idx | 3.28 | 370.70 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by RealtyCandy MailChimp IDX Broker Connector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲100 | 14.74 ▲0.17 | 2.28 ▲0.66 | 42.67 ▲0.34 |
Dashboard /wp-admin | 2,230 ▲53 | 5.66 ▲0.06 | 88.32 ▲2.67 | 39.17 ▼6.76 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.06 ▲0.06 | 41.86 ▼0.58 | 35.58 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,553 ▲24 | 23.39 ▲0.56 | 639.85 ▲5.91 | 56.18 ▼0.02 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.27 ▲0.06 | 106.07 ▲5.31 | 44.44 ▲2.95 |
Settings /wp-admin/admin.php?page=settings-mailchimp-idx | 986 | 2.06 | 30.97 | 66.30 |
Mailchimp IDX /wp-admin/admin.php?page=mailchimp-idx | 1,169 | 2.36 | 47.44 | 33.06 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/bootstrap.php
- > /wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/views/idxaddons-mailchimp-setting/page-settings-fields.php
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
require_once(WP_PLUGIN_DIR/simpletest-for-wordpress/WpSimpleTest.php): failed to open stream: No such file or directory in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/tests/unit/unit-test-wpps-settings.php on line 3
- > PHP Notice
Undefined variable: section in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/views/idxaddons-mailchimp-setting/page-settings-section-headers.php on line 6
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/tests/unit/unit-test-wpps-settings.php on line 3
- > PHP Warning
require_once(WP_PLUGIN_DIR/simpletest-for-wordpress/WpSimpleTest.php): failed to open stream: No such file or directory in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/tests/unit/unit-test-wpps-instance-class.php on line 3
- > PHP Notice
Undefined variable: field in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/views/idxaddons-mailchimp-setting/page-settings-fields.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/views/idxaddons-mailchimp-setting/page-settings-fields.php on line 52
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/views/idxaddons-mailchimp-setting/page-settings-fields.php on line 29
- > PHP Notice
Undefined variable: field in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/views/idxaddons-mailchimp-setting/page-settings-fields.php on line 52
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/views/idxaddons-mailchimp-setting/page-settings-fields.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'TestSuite' not found in wp-content/plugins/realtycandy-mailchimp-idx-broker-connector/tests/wpps-test-suite.php:11
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Screenshots: Screenshot #1 (Select this box in the setup page to match your IDX Broker leads with a MailChimp list) image missing
realtycandy-mailchimp-idx-broker-connector/bootstrap.php 92% from 13 tests
The entry point to "RealtyCandy MailChimp IDX Broker Connector" version 0.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("realtycandy-mailchimp-idx-broker-connector.php" instead of "bootstrap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected2,321 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 510 | 1,354 | 2,184 |
JavaScript | 2 | 16 | 15 | 91 |
CSS | 1 | 2 | 1 | 26 |
Markdown | 2 | 7 | 0 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 22.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 244.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 28 | 17.61% |
▷ Public methods | 88 | 55.35% |
▷ Protected methods | 69 | 43.40% |
▷ Private methods | 2 | 1.26% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 7 | 58.33% |
▷ Class constants | 5 | 41.67% |
▷ Public constants | 5 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/blank.png | 0.27KB | 0.10KB | ▼ 61.68% |