Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.19MB] [CPU: ▼8.80ms] Passed 4 tests
Server-side resources used by Revisit Xperience LITE
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▼0.62 | 17.75 ▼23.41 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.55 ▲2.79 |
Posts /wp-admin/edit.php | 3.19 ▼0.17 | 34.61 ▼10.74 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 85.73 ▼3.84 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.86 ▲4.26 |
Revisit Xperience Lite /wp-admin/options-general.php?page=emiSlider | 3.28 | 31.95 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_emi_slider |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
emiSlider |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Revisit Xperience LITE
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲223 | 13.67 ▼0.71 | 7.95 ▲6.16 | 53.67 ▲8.72 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.96 | 94.95 ▼20.42 | 37.25 ▼8.87 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▼0.12 | 34.78 ▼0.15 | 32.21 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 18.20 ▼4.85 | 595.39 ▼80.20 | 69.87 ▲10.89 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▲0.06 | 96.19 ▼5.17 | 39.87 ▼4.00 |
Revisit Xperience Lite /wp-admin/options-general.php?page=emiSlider | 1,257 | 6.09 | 142.80 | 51.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- 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
Good news, no errors were detected
SRP 50% 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 items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/revisit-xperience-lite/RevisitXperience.php:13
- > PHP Fatal error
Uncaught Error: Call to a member function query() on null in wp-content/plugins/revisit-xperience-lite/setup/activation.php:6
- > PHP Fatal error
Uncaught Error: Class 'EmiSlider' not found in wp-content/plugins/revisit-xperience-lite/templates/adminOptions.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function query() on null in wp-content/plugins/revisit-xperience-lite/setup/uninstall.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=emiSlider
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=emiSlider
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
revisit-xperience-lite/RevisitXperience.php 92% from 13 tests
The main PHP file in "Revisit Xperience LITE" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("revisit-xperience-lite.php" instead of "RevisitXperience.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,326 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 160 | 386 | 1,180 |
CSS | 1 | 9 | 0 | 78 |
JavaScript | 2 | 2 | 4 | 49 |
HTML | 1 | 3 | 0 | 19 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 23.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 29 | 37.66% |
▷ Public methods | 51 | 66.23% |
▷ Protected methods | 26 | 33.77% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.27MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/logo-main.png | 157.60KB | 40.41KB | ▼ 74.36% |
resources/images/upgrade.png | 17.04KB | 5.15KB | ▼ 69.80% |
resources/images/logo-small.png | 35.50KB | 8.88KB | ▼ 74.97% |
resources/images/box.png | 63.72KB | 20.72KB | ▼ 67.49% |