Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼140.27ms] Passed 4 tests
This is a short check of server-side resources used by handsUP!
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 34.95 ▲7.94 |
Dashboard /wp-admin | 3.13 ▲0.07 | 45.88 ▼4.63 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 45.24 ▼1.70 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 95.29 ▼550.88 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 36.08 ▼3.87 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 16 new options
New WordPress options |
---|
handsUP_opt_swipe_left |
handsUP_opt_swipe |
handsUP_opt_corner_banner |
handsUP_opt_loadingBar_color |
handsUP_opt_scroll |
handsUP_opt_leapCursor |
handsUP_opt_scroll_active |
handsUP_opt_refresh_time |
handsUP_opt_tutorial |
handsUP_opt_corner_distance |
... |
Browser metrics Passed 4 tests
A check of browser resources used by handsUP!
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,826 ▲189 | 17.63 ▲2.09 | 49.62 ▲39.32 | 72.28 ▲21.43 |
Dashboard /wp-admin | 2,988 ▲57 | 5.89 ▼0.15 | 145.51 ▼7.45 | 124.70 ▲9.93 |
Posts /wp-admin/edit.php | 2,754 ▲15 | 2.70 ▲0.01 | 67.90 ▲2.59 | 102.37 ▲4.87 |
Add New Post /wp-admin/post-new.php | 1,693 ▲10 | 18.42 ▼0.43 | 393.78 ▼5.13 | 117.81 ▲1.52 |
Media Library /wp-admin/upload.php | 1,822 ▲15 | 5.04 ▲0.00 | 156.02 ▼18.51 | 120.96 ▼15.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 16 options
- handsUP_opt_scroll_active
- handsUP_opt_swipe
- handsUP_opt_cookie_life
- handsUP_opt_leapCursor_interaction
- handsUP_opt_leapCursor_color
- handsUP_opt_refresh
- handsUP_opt_tutorial
- handsUP_opt_swipe_left
- handsUP_opt_leapCursor_size
- handsUP_opt_scroll
- ...
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/handsup/admin/options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/handsup/handsUP.php:58
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (handsUP! Settings.) image not found
handsup/handsUP.php 92% from 13 tests
The primary PHP file in "handsUP!" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("handsup.php" instead of "handsUP.php")
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
There were no executable files found in this plugin1,479 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 205 | 188 | 1,021 |
PHP | 2 | 101 | 60 | 406 |
CSS | 1 | 5 | 0 | 52 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
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 | 6 | |
▷ Named functions | 6 | 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
12 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/iconCircle.png | 7.67KB | 3.67KB | ▼ 52.14% |
img/iconGrabB.png | 9.53KB | 4.36KB | ▼ 54.25% |
img/iconUpDown.png | 7.67KB | 3.60KB | ▼ 53.11% |
img/iconTilt.png | 7.78KB | 3.81KB | ▼ 50.98% |
img/iconGrab.png | 9.20KB | 4.36KB | ▼ 52.62% |