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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.12ms] Passed 4 tests
A check of server-side resources used by Rex Sync Listings
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.35 ▼2.93 |
Dashboard /wp-admin | 3.40 ▲0.09 | 55.17 ▲1.16 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 52.50 ▲0.30 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 91.42 ▼27.02 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 43.39 ▲4.11 |
Logs /wp-admin/admin.php?page=rex-sync-logs | 3.31 | 37.07 |
Listings /wp-admin/edit.php?post_type=listing | 3.36 | 40.28 |
Add New /wp-admin/post-new.php?post_type=listing_agent | 6.18 | 87.01 |
Listing States /wp-admin/edit-tags.php?taxonomy=listing_state&post_type=listing | 3.31 | 38.04 |
Queues /wp-admin/admin.php?page=rex-sync-queues | 3.36 | 37.32 |
Settings /wp-admin/admin.php?page=rex-sync-settings | 3.36 | 34.05 |
Listing Agents /wp-admin/edit.php?post_type=listing_agent | 3.36 | 40.08 |
Manual Sync /wp-admin/admin.php?page=rex-sync-manual | 3.33 | 29.97 |
Listing Categories /wp-admin/edit-tags.php?taxonomy=listing_category&post_type=listing | 3.31 | 37.18 |
Add New /wp-admin/post-new.php?post_type=listing | 6.19 | 85.36 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 30 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_rsc_queues |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Rex Sync Listings
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲164 | 14.17 ▼0.49 | 2.05 ▲0.47 | 43.99 ▲5.37 |
Dashboard /wp-admin | 2,300 ▲120 | 5.57 ▼0.11 | 96.03 ▲4.13 | 42.50 ▲1.97 |
Posts /wp-admin/edit.php | 2,205 ▲105 | 2.00 ▲0.05 | 34.68 ▼0.92 | 36.09 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,613 ▲85 | 23.12 ▲0.31 | 669.34 ▲22.02 | 58.31 ▼10.82 |
Media Library /wp-admin/upload.php | 1,505 ▲102 | 4.20 ▲0.04 | 97.77 ▼7.05 | 41.97 ▼3.23 |
Logs /wp-admin/admin.php?page=rex-sync-logs | 884 | 2.04 | 24.56 | 24.56 |
Listings /wp-admin/edit.php?post_type=listing | 1,193 | 1.99 | 33.94 | 33.28 |
Add New /wp-admin/post-new.php?post_type=listing_agent | 6,273 | 18.90 | 840.11 | 32.96 |
Listing States /wp-admin/edit-tags.php?taxonomy=listing_state&post_type=listing | 1,348 | 2.25 | 28.32 | 33.62 |
Queues /wp-admin/admin.php?page=rex-sync-queues | 1,024 | 2.06 | 26.33 | 31.14 |
Settings /wp-admin/admin.php?page=rex-sync-settings | 1,194 | 2.04 | 26.92 | 31.36 |
Listing Agents /wp-admin/edit.php?post_type=listing_agent | 1,169 | 1.94 | 31.26 | 31.66 |
Manual Sync /wp-admin/admin.php?page=rex-sync-manual | 928 | 2.00 | 24.75 | 27.43 |
Listing Categories /wp-admin/edit-tags.php?taxonomy=listing_category&post_type=listing | 1,376 | 2.12 | 26.20 | 29.47 |
Add New /wp-admin/post-new.php?post_type=listing | 1,714 | 16.81 | 731.78 | 35.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 failed, leaving 1 table in the database
- wp_rsc_queues
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 fix the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Rex\\Sync\\Loader' not found in wp-content/plugins/rex-sync/templates/meta-box-agent-custom-fields.php:2
- > PHP Fatal error
Uncaught Error: Class 'Rex\\Sync\\Logger' not found in wp-content/plugins/rex-sync/templates/admin-logs.php:4
- > PHP Fatal error
Uncaught Error: Class 'Rex\\Sync\\Loader' not found in wp-content/plugins/rex-sync/templates/meta-box-listing-custom-fields.php:2
- > PHP Fatal error
Uncaught Error: Class 'Rex\\Sync\\Loader' not found in wp-content/plugins/rex-sync/templates/admin-mapping.php:6
- > PHP Fatal error
Uncaught Error: Class 'Rex\\Sync\\Loader' not found in wp-content/plugins/rex-sync/templates/admin.php:4
- > PHP Fatal error
Uncaught Error: Class 'Rex\\Sync\\Loader' not found in wp-content/plugins/rex-sync/templates/admin-manual-sync.php:4
- > PHP Fatal error
Uncaught Error: Class 'Rex\\Sync\\Loader' not found in wp-content/plugins/rex-sync/templates/admin-queues.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit-tags.php?taxonomy=listing_category&post_type=listing
- > Intervention (severe) in unknown
/wp-admin/admin.php?page=rex-sync-manual - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: rexsoftware, listing, rex, realestate, property
rex-sync/rex-sync.php Passed 13 tests
The main file in "Rex Sync Listings" v. 2.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
Providing tool to sync all listings, listing agents from Rex Software to WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin3,367 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 551 | 52 | 2,318 |
JSON | 2 | 0 | 0 | 972 |
CSS | 3 | 5 | 1 | 73 |
JavaScript | 2 | 1 | 1 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 104 | |
▷ Static methods | 85 | 81.73% |
▷ Public methods | 89 | 85.58% |
▷ Protected methods | 4 | 3.85% |
▷ Private methods | 11 | 10.58% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin