Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼186.46ms] Passed 4 tests
This is a short check of server-side resources used by Everest Review Lite - User/Admin review plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.11 | 26.09 ▲0.56 |
Dashboard /wp-admin | 3.25 ▲0.19 | 37.67 ▲1.49 |
Posts /wp-admin/edit.php | 3.30 ▲0.19 | 32.31 ▲0.99 |
Add New Post /wp-admin/post-new.php | 5.15 ▼0.29 | 50.30 ▼744.31 |
Media Library /wp-admin/upload.php | 3.13 ▲0.13 | 23.11 ▼3.08 |
Add Review Template /wp-admin/post-new.php?post_type=everestreview | 3.11 | 26.96 |
Review Forms /wp-admin/edit.php?post_type=everestreview&page=everest-review-form | 3.17 | 22.72 |
General Settings /wp-admin/edit.php?post_type=everestreview&page=everest-review-general-setting | 3.22 | 21.25 |
User Reviews /wp-admin/edit.php?post_type=everestreview&page=everest-review-submitted-reviews | 3.20 | 22.45 |
Add Review Form /wp-admin/edit.php?post_type=everestreview&page=everest-review-new-form | 3.33 | 20.21 |
Review Templates /wp-admin/edit.php?post_type=everestreview | 3.17 | 22.78 |
How To Use /wp-admin/edit.php?post_type=everestreview&page=everest-review-how-to | 3.16 | 19.55 |
More WordPress Stuffs /wp-admin/edit.php?post_type=everestreview&page=everest-review-about-us | 3.16 | 20.57 |
Server storage [IO: ▲3.74MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 91 new files
Database: 2 new tables, 3 new options
New tables |
---|
wp_everest_user_review_table |
wp_everest_review_form_table |
New WordPress options |
---|
erp_submission_form_setting |
er_typography |
review_section_sort |
Browser metrics Passed 4 tests
Everest Review Lite - User/Admin review plugin for WordPress: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,959 ▲332 | 17.40 ▲1.70 | 10.43 ▲5.16 | 117.30 ▲38.42 |
Dashboard /wp-admin | 3,035 ▲136 | 7.11 ▲0.95 | 119.89 ▼15.24 | 167.93 ▼1.77 |
Posts /wp-admin/edit.php | 2,821 ▲81 | 3.39 ▲0.16 | 101.49 ▲40.11 | 140.73 ▼0.19 |
Add New Post /wp-admin/post-new.php | 2,406 ▼1,401 | 15.69 ▼2.82 | 397.16 ▼78.34 | 156.80 ▼4.69 |
Media Library /wp-admin/upload.php | 1,865 ▲119 | 6.24 ▲0.70 | 116.78 ▼34.50 | 186.18 ▲0.03 |
Add Review Template /wp-admin/post-new.php?post_type=everestreview | 5,274 | 4.93 | 156.49 | 222.36 |
Review Forms /wp-admin/edit.php?post_type=everestreview&page=everest-review-form | 1,363 | 3.20 | 65.23 | 119.09 |
General Settings /wp-admin/edit.php?post_type=everestreview&page=everest-review-general-setting | 1,716 | 3.05 | 64.57 | 168.04 |
User Reviews /wp-admin/edit.php?post_type=everestreview&page=everest-review-submitted-reviews | 1,379 | 3.25 | 61.24 | 101.06 |
Add Review Form /wp-admin/edit.php?post_type=everestreview&page=everest-review-new-form | 2,229 | 2.94 | 64.13 | 123.85 |
Review Templates /wp-admin/edit.php?post_type=everestreview | 1,528 | 3.32 | 84.36 | 106.71 |
How To Use /wp-admin/edit.php?post_type=everestreview&page=everest-review-how-to | 1,389 | 3.24 | 58.57 | 126.01 |
More WordPress Stuffs /wp-admin/edit.php?post_type=everestreview&page=everest-review-about-us | 1,606 | 8.02 | 143.94 | 158.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_everest_user_review_table
- wp_everest_review_form_table
- The uninstall procedure has failed, leaving 3 options in the database
- erp_submission_form_setting
- review_section_sort
- er_typography
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=everestreview
- > Notice in wp-content/plugins/everest-review-lite/everest-review-lite.php+489
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 28× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/everest-review-lite/inc/frontend/user-review-template/layout-reviews/layout-1.php
- > /wp-content/plugins/everest-review-lite/inc/backend/setting-fields/erp-user-review-setting-field.php
- > /wp-content/plugins/everest-review-lite/inc/backend/setting-fields/erp-general-setting-field.php
- > /wp-content/plugins/everest-review-lite/inc/backend/action/meta-page-post-review-action.php
- > /wp-content/plugins/everest-review-lite/inc/backend/setting-fields/erp-admin-review-setting-field.php
- > /wp-content/plugins/everest-review-lite/inc/frontend/review-form-filter.php
- > /wp-content/plugins/everest-review-lite/inc/backend/action/save-review-form-setting-action.php
- > /wp-content/plugins/everest-review-lite/inc/frontend/erp-frontend-filter.php
- > /wp-content/plugins/everest-review-lite/inc/backend/post-page-meta/page-wise-meta-general.php
- > /wp-content/plugins/everest-review-lite/inc/backend/includes/sidebar.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/everest-review-lite/inc/backend/post-page-meta/page-wise-meta-admin.php on line 8
- > PHP Notice
Undefined variable: general_review_settings_parameter in wp-content/plugins/everest-review-lite/inc/backend/post-page-meta/page-wise-meta-admin.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/everest-review-lite/inc/backend/post-page-meta/page-wise-meta-admin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/everest-review-lite/inc/backend/setting-fields/erp-review-parameter.php:3
- > PHP Notice
Undefined variable: options in wp-content/plugins/everest-review-lite/inc/backend/post-page-meta/page-wise-meta-admin.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/everest-review-lite/inc/backend/action/save-user-edit-review-form-action.php:5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
everest-review-lite/everest-review-lite.php 92% from 13 tests
The primary PHP file in "Everest Review Lite - User/Admin review plugin for WordPress" version 1.0.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected20,176 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 109 | 225 | 7,959 |
PHP | 33 | 286 | 372 | 5,488 |
JavaScript | 8 | 750 | 641 | 4,058 |
SVG | 1 | 0 | 0 | 2,671 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.71 |
Average class complexity | 182.00 |
▷ Minimum class complexity | 182.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 76 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
30 PNG files occupy 1.83MB with 0.73MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
css/images/ui-bg_flat_10_000000_40x100.png | 0.20KB | 0.08KB | ▼ 57.56% |
css/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |
css/images/ui-bg_glass_100_f6f6f6_1x400.png | 0.26KB | 0.12KB | ▼ 53.44% |
css/images/ui-icons_ffd27a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |