Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼258.38ms] Passed 4 tests
A check of server-side resources used by Easy WP Page Navigation
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 35.23 ▲10.67 |
Dashboard /wp-admin | 3.11 ▲0.06 | 51.34 ▲15.63 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 43.22 ▼2.03 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 92.11 ▼1,031.62 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 30.08 ▼10.55 |
Easy WP Page Nav /wp-admin/options-general.php?page=easy-wp-pagenavigation | 3.04 | 27.03 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 1 new option
New WordPress options |
---|
easy_wp_page_navigation |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy WP Page Navigation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,661 ▲55 | 15.86 ▲0.19 | 8.01 ▲0.50 | 47.13 ▲2.27 |
Dashboard /wp-admin | 2,943 ▲87 | 5.89 ▲0.04 | 133.71 ▼10.27 | 95.03 ▼4.49 |
Posts /wp-admin/edit.php | 2,716 ▲10 | 2.68 ▼0.00 | 68.58 ▲1.44 | 96.68 ▲7.26 |
Add New Post /wp-admin/post-new.php | 1,488 ▼169 | 18.45 ▼0.36 | 346.04 ▼33.83 | 107.19 ▲2.96 |
Media Library /wp-admin/upload.php | 1,782 ▲7 | 4.99 ▼0.02 | 158.99 ▲12.96 | 115.12 ▲0.36 |
Easy WP Page Nav /wp-admin/options-general.php?page=easy-wp-pagenavigation | 1,303 | 2.45 | 60.33 | 71.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- easy_wp_page_navigation
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-wp-page-navigation/inc/plugin-form.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 your attention:
- Tags: There are too many tags (17 tag instead of maximum 10)
easy-wp-page-navigation/easy-wp-pagenavigation.php 92% from 13 tests
Analyzing the main PHP file in "Easy WP Page Navigation" version 1.4
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-wp-page-navigation.php" instead of "easy-wp-pagenavigation.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin633 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 138 | 285 |
CSS | 2 | 6 | 18 | 257 |
PO File | 1 | 25 | 50 | 69 |
JavaScript | 1 | 5 | 3 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin