Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/real-estate-property/admin/swift_property_admin.php+126
include_once(section/sp_local_capture.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.56MB] [CPU: ▼50.98ms] Passed 4 tests
An overview of server-side resources used by Real Estate Property Management
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.42 ▼1.04 | 6.02 ▼34.12 |
Dashboard /wp-admin | 2.45 ▼0.86 | 7.67 ▼45.42 |
Posts /wp-admin/edit.php | 2.45 ▼0.91 | 8.69 ▼36.04 |
Add New Post /wp-admin/post-new.php | 2.45 ▼3.44 | 7.66 ▼88.34 |
Media Library /wp-admin/upload.php | 2.45 ▼0.78 | 7.93 ▼25.04 |
Add New Property /wp-admin/post-new.php?post_type=swift_property | 2.45 | 9.04 |
Settings /wp-admin/admin.php?page=swift_property_control_panel | 2.45 | 9.77 |
Updates & Tips /wp-admin/admin.php?page=swift_property_dashboard | 2.45 | 9.32 |
Categories /wp-admin/edit-tags.php?taxonomy=swift_property_category&post_type=swift_property | 2.45 | 7.35 |
Tags /wp-admin/edit-tags.php?taxonomy=swift_property_tag&post_type=swift_property | 2.45 | 7.84 |
Log Detail /wp-admin/admin.php?page=swift_property_admin_display_log_details | 2.45 | 7.33 |
Form Submission /wp-admin/admin.php?page=swift_property_admin_display_log | 2.45 | 8.93 |
All Properties /wp-admin/edit.php?post_type=swift_property | 2.45 | 7.46 |
Server storage [IO: ▲4.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 115 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_swift_property_log |
New WordPress options |
---|
swift_property_category_children |
can_compress_scripts |
swift_property_db_version |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
sp_property_slug |
db_upgraded |
sp_event_flag |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Real Estate Property Management: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,992 ▲221 | 14.01 ▼0.28 | 9.12 ▲7.08 | 28.00 ▼11.87 |
Dashboard /wp-admin | 2,302 ▲111 | 4.95 ▲0.07 | 115.63 ▲10.35 | 100.04 ▲61.49 |
Posts /wp-admin/edit.php | 2,200 ▲111 | 2.11 ▲0.08 | 37.89 ▲1.89 | 40.46 ▲6.51 |
Add New Post /wp-admin/post-new.php | 1,606 ▲77 | 21.80 ▲3.45 | 772.65 ▲138.82 | 38.38 ▼12.80 |
Media Library /wp-admin/upload.php | 1,502 ▲117 | 4.26 ▲0.04 | 105.45 ▲0.40 | 88.96 ▲45.33 |
Add New Property /wp-admin/post-new.php?post_type=swift_property | 3,147 | 7.97 | 193.84 | 141.12 |
Settings /wp-admin/admin.php?page=swift_property_control_panel | 1,319 | 3.36 | 47.46 | 73.89 |
Updates & Tips /wp-admin/admin.php?page=swift_property_dashboard | 989 | 2.29 | 29.59 | 37.64 |
Categories /wp-admin/edit-tags.php?taxonomy=swift_property_category&post_type=swift_property | 2,488 | 2.50 | 31.72 | 40.53 |
Tags /wp-admin/edit-tags.php?taxonomy=swift_property_tag&post_type=swift_property | 1,345 | 2.38 | 28.02 | 40.51 |
Log Detail /wp-admin/admin.php?page=swift_property_admin_display_log_details | 866 | 2.12 | 26.63 | 29.93 |
Form Submission /wp-admin/admin.php?page=swift_property_admin_display_log | 870 | 2.12 | 27.05 | 29.65 |
All Properties /wp-admin/edit.php?post_type=swift_property | 1,212 | 2.21 | 38.05 | 36.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/real-estate-property/admin/swift_property_admin.php+126
include_once(section/sp_local_capture.php): failed to open stream: No such file or directory
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_swift_property_log
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- theysaidso_admin_options
- sp_event_flag
- sp_property_slug
- widget_theysaidso_widget
- swift_property_category_children
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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
Almost there, just fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=swift_property
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/real-estate-property/admin/swift_property_admin.php+126
include_once(section/sp_local_capture.php): failed to open stream: No such file or directory
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=swift_property
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/real-estate-property/admin/swift_property_admin.php+126
include_once(): Failed opening 'section/sp_local_capture.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/admin.php?page=swift_property_admin_display_log_details
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'swift_property_admin_display_log_details' not found or invalid function name
- > GET request to /wp-admin/admin.php?page=swift_property_admin_display_log
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'swift_property_admin_display_log' not found or invalid function name
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
The following issues need your attention
- 22× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-estate-property/section/sp-function.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-estate-property/admin/section/sp_bulk_upload.php:132
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/real-estate-property/admin/section/sp_general_settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/real-estate-property/section/header-property.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-estate-property/admin/section/sp_user_fields.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/real-estate-property/swift-properties.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/real-estate-property/rss-property-feed.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/real-estate-property/section/single-swift_property.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-estate-property/swift-property-pagetemplater.php:143
- > PHP Notice
Undefined index: wp_version in wp-content/plugins/real-estate-property/admin/swift_property_admin.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in real-estate-property/assets to your readme.txt
real-estate-property/swift-properties.php 85% from 13 tests
The entry point to "Real Estate Property Management" version 1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- 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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("real-estate-property.php" instead of "swift-properties.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin29,385 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 12,223 |
JavaScript | 18 | 2,084 | 1,651 | 7,666 |
CSS | 16 | 578 | 359 | 6,749 |
PHP | 20 | 446 | 342 | 2,747 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
Functions | 57 | |
▷ Named functions | 57 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
25 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close.png | 1.80KB | 1.76KB | ▼ 2.33% |
admin/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png | 0.41KB | 0.15KB | ▼ 62.44% |
admin/css/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |
images/swiftcloud_logo.png | 5.52KB | 3.74KB | ▼ 32.27% |
admin/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |