Benchmarks
Plugin footprint 82% 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.06MB] [CPU: ▼3.33ms] 75% from 4 tests
An overview of server-side resources used by UXsniff Heatmap
Please fix the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,237.75ms on /wp-admin/admin.php?page=uxsniff-info)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.69 ▲4.69 |
Dashboard /wp-admin | 3.36 ▲0.06 | 47.51 ▲1.08 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.11 ▼2.45 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 87.98 ▼16.64 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.25 ▲4.81 |
Settings /wp-admin/admin.php?page=uxsniff-info | 3.26 | 1,237.75 |
Rage alerts /wp-admin/admin.php?page=uxsniff-rage-alerts | 3.29 | 29.81 |
Recordings /wp-admin/admin.php?page=uxsniff-recordings | 3.29 | 30.22 |
Heatmaps /wp-admin/admin.php?page=uxsniff-heatmaps | 3.27 | 31.39 |
Server storage [IO: ▲1.90MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by UXsniff Heatmap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲128 | 15.81 ▲1.46 | 1.80 ▲0.15 | 33.11 ▼8.37 |
Dashboard /wp-admin | 2,265 ▲74 | 6.92 ▲1.07 | 172.27 ▲66.24 | 90.13 ▲46.30 |
Posts /wp-admin/edit.php | 2,166 ▲77 | 4.00 ▲2.00 | 49.31 ▲9.53 | 34.90 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,571 ▲43 | 25.08 ▲6.98 | 699.04 ▲70.16 | 51.23 ▼17.94 |
Media Library /wp-admin/upload.php | 1,459 ▲68 | 5.77 ▲1.47 | 117.90 ▲18.81 | 82.39 ▲40.09 |
Settings /wp-admin/admin.php?page=uxsniff-info | 895 | 4.00 | 37.42 | 29.96 |
Rage alerts /wp-admin/admin.php?page=uxsniff-rage-alerts | 811 | 4.04 | 40.81 | 23.08 |
Recordings /wp-admin/admin.php?page=uxsniff-recordings | 851 | 4.06 | 40.58 | 25.23 |
Heatmaps /wp-admin/admin.php?page=uxsniff-heatmaps | 811 | 4.14 | 39.85 | 21.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=uxsniff-info
- > Warning in wp-content/plugins/ux-sniff/options.php+66
file_get_contents(https://uxsniff.com/user/api?domain=http://wp.com): failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway
- > GET request to /wp-admin/admin.php?page=uxsniff-info
- > Notice in wp-content/plugins/ux-sniff/options.php+68
Trying to get property 'id' of non-object
- > GET request to /wp-admin/admin.php?page=uxsniff-info
- > Notice in wp-content/plugins/ux-sniff/options.php+69
Trying to get property 'plan' of non-object
- > GET request to /wp-admin/admin.php?page=uxsniff-recordings
- > Notice in wp-content/plugins/ux-sniff/recordings.php+7
Undefined index: host
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ux-sniff/fsheatmap.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Add a description for screenshot #5 in ux-sniff/assets to your readme.txt
ux-sniff/uxsniff.php 85% from 13 tests
The main file in "UXsniff Heatmap" v. 1.1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ux-sniff.php" instead of "uxsniff.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 558 characters long)
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
Everything looks great! No dangerous files found in this plugin20,794 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 1,247 | 17 | 11,521 |
JavaScript | 12 | 1,205 | 1,752 | 5,646 |
PHP | 13 | 1,612 | 243 | 3,613 |
SVG | 14 | 0 | 0 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 22 | |
▷ Named functions | 22 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected