Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.65ms] Passed 4 tests
A check of server-side resources used by WP Real Estate Sync
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.47 ▼0.44 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.87 ▼23.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.61 ▼6.93 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.50 ▼14.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.30 ▼1.62 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Real Estate Sync
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲67 | 13.56 ▼0.82 | 2.05 ▲0.07 | 45.20 ▼0.12 |
Dashboard /wp-admin | 2,220 ▲32 | 4.85 ▼1.01 | 105.47 ▼6.92 | 42.81 ▲1.83 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.03 ▲0.03 | 36.91 ▼2.89 | 37.82 ▼3.07 |
Add New Post /wp-admin/post-new.php | 1,371 ▼171 | 20.75 ▲2.34 | 600.99 ▼14.58 | 30.81 ▼19.53 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.17 ▼0.09 | 97.62 ▼15.71 | 44.90 ▼2.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-real-estate-sync/wp-realestate-sync.php
- > /wp-content/plugins/wp-real-estate-sync/synchronizers/RealtoSync.class.php
- > /wp-content/plugins/wp-real-estate-sync/GenericSync.class.php
- > /wp-content/plugins/wp-real-estate-sync/synchronizers/WpCasaSync.class.php
- > /wp-content/plugins/wp-real-estate-sync/synchronizers/DecorumSync.class.php
- > /wp-content/plugins/wp-real-estate-sync/WpRealEstateSync.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-real-estate-sync/widgets/WpReSyncWidget.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-real-estate-sync/widgets/WpReSyncWidget.class.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-real-estate-sync/templates/admin.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-real-estate-sync/templates/plugin-activated-notice.php:3
- > PHP Fatal error
Uncaught Error: Class 'WpReSyncWidget' not found in wp-content/plugins/wp-real-estate-sync/widgets/wpcasa/WpReSyncDpe.class.php:8
- > 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 93% from 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
4 plugin tags: properties, synchronization, realestate, immobilier
wp-real-estate-sync/wp-realestate-sync.php 85% from 13 tests
Analyzing the main PHP file in "WP Real Estate Sync" version 0.2.10
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-real-estate-sync.php" instead of "wp-realestate-sync.php")
- 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 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 plugin1,940 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 785 | 1,294 | 1,736 |
PO File | 1 | 61 | 144 | 171 |
CSS | 1 | 11 | 0 | 33 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 1 | 1.85% |
▷ Public methods | 40 | 74.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 25.93% |
Functions | 39 | |
▷ Named functions | 37 | 94.87% |
▷ Anonymous functions | 2 | 5.13% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/gedeon-logo.png | 18.32KB | 7.12KB | ▼ 61.13% |
img/bullet_blue.png | 0.31KB | 0.23KB | ▼ 25.55% |