Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.55MB] [CPU: ▲22.88ms] Passed 4 tests
An overview of server-side resources used by Optima Express + MarketBoost IDX Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.48 | 1,014.20 ▲973.13 |
Dashboard /wp-admin | 3.88 ▲0.58 | 81.71 ▲30.76 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 68.05 ▲17.47 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 104.97 ▲14.10 |
Media Library /wp-admin/upload.php | 3.77 ▲0.55 | 64.35 ▲29.20 |
Social Widget /wp-admin/admin.php?page=ihf-social-page | 3.74 | 59.41 |
Configuration /wp-admin/admin.php?page=ihf-config-page | 3.74 | 47.97 |
Information /wp-admin/admin.php?page=ihf-information | 3.74 | 51.65 |
Bio Widget /wp-admin/admin.php?page=ihf-bio-page | 3.82 | 58.50 |
IDX Pages /wp-admin/admin.php?page=ihf-option-pages | 3.78 | 55.48 |
Email Branding /wp-admin/admin.php?page=ihf-email-branding-page | 3.84 | 62.67 |
Register /wp-admin/admin.php?page=ihf-option-activate | 3.74 | 54.62 |
Shortcodes /wp-admin/admin.php?page=ihf-shortcodes | 3.75 | 422.20 |
Server storage [IO: ▲0.74MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 133 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_ihomefindersocialwidget |
theysaidso_admin_options |
can_compress_scripts |
ihf_version_option |
widget_ihomefinderagentbiowidget |
widget_ihomefindersearchbyaddresswidget |
ihf_database_cache_test |
widget_recent-comments |
ihf-css-override |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Optima Express + MarketBoost IDX Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲183 | 13.62 ▼0.67 | 8.27 ▲6.21 | 41.40 ▼3.07 |
Dashboard /wp-admin | 2,261 ▲69 | 5.88 ▲0.97 | 103.42 ▼6.53 | 43.01 ▼3.11 |
Posts /wp-admin/edit.php | 2,170 ▲81 | 2.31 ▲0.31 | 48.09 ▲9.92 | 38.21 ▲1.48 |
Add New Post /wp-admin/post-new.php | 1,570 ▲42 | 21.12 ▲2.84 | 571.73 ▼47.71 | 35.28 ▼7.45 |
Media Library /wp-admin/upload.php | 1,458 ▲70 | 4.32 ▲0.14 | 117.67 ▲14.49 | 46.51 ▲1.57 |
Social Widget /wp-admin/admin.php?page=ihf-social-page | 1,097 | 2.10 | 28.04 | 32.36 |
Configuration /wp-admin/admin.php?page=ihf-config-page | 930 | 2.10 | 31.19 | 31.96 |
Information /wp-admin/admin.php?page=ihf-information | 916 | 2.03 | 28.87 | 28.51 |
Bio Widget /wp-admin/admin.php?page=ihf-bio-page | 1,612 | 6.32 | 113.47 | 56.99 |
IDX Pages /wp-admin/admin.php?page=ihf-option-pages | 1,090 | 2.51 | 39.18 | 30.01 |
Email Branding /wp-admin/admin.php?page=ihf-email-branding-page | 1,867 | 7.40 | 132.75 | 32.26 |
Register /wp-admin/admin.php?page=ihf-option-activate | 895 | 2.02 | 27.96 | 32.85 |
Shortcodes /wp-admin/admin.php?page=ihf-shortcodes | 3,052 | 1.93 | 31.88 | 43.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 16 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_ihomefindersearchbylistingidwidget
- ihf-css-override
- widget_ihomefinderagentbiowidget
- theysaidso_admin_options
- widget_recent-posts
- widget_ihomefindersocialwidget
- ihf_database_cache_test
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ihf-option-pages
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
- 75× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAbstractVirtualPage' not found in wp-content/plugins/optima-express/virtualPage/iHomefinderMlsPortalBoardOfficeSearchVirtualPageImpl.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAdminAbstractPage' not found in wp-content/plugins/optima-express/adminPage/iHomefinderAdminInformation.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAdminAbstractPage' not found in wp-content/plugins/optima-express/adminPage/iHomefinderAdminBio.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAbstractVirtualPage' not found in wp-content/plugins/optima-express/virtualPage/iHomefinderOfficeListVirtualPageImpl.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAbstractPropertyOrganizerVirtualPage' not found in wp-content/plugins/optima-express/virtualPage/iHomefinderOrganizerEditSubscriberVirtualPageImpl.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAbstractVirtualPage' not found in wp-content/plugins/optima-express/virtualPage/iHomefinderAdvancedSearchFormVirtualPageImpl.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderWidget' not found in wp-content/plugins/optima-express/widget/iHomefinderSearchByListingIdWidget.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAbstractVirtualPage' not found in wp-content/plugins/optima-express/virtualPage/iHomefinderDefaultVirtualPageImpl.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAbstractVirtualPage' not found in wp-content/plugins/optima-express/virtualPage/iHomefinderAbstractPropertyOrganizerVirtualPage.php:3
- > PHP Fatal error
Uncaught Error: Class 'iHomefinderAbstractVirtualPage' not found in wp-content/plugins/optima-express/virtualPage/iHomefinderFeaturedSearchVirtualPageImpl.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: multiple listing service, mls, real estate, idx solutions, idx...
optima-express/iHomefinder.php 85% from 13 tests
The main file in "Optima Express + MarketBoost IDX Plugin" v. 7.3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("optima-express.php" instead of "iHomefinder.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 248 characters long)
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
Success! There were no dangerous files found in this plugin18,090 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 106 | 1,417 | 575 | 11,723 |
CSS | 2 | 11 | 8 | 5,809 |
JavaScript | 7 | 45 | 91 | 558 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 9.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 3 | 2.94% |
▷ Concrete classes | 99 | 97.06% |
▷ Final classes | 0 | 0.00% |
Methods | 941 | |
▷ Static methods | 91 | 9.67% |
▷ Public methods | 801 | 85.12% |
▷ Protected methods | 27 | 2.87% |
▷ Private methods | 113 | 12.01% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 295 | |
▷ Global constants | 1 | 0.34% |
▷ Class constants | 294 | 99.66% |
▷ Public constants | 294 | 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
17 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/instagram-icon-white-nobg.png | 0.58KB | 0.75KB | 0.00% |
images/youtube-icon.png | 2.24KB | 1.34KB | ▼ 40.34% |
images/twitter-icon.png | 0.82KB | 0.71KB | ▼ 14.01% |
images/yelp-icon.png | 1.07KB | 0.73KB | ▼ 32.06% |
images/pinterest-icon.png | 1.84KB | 0.77KB | ▼ 58.37% |