Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲2.28MB] [CPU: ▲29.32ms] Passed 4 tests
Server-side resources used by Property Management Software | UnitConnect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.86 ▲1.40 | 64.26 ▲26.13 |
Dashboard /wp-admin | 5.90 ▲2.59 | 97.41 ▲39.40 |
Posts /wp-admin/edit.php | 5.91 ▲2.56 | 83.19 ▲32.95 |
Add New Post /wp-admin/post-new.php | 8.66 ▲2.77 | 130.38 ▲28.25 |
Media Library /wp-admin/upload.php | 5.81 ▲2.59 | 70.80 ▲29.94 |
New Property /wp-admin/post-new.php?post_type=listing | 6.53 | 94.04 |
Properties /wp-admin/edit.php?post_type=listing | 5.93 | 77.85 |
Property Type /wp-admin/edit-tags.php?taxonomy=listing-type&post_type=listing | 5.83 | 64.00 |
Property Status /wp-admin/edit-tags.php?taxonomy=listing-status&post_type=listing | 5.81 | 61.22 |
Inquiries /wp-admin/edit.php?post_type=listing-inquiry | 5.86 | 63.83 |
UCPM Settings /wp-admin/edit.php?post_type=listing&page=ucpm_options | 6.42 | 69.62 |
Server storage [IO: ▲13.79MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 849 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_ucpm-search-properties |
widget_ucpm-recent-properties |
widget_recent-comments |
ucpm_options |
widget_ucpm-recent-properties-for-lease |
widget_ucpm-recent-properties-for-sale |
can_compress_scripts |
wp_real_estate_activated |
listing-type_children |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Property Management Software | UnitConnect
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲162 | 14.14 ▼0.22 | 17.07 ▲15.31 | 48.04 ▲4.72 |
Dashboard /wp-admin | 2,286 ▲95 | 4.93 ▲0.00 | 114.34 ▲2.19 | 45.82 ▲2.12 |
Posts /wp-admin/edit.php | 2,166 ▲77 | 2.29 ▲0.28 | 41.42 ▼0.14 | 38.76 ▲3.86 |
Add New Post /wp-admin/post-new.php | 1,574 ▲53 | 23.19 ▲0.02 | 657.75 ▼23.29 | 53.15 ▼3.08 |
Media Library /wp-admin/upload.php | 1,462 ▲77 | 4.41 ▲0.21 | 101.12 ▼19.26 | 43.42 ▼14.25 |
New Property /wp-admin/post-new.php?post_type=listing | 3,584 | 10.44 | 232.54 | 87.04 |
Properties /wp-admin/edit.php?post_type=listing | 1,889 | 2.33 | 44.77 | 34.34 |
Property Type /wp-admin/edit-tags.php?taxonomy=listing-type&post_type=listing | 1,559 | 2.16 | 38.67 | 37.56 |
Property Status /wp-admin/edit-tags.php?taxonomy=listing-status&post_type=listing | 1,348 | 2.19 | 36.54 | 31.29 |
Inquiries /wp-admin/edit.php?post_type=listing-inquiry | 1,208 | 2.25 | 38.68 | 35.95 |
UCPM Settings /wp-admin/edit.php?post_type=listing&page=ucpm_options | 2,585 | 6.53 | 138.64 | 41.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
- This plugin did not uninstall successfully, leaving 15 options in the database
- wp_real_estate_activated
- UCPM_VERSION
- listing-type_children
- theysaidso_admin_options
- widget_ucpm-recent-properties
- widget_theysaidso_widget
- can_compress_scripts
- widget_ucpm-search-properties
- widget_recent-posts
- ucpm_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/property-management-software-unitconnect/includes/vendor/sabberworm/php-css-parser/tests/quickdump.php
- 185× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameDecorator\\AbstractFrameDecorator' not found in wp-content/plugins/property-management-software-unitconnect/includes/vendor/dompdf/dompdf/src/FrameDecorator/Inline.php:22
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/property-management-software-unitconnect/includes/libraries/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Select' not found in wp-content/plugins/property-management-software-unitconnect/includes/libraries/cmb2/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Exception' not found in wp-content/plugins/property-management-software-unitconnect/includes/vendor/dompdf/dompdf/src/Exception/ImageException.php:17
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/property-management-software-unitconnect/includes/vendor/dompdf/dompdf/src/Positioner/NullPositioner.php:18
- > PHP Fatal error
Uncaught Error: Class 'Cmb2Grid\\Grid\\Column' not found in wp-content/plugins/property-management-software-unitconnect/includes/libraries/cmb2-grid/Grid/Group/GroupColumn.php:20
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/property-management-software-unitconnect/includes/libraries/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/property-management-software-unitconnect/includes/vendor/dompdf/dompdf/src/Positioner/Block.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/property-management-software-unitconnect/includes/libraries/cmb2/includes/helper-functions.php:131
- > PHP Fatal error
Uncaught Error: Class 'Svg\\Tag\\Shape' not found in wp-content/plugins/property-management-software-unitconnect/includes/vendor/phenx/php-svg-lib/src/Svg/Tag/Polyline.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Contributors: Contributors not specified
property-management-software-unitconnect/ucpm.php 77% from 13 tests
The main PHP script in "Property Management Software | UnitConnect" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("property-management-software-unitconnect.php" instead of "ucpm.php")
- Description: The description should be shorter than 140 characters (currently 144 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin101,554 lines of code in 587 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 338 | 12,714 | 24,232 | 51,862 |
PO File | 120 | 14,315 | 18,502 | 32,323 |
CSS | 63 | 502 | 1,372 | 9,107 |
JavaScript | 15 | 833 | 899 | 4,316 |
Markdown | 12 | 561 | 0 | 1,824 |
Sass | 15 | 291 | 25 | 1,330 |
JSON | 9 | 0 | 0 | 379 |
XML | 6 | 7 | 4 | 203 |
SVG | 4 | 64 | 0 | 101 |
YAML | 4 | 21 | 35 | 92 |
HTML | 1 | 0 | 0 | 17 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 652)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 29.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 797.00 |
Average method complexity | 4.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 652.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 288 | |
▷ Abstract classes | 22 | 7.64% |
▷ Concrete classes | 266 | 92.36% |
▷ Final classes | 1 | 0.38% |
Methods | 2,871 | |
▷ Static methods | 202 | 7.04% |
▷ Public methods | 2,455 | 85.51% |
▷ Protected methods | 313 | 10.90% |
▷ Private methods | 103 | 3.59% |
Functions | 189 | |
▷ Named functions | 163 | 86.24% |
▷ Anonymous functions | 26 | 13.76% |
Constants | 195 | |
▷ Global constants | 14 | 7.18% |
▷ Class constants | 181 | 92.82% |
▷ Public constants | 181 | 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 compressed PNG files occupy 0.10MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/assets/images/ucpm-pro-image.png | 77.24KB | 43.56KB | ▼ 43.61% |
includes/libraries/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/vendor/dompdf/dompdf/lib/res/broken_image.png | 0.60KB | 0.47KB | ▼ 22.33% |
includes/libraries/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/libraries/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |