Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▼7.30ms] Passed 4 tests
This is a short check of server-side resources used by Zeevou
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 38.18 ▲0.18 |
Dashboard /wp-admin | 3.53 ▲0.18 | 48.19 ▼9.37 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 46.25 ▼2.36 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 82.75 ▼17.66 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 45.09 ▲10.97 |
Server storage [IO: ▲2.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 97 new files
Database: no new tables, 20 new options
New WordPress options |
---|
zeevou_border_radius |
can_compress_scripts |
zeevou_max_width |
zeevou_plugin_version |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
zeevou_default_infants_no |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Zeevou
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲173 | 14.07 ▼0.31 | 10.83 ▲9.10 | 41.81 ▲3.16 |
Dashboard /wp-admin | 2,220 ▲32 | 5.83 ▲0.97 | 95.90 ▼7.08 | 80.87 ▲36.42 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.03 ▼0.00 | 37.71 ▼6.56 | 32.97 ▼5.09 |
Add New Post /wp-admin/post-new.php | 1,683 ▲161 | 22.71 ▼0.77 | 768.32 ▲97.87 | 52.43 ▼0.61 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.23 ▲0.04 | 98.23 ▼1.85 | 69.99 ▲23.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 20 options in the database
- can_compress_scripts
- zeevou_default_infants_no
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- zeevou_token_date
- zeevou_align_radio
- zeevou_default_adults_no
- zeevou_url
- zeevou_access_token
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/zeevou/calculate_price.php
- > /wp-content/plugins/zeevou/apply_voucher.php
- > /wp-content/plugins/zeevou/connect_zeevou.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'refresh_token.php' (include_path='.:/usr/share/php') in wp-content/plugins/zeevou/get_brands.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zeevou/zeevou.php:37
- > 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 87% from 29 tests
readme.txt 88% 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:
- Screenshots: These screenshots have no corresponding images in /assets: #9 (You have to choose a brand and a property for each property page.), #10 (Property Search Widget: [zeevou-property-search]), #11 (Property Amenities Widget: [zeevou-property-amenities]), #12 (Property Description Widget: [zeevou-property-description]), #13 (Property Images Widget: [zeevou-property-images])
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
zeevou/zeevou.php 85% from 13 tests
"Zeevou" version 0.7.54's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 159 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 Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected17,208 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 1,610 | 650 | 7,644 |
CSS | 7 | 554 | 115 | 5,610 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 8 | 507 | 166 | 1,283 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
58 compressed PNG files occupy 0.12MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/amenities/first-aid-kit.png | 0.43KB | 0.43KB | 0.00% |
css/images/amenities/full-bathroom.png | 0.65KB | 0.65KB | 0.00% |
css/images/amenities/heating.png | 0.41KB | 0.41KB | 0.00% |
css/images/amenities/self-contained.png | 1.11KB | 1.45KB | 0.00% |
css/images/amenities/full-bathrooms.png | 0.65KB | 0.65KB | 0.00% |