Benchmarks
Plugin footprint 82% 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.35MB] [CPU: ▼1.92ms] 75% from 4 tests
A check of server-side resources used by Quicknav
It is recommended to improve the following
- CPU: You should keep total CPU usage under 500.00ms (currently 533.50ms on /wp-admin/admin.php?page=quicknav-recommended-plugin)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.37 | 41.87 ▲1.96 |
Dashboard /wp-admin | 3.71 ▲0.37 | 53.55 ▼11.16 |
Posts /wp-admin/edit.php | 3.76 ▲0.41 | 49.24 ▲1.32 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 91.52 ▲0.21 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 37.02 ▲3.11 |
Settings /wp-admin/admin.php?page=quicknav_page | 3.56 | 44.21 |
Recommended Plugins /wp-admin/admin.php?page=quicknav-recommended-plugin | 3.76 | 533.50 |
Server storage [IO: ▲2.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Quicknav
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,059 ▲288 | 15.05 ▲0.70 | 5.93 ▲4.03 | 40.73 ▼3.77 |
Dashboard /wp-admin | 2,378 ▲204 | 6.31 ▲0.67 | 107.42 ▲9.08 | 39.89 ▼3.57 |
Posts /wp-admin/edit.php | 2,303 ▲200 | 3.58 ▲1.51 | 45.92 ▲9.15 | 41.30 ▲5.29 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.45 ▼0.05 | 654.53 ▼20.72 | 36.93 ▼12.31 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.34 ▲0.14 | 80.57 ▼15.49 | 40.76 ▲0.48 |
Settings /wp-admin/admin.php?page=quicknav_page | 6,653 | 3.31 | 54.59 | 81.07 |
Recommended Plugins /wp-admin/admin.php?page=quicknav-recommended-plugin | 1,400 | 3.25 | 43.32 | 71.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/quicknav/quicknav.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=quicknav_page
- > Network (severe)
wp-content/plugins/quicknav/assets/css/font-awesome.min.css?ver=4.0.7 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=quicknav_page
- > Network (severe)
wp-content/plugins/quicknav/admin/settings-fields/assets/fonts/fontawesome-webfont.woff2?v=4.7.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=quicknav_page
- > Network (severe)
wp-content/plugins/quicknav/admin/settings-fields/assets/fonts/fontawesome-webfont.woff?v=4.7.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=quicknav_page
- > Network (severe)
wp-content/plugins/quicknav/admin/settings-fields/assets/fonts/fontawesome-webfont.ttf?v=4.7.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #0, #0, #0, #0, #0 in quicknav/assets to your readme.txt
- Requires php: Version not formatted correctly
quicknav/quicknav.php 92% from 13 tests
The entry point to "Quicknav" version 1.3.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 223 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected11,824 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 8,961 |
PHP | 29 | 561 | 330 | 2,121 |
CSS | 4 | 57 | 27 | 566 |
JavaScript | 2 | 88 | 14 | 176 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 7 | 8.54% |
▷ Public methods | 46 | 56.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 36 | 43.90% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin