Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.84MB] [CPU: ▼0.23ms] Passed 4 tests
An overview of server-side resources used by Property Drive
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.38 ▲0.87 | 46.82 ▼0.31 |
Dashboard /wp-admin | 4.20 ▲0.82 | 53.39 ▼10.50 |
Posts /wp-admin/edit.php | 4.26 ▲0.86 | 58.40 ▲1.06 |
Add New Post /wp-admin/post-new.php | 6.80 ▲0.87 | 115.24 ▲13.18 |
Media Library /wp-admin/upload.php | 4.06 ▲0.79 | 41.13 ▲8.82 |
All Properties /wp-admin/edit.php?post_type=property | 4.11 | 43.39 |
Area /wp-admin/edit-tags.php?taxonomy=property_area&post_type=property | 4.06 | 40.67 |
County /wp-admin/edit-tags.php?taxonomy=property_county&post_type=property | 4.06 | 40.16 |
Add New /wp-admin/post-new.php?post_type=property | 4.29 | 57.24 |
Types /wp-admin/edit-tags.php?taxonomy=property_type&post_type=property | 4.06 | 50.50 |
Server storage [IO: ▲3.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 62 new files
Database: no new tables, 36 new options
New WordPress options |
---|
allow_favourites |
db_upgraded |
show_property_card_description |
search_field_status |
search_field_baths |
allow_quick_contact |
search_field_multitype |
agency_phone |
search_field_price |
cinematic_overlay |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Property Drive
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 16.06 ▲1.71 | 4.76 ▲3.03 | 41.26 ▼5.68 |
Dashboard /wp-admin | 2,294 ▲117 | 7.15 ▲1.49 | 111.40 ▲10.91 | 43.71 ▲2.07 |
Posts /wp-admin/edit.php | 2,201 ▲101 | 4.42 ▲2.38 | 50.64 ▲13.96 | 37.56 ▲2.52 |
Add New Post /wp-admin/post-new.php | 6,325 ▲4,799 | 23.23 ▲0.10 | 948.81 ▲308.48 | 37.51 ▼13.72 |
Media Library /wp-admin/upload.php | 1,499 ▲99 | 6.79 ▲2.60 | 107.45 ▲8.38 | 40.17 ▼5.56 |
All Properties /wp-admin/edit.php?post_type=property | 1,204 | 4.37 | 45.01 | 29.40 |
Area /wp-admin/edit-tags.php?taxonomy=property_area&post_type=property | 1,378 | 4.17 | 39.16 | 29.26 |
County /wp-admin/edit-tags.php?taxonomy=property_county&post_type=property | 1,378 | 3.74 | 36.19 | 28.91 |
Add New /wp-admin/post-new.php?post_type=property | 3,139 | 9.57 | 188.96 | 75.84 |
Types /wp-admin/edit-tags.php?taxonomy=property_type&post_type=property | 1,384 | 4.17 | 37.94 | 28.45 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 36 options in the database
- search_field_group
- search_field_baths
- search_field_location
- search_field_type
- show_related_properties
- can_compress_scripts
- osm_scrollzoom
- ribbon_colour_sale_agreed
- google_maps_api_key
- search_field_status
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=property
- > Notice in wp-content/plugins/property-drive/includes/helpers.php+1322
Undefined variable: post_id
SRP 50% 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
- 19× 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/property-drive/includes/admin/build_admin_page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/property-drive/modules/user_sign_up.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/property-drive/modules/user_sign_up.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/property-drive/includes/inline_styling.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/property-drive/modules/cpt-emails.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/property-drive/modules/user_dashboard.php:311
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/property-drive/property-drive.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/property-drive/includes/property_search.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/property-drive/templates/single-property.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/property-drive/shortcodes/property-grid.php:401
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: real estate, estate agents, house, home, property
property-drive/property-drive.php Passed 13 tests
Analyzing the main PHP file in "Property Drive" version 1.1.1
96 characters long description:
Property management system for WordPress. Add properties, search, display, filter, sort and map.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin27,605 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 5,938 | 7,474 | 19,010 |
PHP | 20 | 877 | 480 | 4,726 |
CSS | 8 | 585 | 186 | 3,869 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 107 | |
▷ Named functions | 106 | 99.07% |
▷ Anonymous functions | 1 | 0.93% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/leaflet/images/layers.png | 0.68KB | 1.05KB | 0.00% |
assets/images/fullscreen@2x.png | 0.15KB | 0.15KB | 0.00% |
assets/images/map-marker-red.png | 2.12KB | 0.94KB | ▼ 55.68% |
assets/js/leaflet/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
assets/images/foursquare.png | 2.11KB | 0.69KB | ▼ 67.10% |