Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼177.32ms] Passed 4 tests
Server-side resources used by WP Keyboard Navigation
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 46.67 ▲2.68 |
Dashboard /wp-admin | 3.07 ▲0.01 | 52.45 ▼12.05 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 49.54 ▲1.45 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 92.98 ▼697.99 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 37.56 ▼0.68 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by WP Keyboard Navigation
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲135 | 15.91 ▲0.27 | 10.44 ▼0.22 | 50.22 ▼3.01 |
Dashboard /wp-admin | 2,967 ▲36 | 5.89 ▼0.30 | 147.24 ▼29.39 | 115.97 ▲2.10 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.00 | 68.06 ▼2.15 | 93.89 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,615 ▲34 | 21.02 ▲4.66 | 339.10 ▼124.08 | 111.70 ▼4.29 |
Media Library /wp-admin/upload.php | 1,807 ▲74 | 5.04 ▲0.05 | 163.87 ▲4.02 | 121.17 ▲0.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-keyboard-navigation/wp-keyboard-navigation.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: wp keyboard navigation, arrow, numeric navigation, keyboard, plugin
wp-keyboard-navigation/wp-keyboard-navigation.php Passed 13 tests
"WP Keyboard Navigation" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
84 characters long description:
Let's your visitors navigate to different pages with the keyboard arrows and numbers
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin82 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 20 | 82 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 1 | |
▷ Named functions | 1 | 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
No PNG files were detected