Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wp-real-estate-property-listing-crm/includes/lib/tcpdf/tcpdf.php+16912
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲5.92MB] [CPU: ▼29.54ms] 75% from 4 tests
A check of server-side resources used by Real Estate Listings Plugin for Professionals
It is recommended to improve the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.92MB on /wp-admin/options.php?page=md-subscribe-api)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.91 ▲6.45 | 24.38 ▼19.68 |
Dashboard /wp-admin | 9.93 ▲6.63 | 28.10 ▼16.98 |
Posts /wp-admin/edit.php | 9.93 ▲6.58 | 27.39 ▼17.30 |
Add New Post /wp-admin/post-new.php | 9.93 ▲4.04 | 27.23 ▼64.20 |
Media Library /wp-admin/upload.php | 9.93 ▲6.70 | 30.12 ▼2.29 |
Subscribe Masterdigm API /wp-admin/options.php?page=md-settings-crm | 9.93 | 26.21 |
Subscribe Masterdigm API /wp-admin/options.php?page=md-subscribe-api | 9.93 | 28.26 |
Server storage [IO: ▲9.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 654 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
MWP_ACTIVATE |
api_keys_changed |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Real Estate Listings Plugin for Professionals
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,216 ▲481 | 15.89 ▲1.30 | 15.94 ▲13.61 | 40.39 ▼9.21 |
Dashboard /wp-admin | 2,368 ▲177 | 6.59 ▲1.66 | 131.09 ▲29.45 | 102.43 ▲56.09 |
Posts /wp-admin/edit.php | 2,292 ▲203 | 3.47 ▲1.49 | 53.60 ▲14.95 | 84.43 ▲52.15 |
Add New Post /wp-admin/post-new.php | 1,558 ▲36 | 18.20 ▼4.99 | 599.10 ▼58.24 | 42.52 ▼17.41 |
Media Library /wp-admin/upload.php | 1,438 ▲50 | 4.31 ▲0.11 | 85.23 ▼16.27 | 76.57 ▲30.68 |
Subscribe Masterdigm API /wp-admin/options.php?page=md-settings-crm | 1,081 | 3.42 | 39.96 | 53.48 |
Subscribe Masterdigm API /wp-admin/options.php?page=md-subscribe-api | 1,067 | 3.47 | 38.70 | 76.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/wp-real-estate-property-listing-crm/includes/lib/tcpdf/tcpdf.php+16912
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- api_keys_changed
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options.php?page=md-subscribe-api
- > Deprecated in wp-content/plugins/wp-real-estate-property-listing-crm/includes/lib/tcpdf/include/tcpdf_images.php+310
Array and string offset access syntax with curly braces is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options.php?page=md-subscribe-api
- > Warning in wp-content/plugins/wp-real-estate-property-listing-crm/includes/lib/tcpdf/tcpdf.php+17797
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
SRP 0% 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
Almost there! Just fix the following items
- 18× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-real-estate-property-listing-crm/includes/lib/tcpdf/tools/tcpdf_addfont.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/actionbuttons/print-button.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/admin/partials/property/settings/index.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/angularjs/favorite-button.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/admin/partials/mwp-admin-display.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/facebookapp/login-button.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/admin/partials/dashboard/tab-nav.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/account/favorites.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/partials/part-header-map.php
- > /wp-content/plugins/wp-real-estate-property-listing-crm/admin/partials/theme/settings/index.php
- 199× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-real-estate-property-listing-crm/admin/partials/subscribe/forms.php:1
- > PHP Fatal error
Uncaught Error: Interface 'SparkAPI_CacheInterface' not found in wp-content/plugins/wp-real-estate-property-listing-crm/includes/lib/flexmls/MemcacheCache.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-real-estate-property-listing-crm/admin/partials/dashboard/getting-started.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-real-estate-property-listing-crm/admin/partials/propertyalert/index.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _label() in wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/searchform/search-form-v2.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function md_search_form_start() in wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/searchform/raw-search-form-v4.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/inquire/inquire.php:2
- > PHP Fatal error
Uncaught Error: Class 'Mwp_Admin_TabNav' not found in wp-content/plugins/wp-real-estate-property-listing-crm/admin/partials/api/great-school.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _label() in wp-content/plugins/wp-real-estate-property-listing-crm/public/partials/template/default/searchform/search-form.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-real-estate-property-listing-crm/includes/mwp-search-settings.php:781
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Please watch the "Watch this video first!"), #2 (Getting Started), #3 (Webinars), #4 (Support), #5 (Connect with us), #6 (Settings - Popup), #7 (Settings - Mail), #8 (Settings - Client Lead), #9 (Account Settings), #10 (Search form / settings), #11 (Search settings - price range), #12 (Theme / Appereance settings), #13 (Theme / Appereance settings - Color), #14 (Theme / Appereance settings - Layout), #15 (Theme / Appereance settings - Map), #16 (API account - Flexmls), #17 (API account - great school), #18 (Property Alert), #19 (Shortcode button), #20 (Shortcode button - dropdown), #21 (Shortcode button - crm dropdown), #22 (Shortcode button - popup), #23 (Shortcode button - popup), #24 (Shortcode button - utility)
- Tags: There are too many tags (47 tag instead of maximum 10)
wp-real-estate-property-listing-crm/mwp.php 77% from 13 tests
"Real Estate Listings Plugin for Professionals" version 4.3.35's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-real-estate-property-listing-crm.php" instead of "mwp.php")
- Description: Keep the plugin description shorter than 140 characters (currently 268 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected107,190 lines of code in 517 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 432 | 5,598 | 19,208 | 78,659 |
CSS | 24 | 163 | 274 | 11,858 |
PO File | 8 | 3,857 | 5,547 | 9,817 |
JavaScript | 46 | 995 | 1,022 | 5,731 |
SVG | 2 | 0 | 0 | 792 |
HTML | 4 | 14 | 3 | 293 |
JSON | 1 | 0 | 0 | 40 |
PHP code 0% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 4,344)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 498)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 37.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,344.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 498.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 253 | |
▷ Abstract classes | 5 | 1.98% |
▷ Concrete classes | 248 | 98.02% |
▷ Final classes | 0 | 0.00% |
Methods | 2,874 | |
▷ Static methods | 348 | 12.11% |
▷ Public methods | 2,542 | 88.45% |
▷ Protected methods | 291 | 10.13% |
▷ Private methods | 41 | 1.43% |
Functions | 272 | |
▷ Named functions | 272 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 115 | |
▷ Global constants | 108 | 93.91% |
▷ Class constants | 7 | 6.09% |
▷ Public constants | 7 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
89 PNG files occupy 2.41MB with 1.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-19.png | 62.36KB | 21.31KB | ▼ 65.83% |
screenshot-3.png | 160.16KB | 50.29KB | ▼ 68.60% |
admin/css/images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
assets/24x24_GS_School_Rating_Medium_9.png | 3.24KB | 1.99KB | ▼ 38.59% |
screenshot-15.png | 49.25KB | 16.39KB | ▼ 66.72% |