Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼38.15ms] Passed 4 tests
A check of server-side resources used by WP Next Post Navi
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 37.70 ▼4.33 |
Dashboard /wp-admin | 3.00 ▼0.34 | 22.77 ▼43.19 |
Posts /wp-admin/edit.php | 3.00 ▼0.35 | 27.55 ▼21.04 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 27.91 ▼74.07 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 23.77 ▼14.31 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
wp_next_post_navi_options |
Browser metrics Passed 4 tests
WP Next Post Navi: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.20 ▼1.00 | 2.13 ▲0.09 | 44.72 ▲0.78 |
Dashboard /wp-admin | 2,213 ▲28 | 5.79 ▲0.91 | 106.76 ▼4.53 | 49.24 ▲8.23 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 41.11 ▲3.81 | 39.20 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.82 ▼5.39 | 640.00 ▼35.02 | 51.84 ▼0.15 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▼0.00 | 100.66 ▼11.62 | 43.59 ▼2.10 |
WP Next Post Navigation /wp-admin/wp-next-post-navi.php | 26 | 0.44 | 0.09 | 14.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following 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 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- wp_next_post_navi_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-next-post-navi/wp-next-post-navi.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wp-next-post-navi/wp-next-post-navi-admin-options.php:90
- > PHP Notice
Undefined variable: action_url in wp-content/plugins/wp-next-post-navi/wp-next-post-navi-admin-options.php on line 88
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/wp-next-post-navi.php
- > Network (severe)
wp-admin/wp-next-post-navi.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: These screenshots need descriptions #3, #4 in wp-next-post-navi/assets to your readme.txt
wp-next-post-navi/wp-next-post-navi.php 85% from 13 tests
The principal PHP file in "WP Next Post Navi" v. 1.8.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 347 characters long)
- Text Domain: The text domain should only use lowercase characters and dashes
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 plugin812 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 98 | 39 | 675 |
CSS | 1 | 20 | 0 | 137 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.22 |
Average class complexity | 157.00 |
▷ Minimum class complexity | 157.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 15.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/prev.png | 8.09KB | 4.01KB | ▼ 50.39% |
img/next.png | 6.81KB | 3.48KB | ▼ 48.87% |
img/soon.png | 15.74KB | 7.14KB | ▼ 54.62% |