Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.00ms] Passed 4 tests
An overview of server-side resources used by New Order Notification for Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.79 ▼5.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.48 ▲0.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.79 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.76 ▼17.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.51 ▲2.38 |
Settings /wp-admin/admin.php?page=new_order_notification_settings | 3.00 | 24.86 |
Support /wp-admin/admin.php?page=new_order_notification_support | 3.00 | 23.84 |
New Order Notification /wp-admin/admin.php?page=new_order_notification | 3.00 | 22.08 |
New Order Notification (Old) /wp-admin/admin.php?page=new_order_notification_menu | 3.00 | 25.55 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by New Order Notification for Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▼0.17 | 1.72 ▼0.11 | 39.88 ▼2.13 |
Dashboard /wp-admin | 2,200 ▲12 | 5.79 ▲0.88 | 102.46 ▼12.48 | 36.34 ▼7.90 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.04 | 38.41 ▼1.56 | 35.06 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.39 ▲5.13 | 611.71 ▼26.36 | 53.45 ▲5.29 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▲0.05 | 93.38 ▼7.56 | 42.28 ▼2.48 |
Settings /wp-admin/admin.php?page=new_order_notification_settings | 28 | 0.44 | 0.06 | 3.82 |
Support /wp-admin/admin.php?page=new_order_notification_support | 28 | 0.44 | 0.09 | 3.56 |
New Order Notification /wp-admin/admin.php?page=new_order_notification | 28 | 0.44 | 0.08 | 3.86 |
New Order Notification (Old) /wp-admin/admin.php?page=new_order_notification_menu | 28 | 0.44 | 0.07 | 3.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/new-order-notification-for-woocommerce/new-order-notification-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/new-order-notification-for-woocommerce/new-order-notification-page.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=new_order_notification_settings
- > Network (severe)
wp-admin/admin.php?page=new_order_notification_settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=new_order_notification_support
- > Network (severe)
wp-admin/admin.php?page=new_order_notification_support - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=new_order_notification
- > Network (severe)
wp-admin/admin.php?page=new_order_notification - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=new_order_notification_menu
- > Network (severe)
wp-admin/admin.php?page=new_order_notification_menu - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: woocommerce, woocommerce order page, woocommerce new order notification, woocommerce order notification, woocommerce notification...
new-order-notification-for-woocommerce/new-order-notification.php 85% from 13 tests
The main PHP script in "New Order Notification for Woocommerce" version 2.0.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("new-order-notification-for-woocommerce.php" instead of "new-order-notification.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("3.1" instead of "2.5")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,441 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 96 | 56 | 1,160 |
CSS | 1 | 47 | 4 | 281 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected