Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.41ms] Passed 4 tests
A check of server-side resources used by Admin Previous and Next Order Edit Links for Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.93 ▼4.04 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.89 ▼18.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.76 ▲4.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.57 ▲1.21 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 38.51 ▲3.37 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Admin Previous and Next Order Edit Links for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.23 ▲0.02 | 1.99 ▲0.44 | 38.93 ▲1.41 |
Dashboard /wp-admin | 2,192 ▲15 | 5.50 ▼0.05 | 89.69 ▼11.75 | 38.07 ▼5.70 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.02 | 40.58 ▲2.74 | 35.80 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.15 ▼0.01 | 645.41 ▼42.76 | 62.93 ▲12.20 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.25 ▲0.03 | 95.49 ▼0.11 | 43.29 ▼1.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/admin-previous-and-next-order-edit-links-for-woocommerce/public/partials/previous-next-edit-order-links-for-woocommerce-public-display.php
- > /wp-content/plugins/admin-previous-and-next-order-edit-links-for-woocommerce/admin/partials/previous-next-edit-order-links-for-woocommerce-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Requires at least: Version format is invalid
admin-previous-and-next-order-edit-links-for-woocommerce/previous-next-edit-order-links-for-woocommerce.php 77% from 13 tests
"Admin Previous and Next Order Edit Links for Woocommerce" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 160 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("admin-previous-and-next-order-edit-links-for-woocommerce.php" instead of "previous-next-edit-order-links-for-woocommerce.php")
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 plugin323 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 137 | 537 | 242 |
CSS | 2 | 5 | 8 | 65 |
JavaScript | 2 | 5 | 27 | 16 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 2.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin