Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.35MB] [CPU: ▼1.07ms] 75% from 4 tests
This is a short check of server-side resources used by Awesome Arrow Nav
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 650.83ms on /wp-admin/options-general.php?page=_options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 44.61 ▲8.70 |
Dashboard /wp-admin | 4.00 ▲0.66 | 53.72 ▼5.39 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 49.52 ▲6.16 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.45 | 80.47 ▼9.88 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 37.25 ▲4.82 |
Redux Framework /wp-admin/tools.php?page=redux-about | 3.53 | 35.60 |
Awesome Arrow Navigation /wp-admin/options-general.php?page=_options | 4.77 | 650.83 |
Server storage [IO: ▲5.79MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 493 new files
Database: no new tables, 11 new options
New WordPress options |
---|
_aanc-transients |
redux_version_upgraded_from |
redux-framework-tracking |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
_aanc |
redux_blast |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Awesome Arrow Nav: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲115 | 14.55 ▲0.39 | 1.72 ▲0.13 | 42.93 ▲3.55 |
Dashboard /wp-admin | 2,262 ▲81 | 5.53 ▼0.20 | 81.95 ▼17.68 | 41.48 ▲0.40 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.02 ▲0.00 | 34.62 ▼1.66 | 34.01 ▼2.98 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 23.24 ▲0.07 | 653.01 ▼11.35 | 55.97 ▲4.86 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.16 ▼0.15 | 92.60 ▼3.61 | 44.18 ▲1.31 |
Redux Framework /wp-admin/tools.php?page=redux-about | 1,069 | 3.65 | 70.97 | 69.65 |
Awesome Arrow Navigation /wp-admin/options-general.php?page=_options | 2,086 | 5.34 | 131.00 | 86.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- The uninstall procedure has failed, leaving 11 options in the database
- theysaidso_admin_options
- redux-framework-tracking
- redux_version_upgraded_from
- can_compress_scripts
- redux_blast
- _aanc-transients
- widget_theysaidso_widget
- db_upgraded
- _aanc
- widget_recent-posts
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=_options
- > Error in wp-includes/Requests/src/Exception/InvalidArgument.php+29
Uncaught WpOrg\Requests\Exception\InvalidArgument: WpOrg\Requests\Cookie::__construct(): Argument #1 ($name) must be of type string, integer given in wp-includes/Requests/src/Exception/InvalidArgument.php:29
Stack trace:
#0 wp-includes/Requests/src/Cookie.php(84): WpOrg\Requests\Exception\InvalidArgument::create()
#1 wp-includes/class-wp-http.php(472): WpOrg\Requests\Cookie->__construct()
#2 wp-includes/class-wp-http.php(352): WP_Http::normalize_cookies()
#3 wp-includes/http.php(150): WP_Http->request()
#4 wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/inc/class.p.php(229): wp_remote_request()
#5 wp-includes/class-wp-hook.php(310): Redux_P->proxy()
#6 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#7 wp-includes/plugin.php(517): WP_Hook->do_action()
#8 wp-admin/admin-ajax.php(188): do_action()
#9
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/inc/p.php
- 29× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/templates/panel/container.tpl.php:13
- > PHP Notice
Undefined index: multiple_properties in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/inc/validation/css/csstidy/data-wp.inc.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/inc/welcome/views/changelog.php:2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/inc/validation/css/csstidy/data-wp.inc.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/inc/fields/select/elusive-icons.php:312
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/extensions/customizer/extension_customizer.php on line 358
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/extensions/customizer/extension_customizer.php on line 442
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/inc/validation/css/csstidy/data-wp.inc.php on line 24
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/templates/panel/header_stickybar.tpl.php:15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/awesome-arrow-navigation/admin/ReduxCore/templates/panel/menu_container.tpl.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=_options
- > Network (severe)
wp-admin/admin-ajax.php?action=redux_p&nonce=0ad09cbb91&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D0ad09cbb91%26url%3D - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/options-general.php?page=_options
- > Security (severe) in unknown
/wp-admin/options-general.php?page=_options - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=0ad09cbb91&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D0ad09cbb91%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
awesome-arrow-navigation/awesome-arrow-nav.php 85% from 13 tests
The main file in "Awesome Arrow Nav" v. 1.0 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 ("awesome-arrow-navigation.php" instead of "awesome-arrow-nav.php")
- Git Repository: An alternative Git repository was detected
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin47,917 lines of code in 401 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 112 | 5,001 | 7,426 | 21,206 |
JavaScript | 165 | 3,068 | 2,392 | 14,658 |
Sass | 50 | 605 | 58 | 6,568 |
CSS | 62 | 541 | 162 | 2,725 |
SVG | 2 | 0 | 0 | 1,243 |
LESS | 5 | 96 | 79 | 799 |
PO File | 1 | 223 | 294 | 544 |
Markdown | 2 | 34 | 0 | 83 |
Bourne Shell | 1 | 24 | 0 | 55 |
JSON | 1 | 0 | 0 | 36 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 148)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 48.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 792.00 |
Average method complexity | 6.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 148.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 95 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 95 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 833 | |
▷ Static methods | 94 | 11.28% |
▷ Public methods | 563 | 67.59% |
▷ Protected methods | 222 | 26.65% |
▷ Private methods | 48 | 5.76% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 9 | 75.00% |
▷ Class constants | 3 | 25.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
32 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
admin/ReduxCore/assets/img/2cl.png | 2.91KB | 0.24KB | ▼ 91.79% |
admin/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 4.67% |
admin/ReduxCore/assets/img/3cm.png | 2.96KB | 0.29KB | ▼ 90.35% |
admin/ReduxCore/assets/img/3-col-portfolio.png | 1.00KB | 0.15KB | ▼ 85.27% |