Benchmarks
Plugin footprint Passed 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.41MB] [CPU: ▼305.22ms] Passed 4 tests
Analyzing server-side resources used by Hueman Scrollable Sharrre Bar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.87 ▼1.64 | 4.25 ▼46.50 |
Dashboard /wp-admin | 3.45 ▲0.04 | 35.88 ▲2.53 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 40.26 ▲2.44 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 96.93 ▼1,177.86 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 26.15 ▲1.03 |
Hueman Scrollable Sharrre Bar /wp-admin/options-general.php?page=hueman-scrollable-sharrre-bar | 3.27 | 24.25 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Hueman Scrollable Sharrre Bar: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,878 ▲124 | 16.73 ▲1.12 | 10.88 ▲4.83 | 2.17 ▼0.16 |
Dashboard /wp-admin | 2,893 ▲32 | 6.19 ▲0.00 | 115.45 ▼13.59 | 156.66 ▼0.35 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▼0.00 | 64.87 ▲0.32 | 139.07 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,714 ▼5 | 21.42 ▼1.07 | 445.36 ▲20.70 | 155.07 ▼1.70 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.49 ▲0.03 | 143.89 ▼3.01 | 180.32 ▼1.71 |
Hueman Scrollable Sharrre Bar /wp-admin/options-general.php?page=hueman-scrollable-sharrre-bar | 1,011 | 2.43 | 52.80 | 123.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=hueman-scrollable-sharrre-bar
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=hueman-scrollable-sharrre-bar
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/hueman-scrollable-sharrre-bar/hueman-scrollable-sharrre-bar.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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 your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (What it looks like), #2 (Admin panel)
hueman-scrollable-sharrre-bar/hueman-scrollable-sharrre-bar.php Passed 13 tests
The entry point to "Hueman Scrollable Sharrre Bar" version 1.0 is a PHP file that has certain tags in its header comment area
78 characters long description:
Adds scrolling functionality to the Sharrre bar built into the Hueman template
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin173 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 58 | 173 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 24.70KB | 14.75KB | ▼ 40.28% |
screenshot-2.png | 9.85KB | 5.49KB | ▼ 44.31% |