Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼38.79ms] Passed 4 tests
A check of server-side resources used by Quick Navigation Right Bar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.32 ▼6.79 |
Dashboard /wp-admin | 3.01 ▼0.30 | 26.82 ▼26.37 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 25.82 ▼29.03 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 24.89 ▼85.57 |
Media Library /wp-admin/upload.php | 3.01 ▼0.23 | 24.01 ▼14.19 |
Quick Navigation Right Bar Option /wp-admin/options-general.php?page=QuickNavigationRightBarOption | 3.01 | 27.34 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Quick Navigation Right Bar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.54 ▲0.19 | 2.00 ▲0.42 | 50.54 ▲2.04 |
Dashboard /wp-admin | 2,202 ▲22 | 5.60 ▼0.07 | 92.60 ▼8.24 | 45.10 ▼0.15 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.99 ▼0.00 | 38.28 ▼2.47 | 37.43 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,529 ▲2 | 20.96 ▼2.26 | 712.51 ▼22.85 | 53.13 ▼15.09 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.12 ▼0.09 | 108.96 ▼23.00 | 56.48 ▲6.15 |
Quick Navigation Right Bar Option /wp-admin/options-general.php?page=QuickNavigationRightBarOption | 773 | 1.12 | 7.28 | 23.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=QuickNavigationRightBarOption
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=QuickNavigationRightBarOption
- > Notice in wp-content/plugins/quick-navigation-right-bar/qnrb_backend.php+10
Undefined index: qnrb_hidden
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
- 6× 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/quick-navigation-right-bar/qnrb_backend.php:24
- > PHP Warning
include(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/quick-navigation-right-bar/index.php on line 11
- > PHP Notice
Undefined index: qnrb_hidden in wp-content/plugins/quick-navigation-right-bar/qnrb_backend.php on line 10
- > PHP Warning
include(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/quick-navigation-right-bar/index.php on line 11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/quick-navigation-right-bar/index.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function is_super_admin() in wp-content/plugins/quick-navigation-right-bar/index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots require images: #3 (`/assets/screenshot-3.jpg`), #4 (`/assets/screenshot-4.jpg`)
quick-navigation-right-bar/index.php 92% from 13 tests
The main PHP script in "Quick Navigation Right Bar" version 1.0.1 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("quick-navigation-right-bar.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin189 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 8 | 15 | 189 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 6.76KB | 2.95KB | ▼ 56.33% |