Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.46ms] Passed 4 tests
Analyzing server-side resources used by jcwp left right key navigation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.80 ▼0.30 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.74 ▼5.03 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.44 ▼8.12 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 77.34 ▼20.37 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.22 ▲1.65 |
JCWP Left Right Key /wp-admin/options-general.php?page=jcorglrkn-plugin | 3.18 | 28.32 |
Server storage [IO: ▲0.15MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
jcorglrkn_exclude_categories |
jcorglrkn_linkback |
jcorglrkn_minimum_screen_width |
jcorglrkn_next_post_label |
jcorglrkn_previous_post_label |
widget_theysaidso_widget |
jcorglrkn_plugin |
jcorglrkn_posts_same_category |
... |
Browser metrics Passed 4 tests
A check of browser resources used by jcwp left right key navigation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲191 | 13.61 ▼0.68 | 10.36 ▲8.74 | 44.32 ▲3.97 |
Dashboard /wp-admin | 2,213 ▲25 | 5.84 ▼0.19 | 95.34 ▼7.84 | 35.81 ▼8.78 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.03 ▼0.02 | 34.21 ▼6.81 | 34.01 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.44 ▲5.97 | 673.55 ▲40.21 | 48.31 ▼16.38 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▼0.05 | 94.18 ▼6.46 | 39.86 ▼6.76 |
JCWP Left Right Key /wp-admin/options-general.php?page=jcorglrkn-plugin | 998 | 2.20 | 24.80 | 43.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 15 options in the database
- jcorglrkn_next_post_label
- can_compress_scripts
- db_upgraded
- jcorglrkn_previous_post_label
- widget_recent-comments
- widget_theysaidso_widget
- jcorglrkn_posts_same_category
- jcorglrkn_theme
- jcorglrkn_exclude_categories
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=jcorglrkn-plugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=jcorglrkn-plugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/jcwp-left-right-key-navigation/jcwp-left-right-key-navigation.php:24
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (A screen shot of the options page), #2 (Shows usage)
- Plugin Name: Please specify the plugin name on the first line (
=== jcwp-left-right-key-navigation ===
)
jcwp-left-right-key-navigation/jcwp-left-right-key-navigation.php Passed 13 tests
The primary PHP file in "jcwp left right key navigation" version 1.4 is used by WordPress to initiate all plugin functionality
55 characters long description:
This plugin enables left and right key post navigation.
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin249 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 16 | 238 |
CSS | 1 | 0 | 4 | 10 |
JavaScript | 1 | 3 | 23 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 93.28KB | 40.23KB | ▼ 56.88% |
screenshot-1.png | 37.11KB | 14.63KB | ▼ 60.58% |