Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.90MB] [CPU: ▼30.22ms] Passed 4 tests
A check of server-side resources used by WP Post Navigation
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.17 ▼5.30 |
Dashboard /wp-admin | 3.04 ▼0.26 | 23.53 ▼24.24 |
Posts /wp-admin/edit.php | 3.04 ▼0.31 | 23.34 ▼21.26 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.84 | 22.68 ▼66.31 |
Media Library /wp-admin/upload.php | 3.04 ▼0.18 | 25.79 ▼9.08 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
wp_post_navigation_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Post Navigation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.20 ▼1.48 | 1.68 ▼0.05 | 43.41 ▼0.88 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▲0.89 | 94.63 ▼7.82 | 38.13 ▼5.69 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.01 | 34.36 ▼1.88 | 38.00 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.25 ▲5.59 | 656.76 ▼28.99 | 61.18 ▲3.87 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.02 | 96.28 ▼17.55 | 42.29 ▼8.17 |
WP Post Navigation /wp-admin/wp-post-navigation.php | 26 | 0.44 | 0.08 | 14.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > 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.
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- wp_post_navigation_options
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-post-navigation/wp-post-navigation.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wp-post-navigation/wp-post-navigation-admin-options.php:91
- > PHP Notice
Undefined variable: action_url in wp-content/plugins/wp-post-navigation/wp-post-navigation-admin-options.php on line 89
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/wp-post-navigation.php
- > Network (severe)
wp-admin/wp-post-navigation.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Admin Panel Setting), #2 (WP Post Navigation)
wp-post-navigation/wp-post-navigation.php Passed 13 tests
The principal PHP file in "WP Post Navigation" v. 1.2.4 is loaded by WordPress automatically on each request
43 characters long description:
Show Previous and Next Post Links at Posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected484 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 10 | 429 |
CSS | 1 | 0 | 0 | 55 |
PHP code Passed 2 tests
This is a short overview 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 | 0.93 |
Average class complexity | 64.00 |
▷ Minimum class complexity | 64.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 8.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 42.17KB | 21.03KB | ▼ 50.14% |
screenshot-3.png | 36.82KB | 16.41KB | ▼ 55.44% |
screenshot-2.png | 16.59KB | 4.82KB | ▼ 70.96% |