Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼13.54ms] Passed 4 tests
Analyzing server-side resources used by EZRentOut Online Webstore
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 45.62 ▼8.78 |
Dashboard /wp-admin | 3.32 ▼0.02 | 46.80 ▼22.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.68 ▲0.19 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.48 ▼23.09 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.65 ▲0.91 |
EZRentOut /wp-admin/options-general.php?page=EZRentOut | 3.21 | 31.96 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/ezrentout-online-webstore/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for EZRentOut Online Webstore
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.25 ▼0.75 | 1.62 ▼0.42 | 41.24 ▼2.64 |
Dashboard /wp-admin | 2,225 ▲19 | 4.86 ▼0.95 | 109.06 ▼1.21 | 39.88 ▼1.75 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.00 | 39.32 ▼1.35 | 35.03 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,535 ▼10 | 23.01 ▼0.06 | 615.64 ▲21.83 | 47.63 ▼9.64 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▼0.11 | 101.43 ▼1.74 | 43.43 ▼4.26 |
EZRentOut /wp-admin/options-general.php?page=EZRentOut | 863 | 2.01 | 28.55 | 26.23 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/ezrentout-online-webstore/ezr_admin/ezr_admin_for_widget.php:3
- > 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 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
5 plugin tags: online store, rental, availability calendar, reservations, booking system
ezrentout-online-webstore/ezrentout-webstore-widget.php 85% from 13 tests
The primary PHP file in "EZRentOut Online Webstore" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 304 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("ezrentout-online-webstore.php" instead of "ezrentout-webstore-widget.php")
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
No dangerous file extensions were detected137 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 13 | 9 | 91 |
CSS | 1 | 7 | 0 | 46 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.54MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 26.33KB | 10.56KB | ▼ 59.91% |
assets/ezr-logo.png | 3.36KB | 2.37KB | ▼ 29.39% |
assets/screenshot-5.png | 199.22KB | 51.48KB | ▼ 74.16% |
assets/screenshot-4.png | 104.39KB | 27.19KB | ▼ 73.95% |
assets/screenshot-1.png | 60.54KB | 16.70KB | ▼ 72.41% |