Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.17ms] Passed 4 tests
Analyzing server-side resources used by Ni Payment Reminder For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 33.09 ▼8.49 |
Dashboard /wp-admin | 3.37 ▲0.06 | 44.08 ▼8.53 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.95 ▲0.20 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.05 ▼3.73 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.32 ▲0.07 |
Dashboard /wp-admin/admin.php?page=niwoopr-payment-reminder | 3.33 | 31.49 |
Setting /wp-admin/admin.php?page=niwoopr-setting | 3.36 | 38.07 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
recovery_mode_email_last_sent |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Ni Payment Reminder For WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.24 ▼1.34 | 1.67 ▼0.23 | 41.36 ▼5.52 |
Dashboard /wp-admin | 2,238 ▲50 | 4.87 ▼0.23 | 111.35 ▲11.01 | 42.32 ▼2.04 |
Posts /wp-admin/edit.php | 2,121 ▲29 | 2.04 ▲0.05 | 40.89 ▲2.11 | 37.60 ▲5.97 |
Add New Post /wp-admin/post-new.php | 1,544 ▲27 | 23.21 ▲5.68 | 662.10 ▲13.41 | 54.06 ▲0.31 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.28 ▲0.02 | 95.73 ▼4.77 | 42.20 ▼0.14 |
Dashboard /wp-admin/admin.php?page=niwoopr-payment-reminder | 1,415 | 1.82 | 13.83 | 72.17 |
Setting /wp-admin/admin.php?page=niwoopr-setting | 1,643 | 6.95 | 135.86 | 57.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- recovery_mode_email_last_sent
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=niwoopr-payment-reminder
- > Error in wp-content/plugins/ni-payment-reminder-for-woocommerce/includes/niwoopr-payment-reminder.php+247
Uncaught Error: Call to undefined function wc_price() in wp-content/plugins/ni-payment-reminder-for-woocommerce/includes/niwoopr-payment-reminder.php:247
Stack trace:
#0 wp-content/plugins/ni-payment-reminder-for-woocommerce/includes/niwoopr-core.php(59): Ni_WooPR_Payment_Reminder->page_init()
#1 wp-includes/class-wp-hook.php(310): Ni_WooPR_Core->add_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Dashboard show stock analysis summary), #2 (Setting page), #3 (Order list.)
ni-payment-reminder-for-woocommerce/ni-payment-reminder-for-woocommerce.php Passed 13 tests
"Ni Payment Reminder For WooCommerce" version 1.2.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
68 characters long description:
Ni Payment Reminder for WooCommerce Plugin | Send Payment Reminders.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,479 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 101 | 73 | 1,508 |
PHP | 5 | 171 | 51 | 892 |
JavaScript | 3 | 12 | 13 | 79 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 15.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 27 | 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
3 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 66.38KB | 18.98KB | ▼ 71.41% |
screenshot-3.png | 29.69KB | 10.99KB | ▼ 62.99% |
screenshot-2.png | 32.38KB | 18.32KB | ▼ 43.42% |