Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/back-and-forward-button/back-and-forward-button.php+22
Methods with the same name as their class will not be constructors in a future version of PHP; tawhidurrahmandearthirtyWidget has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼52.65ms] Passed 4 tests
An overview of server-side resources used by Back and Forward Button
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.59 ▼39.36 |
Dashboard /wp-admin | 2.08 ▼1.23 | 6.29 ▼42.70 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 8.59 ▼39.12 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.68 ▼89.41 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 4.35 ▼29.72 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_tawhidurrahmandearthirtywidget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Back and Forward Button
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.74 ▲0.05 | 1.87 ▼0.20 | 43.34 ▼0.35 |
Dashboard /wp-admin | 2,203 ▲15 | 5.80 ▲0.93 | 94.22 ▼22.31 | 39.85 ▼5.23 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.10 | 39.40 ▲4.03 | 35.70 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,533 ▲12 | 23.42 ▲0.19 | 666.45 ▼20.59 | 52.76 ▼4.39 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.26 ▲0.06 | 91.53 ▼8.15 | 40.65 ▼7.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/back-and-forward-button/back-and-forward-button.php+22
Methods with the same name as their class will not be constructors in a future version of PHP; tawhidurrahmandearthirtyWidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_tawhidurrahmandearthirtywidget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: browsing, pagination, paging, paginate, navigation
back-and-forward-button/back-and-forward-button.php 92% from 13 tests
"Back and Forward Button" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 244 characters long)
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 plugin41 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 11 | 41 |
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.16 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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
No PNG images were found in this plugin