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
Install script ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▼1.57ms] Passed 4 tests
This is a short check of server-side resources used by Easy Zillow Reviews
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.65 | 39.76 ▲1.55 |
Dashboard /wp-admin | 3.96 ▲0.66 | 48.11 ▼1.51 |
Posts /wp-admin/edit.php | 4.01 ▲0.66 | 51.00 ▲5.38 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.62 | 85.84 ▼11.20 |
Media Library /wp-admin/upload.php | 3.88 ▲0.66 | 42.13 ▲4.89 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.22 | 35.26 |
Server storage [IO: ▲4.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 229 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
fs_accounts |
widget_recent-posts |
fs_active_plugins |
widget_recent-comments |
fs_debug_mode |
widget_theysaidso_widget |
widget_ezrwp_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Zillow Reviews
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲202 | 14.00 ▼0.38 | 5.13 ▲3.36 | 29.22 ▼16.91 |
Dashboard /wp-admin | 2,247 ▲58 | 4.86 ▼0.08 | 103.51 ▼15.91 | 40.15 ▼5.69 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 1.99 ▼0.06 | 39.71 ▲3.49 | 39.09 ▲6.60 |
Add New Post /wp-admin/post-new.php | 6,211 ▲4,697 | 18.98 ▲1.33 | 911.68 ▲242.10 | 38.19 ▼13.82 |
Media Library /wp-admin/upload.php | 1,426 ▲44 | 4.23 ▲0.02 | 97.10 ▼2.94 | 46.66 ▲3.87 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,085 | 1.73 | 24.18 | 27.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/easy-zillow-reviews/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-comments
- widget_theysaidso_widget
- fs_debug_mode
- fs_accounts
- theysaidso_admin_options
- can_compress_scripts
- widget_ezrwp_widget
- widget_recent-posts
- fs_active_plugins
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-zillow-reviews/public/partials/easy-zillow-reviews-public-display.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easy-zillow-reviews/includes/includes.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-zillow-reviews/includes/class-easy-zillow-reviews-professional-widget.php:75
- > PHP Fatal error
Uncaught Error: Class 'Easy_Zillow_Reviews_Data' not found in wp-content/plugins/easy-zillow-reviews/includes/class-easy-zillow-reviews-professional.php:20
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/easy-zillow-reviews/admin/partials/easy-zillow-reviews-admin-display.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: real estate, gutenberg, reviews, lender, zillow...
easy-zillow-reviews/easy-zillow-reviews.php Passed 13 tests
The primary PHP file in "Easy Zillow Reviews" version 1.6.2 is used by WordPress to initiate all plugin functionality
41 characters long description:
Display reviews from Zillow on your site.
Code Analysis 97% from 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 plugin64,724 lines of code in 174 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 140 | 8,720 | 19,310 | 34,990 |
JSON | 2 | 0 | 0 | 28,050 |
CSS | 17 | 0 | 16 | 646 |
LESS | 4 | 2 | 16 | 595 |
JavaScript | 7 | 72 | 135 | 424 |
SVG | 4 | 0 | 0 | 19 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 69.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 2 | 2.99% |
▷ Concrete classes | 65 | 97.01% |
▷ Final classes | 0 | 0.00% |
Methods | 1,464 | |
▷ Static methods | 200 | 13.66% |
▷ Public methods | 1,070 | 73.09% |
▷ Protected methods | 17 | 1.16% |
▷ Private methods | 377 | 25.75% |
Functions | 102 | |
▷ Named functions | 101 | 99.02% |
▷ Anonymous functions | 1 | 0.98% |
Constants | 147 | |
▷ Global constants | 100 | 68.03% |
▷ Class constants | 47 | 31.97% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
public/images/ezrwp-sprite.png | 18.70KB | 5.78KB | ▼ 69.10% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |