Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.31ms] Passed 4 tests
Analyzing server-side resources used by Move orders on-hold to processing if successful authorize.net payment
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.69 ▼4.74 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.58 ▼0.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.86 ▼4.56 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.33 ▲0.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.48 ▲0.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Move orders on-hold to processing if successful authorize.net payment
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.29 ▼1.46 | 4.76 ▲2.94 | 43.42 ▼9.20 |
Dashboard /wp-admin | 2,206 ▲14 | 4.86 ▼0.10 | 99.16 ▼7.97 | 40.87 ▼2.61 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.01 | 38.99 ▲1.28 | 31.70 ▼2.98 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.67 ▼0.11 | 669.31 ▼3.24 | 51.22 ▼13.15 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.23 ▲0.04 | 95.77 ▼6.82 | 44.22 ▲0.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/move-orders-on-hold-to-processing-if-successfull-authorize-net-payment/on-hold-to_processing_for_successful_authorize_payment.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: processing, payment, on-hold, authorizenet, order status...
move-orders-on-hold-to-processing-if-successfull-authorize-net-payment/on-hold-to_processing_for_successful_authorize_payment.php 85% from 13 tests
The main PHP script in "Move orders on-hold to processing if successful authorize.net payment" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 244 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("move-orders-on-hold-to-processing-if-successfull-authorize-net-payment.php" instead of "on-hold-to_processing_for_successful_authorize_payment.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
Everything looks great! No dangerous files found in this plugin31 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 15 | 31 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
There are no PNG files in this plugin