Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲4.87MB] [CPU: ▲22.38ms] 75% from 4 tests
Analyzing server-side resources used by Opal Estate Pro - Property Management and Submission
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 645.50ms on /wp-admin/edit.php?post_type=opalestate_property&page=opalestate-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.39 ▲4.93 | 70.37 ▲27.16 |
Dashboard /wp-admin | 9.09 ▲5.79 | 82.28 ▲33.66 |
Posts /wp-admin/edit.php | 9.13 ▲5.78 | 93.25 ▲47.32 |
Add New Post /wp-admin/post-new.php | 8.95 ▲3.06 | 69.75 ▼17.66 |
Media Library /wp-admin/upload.php | 8.94 ▲5.71 | 80.30 ▲46.37 |
All Agencies /wp-admin/edit.php?post_type=opalestate_agency | 9.09 | 75.97 |
Agent Levels /wp-admin/edit-tags.php?taxonomy=opalestate_agent_level&post_type=opalestate_agent | 8.94 | 68.43 |
All Properties /wp-admin/edit.php?post_type=opalestate_property | 9.09 | 70.19 |
Rating Features /wp-admin/edit.php?post_type=opalestate_rating_ft | 9.09 | 68.98 |
Rating Features /wp-admin/edit.php?post_type=opalestate_agent_ft | 9.09 | 65.82 |
Addons /wp-admin/edit.php?post_type=opalestate_property&page=opalestate-addons | 9.00 | 645.50 |
Settings /wp-admin/edit.php?post_type=opalestate_property&page=opalestate-settings | 9.44 | 68.95 |
Cities / Towns /wp-admin/edit-tags.php?taxonomy=opalestate_city&post_type=opalestate_property | 9.34 | 77.05 |
States / Provinces /wp-admin/edit-tags.php?taxonomy=opalestate_state&post_type=opalestate_property | 9.34 | 76.04 |
All Agents /wp-admin/edit.php?post_type=opalestate_agent | 9.09 | 70.18 |
Server storage [IO: ▲12.25MB] [DB: ▲0.03MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 1,091 new files
Database: 4 new tables, 15 new options
New tables |
---|
wp_opalestate_message |
wp_opalestate_api_keys |
wp_opalestate_message_reply |
wp_opalestate_usersearch |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_opalestate_featured_properties_widget |
widget_opalestate_similarproperties_widget |
opalestate_settings |
widget_opalestate_profile_info_widget |
can_compress_scripts |
opalestate_use_php_sessions |
... |
Browser metrics Passed 4 tests
Opal Estate Pro - Property Management and Submission: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,194 ▲459 | 15.69 ▲1.10 | 26.82 ▲24.83 | 38.37 ▼8.36 |
Dashboard /wp-admin | 2,373 ▲188 | 5.30 ▼0.58 | 112.68 ▲10.76 | 39.55 ▼3.96 |
Posts /wp-admin/edit.php | 2,256 ▲167 | 2.44 ▲0.41 | 40.72 ▲3.93 | 32.21 ▼9.86 |
Add New Post /wp-admin/post-new.php | 1,649 ▲119 | 22.28 ▲3.91 | 665.72 ▲50.72 | 38.05 ▼13.75 |
Media Library /wp-admin/upload.php | 1,549 ▲158 | 4.62 ▲0.40 | 103.69 ▲9.17 | 41.92 ▼0.90 |
All Agencies /wp-admin/edit.php?post_type=opalestate_agency | 1,276 | 2.36 | 37.33 | 28.96 |
Agent Levels /wp-admin/edit-tags.php?taxonomy=opalestate_agent_level&post_type=opalestate_agent | 1,434 | 2.41 | 37.71 | 30.40 |
All Properties /wp-admin/edit.php?post_type=opalestate_property | 1,303 | 2.40 | 38.25 | 28.30 |
Rating Features /wp-admin/edit.php?post_type=opalestate_rating_ft | 1,220 | 2.39 | 35.22 | 31.02 |
Rating Features /wp-admin/edit.php?post_type=opalestate_agent_ft | 1,220 | 2.39 | 35.66 | 31.92 |
Addons /wp-admin/edit.php?post_type=opalestate_property&page=opalestate-addons | 1,261 | 2.26 | 27.34 | 30.13 |
Settings /wp-admin/edit.php?post_type=opalestate_property&page=opalestate-settings | 2,771 | 2.60 | 52.08 | 42.18 |
Cities / Towns /wp-admin/edit-tags.php?taxonomy=opalestate_city&post_type=opalestate_property | 1,805 | 3.95 | 55.89 | 28.55 |
States / Provinces /wp-admin/edit-tags.php?taxonomy=opalestate_state&post_type=opalestate_property | 1,739 | 3.86 | 53.75 | 27.56 |
All Agents /wp-admin/edit.php?post_type=opalestate_agent | 1,276 | 2.39 | 37.10 | 28.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables were found after uninstall: 4 tables
- wp_opalestate_api_keys
- wp_opalestate_usersearch
- wp_opalestate_message
- wp_opalestate_message_reply
- Zombie WordPress options were found after uninstall: 15 options
- db_upgraded
- widget_opalestate_profile_info_widget
- widget_recent-posts
- widget_theysaidso_widget
- opalestate_version
- can_compress_scripts
- widget_opalestate_search_properties_widget
- theysaidso_admin_options
- widget_recent-comments
- opalestate_use_php_sessions
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/opal-estate-pro/templates/emails/contact.php
- > /wp-content/plugins/opal-estate-pro/templates/emails/request-reviewing.php
- > /wp-content/plugins/opal-estate-pro/templates/elementor-templates/opalestate-map-top-search.php
- > /wp-content/plugins/opal-estate-pro/templates/user/read-messages.php
- > /wp-content/plugins/opal-estate-pro/templates/emails/enquiry.php
- 358× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/opal-estate-pro/inc/vendors/cmb2-plugins/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'Opalestate_Taxonomy_Categories' not found in wp-content/plugins/opal-estate-pro/templates/search-box/fields/categories.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function opalestate_load_template_path() in wp-content/plugins/opal-estate-pro/templates/single-agent/box.php:1
- > PHP Warning
require_once(external/OAuth.php): failed to open stream: No such file or directory in wp-content/plugins/opal-estate-pro/inc/vendors/social-login/Google/auth/apiOAuth.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'service/apiModel.php' (include_path='.:/usr/share/php') in wp-content/plugins/opal-estate-pro/inc/vendors/social-login/Google/contrib/apiGanService.php on line 15
- > PHP Warning
require_once(service/apiModel.php): failed to open stream: No such file or directory in wp-content/plugins/opal-estate-pro/inc/vendors/social-login/Google/contrib/apiTranslateService.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/opal-estate-pro/inc/vendors/cmb2-plugins/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/opal-estate-pro/templates/single-property/sharebox.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function opalestate_load_template_path() in wp-content/plugins/opal-estate-pro/templates/elementor-templates/opalestate-search-property-results.php:10
- > PHP Fatal error
require_once(): Failed opening required 'service/apiModel.php' (include_path='.:/usr/share/php') in wp-content/plugins/opal-estate-pro/inc/vendors/social-login/Google/contrib/apiBooksService.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in opal-estate-pro/assets to your readme.txt
opal-estate-pro/opal-estate-pro.php 77% from 13 tests
The principal PHP file in "Opal Estate Pro - Property Management and Submission" v. 1.7.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path must begin with a forward slash character ("/languages/")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages/")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected173,784 lines of code in 853 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 568 | 13,231 | 30,193 | 70,961 |
JavaScript | 108 | 6,942 | 3,912 | 40,058 |
PO File | 120 | 14,315 | 18,502 | 32,323 |
CSS | 47 | 3,842 | 2,596 | 21,344 |
SVG | 4 | 0 | 12 | 8,973 |
Markdown | 2 | 26 | 0 | 65 |
XML | 1 | 0 | 0 | 40 |
JSON | 1 | 0 | 0 | 13 |
Ruby | 1 | 7 | 12 | 6 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 854 | |
▷ Abstract classes | 24 | 2.81% |
▷ Concrete classes | 830 | 97.19% |
▷ Final classes | 2 | 0.24% |
Methods | 6,724 | |
▷ Static methods | 443 | 6.59% |
▷ Public methods | 6,341 | 94.30% |
▷ Protected methods | 262 | 3.90% |
▷ Private methods | 121 | 1.80% |
Functions | 336 | |
▷ Named functions | 322 | 95.83% |
▷ Anonymous functions | 14 | 4.17% |
Constants | 85 | |
▷ Global constants | 20 | 23.53% |
▷ Class constants | 65 | 76.47% |
▷ Public constants | 65 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
62 PNG files occupy 0.21MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/8.png | 1.93KB | 0.91KB | ▼ 53.05% |
inc/vendors/cmb2-plugins/cmb21/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
assets/images/placeholder.png | 3.25KB | 3.43KB | 0.00% |
inc/vendors/cmb2-plugins/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
assets/map/market_icon.png | 4.30KB | 1.47KB | ▼ 65.74% |