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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.49ms] Passed 4 tests
A check of server-side resources used by Nifty Newsletters - WooCommerce Subscriptions
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 43.60 ▼0.06 |
Dashboard /wp-admin | 3.34 ▲0.04 | 52.99 ▼0.81 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.77 ▼3.02 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 98.00 ▼10.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 42.73 ▲4.46 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options |
---|
sola_nl_w_default_list |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
sola_nl_w_enable_subscription |
sola_nl_w_checkout_label |
can_compress_scripts |
widget_recent-posts |
sola_nl_w_first_run |
Browser metrics Passed 4 tests
Nifty Newsletters - WooCommerce Subscriptions: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.25 ▼0.13 | 1.55 ▼0.60 | 42.47 ▼5.37 |
Dashboard /wp-admin | 2,214 ▲34 | 5.59 ▼0.06 | 98.15 ▲2.30 | 44.20 ▲2.52 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.11 ▲0.13 | 40.36 ▲2.51 | 36.74 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,615 ▲88 | 21.65 ▼1.69 | 650.35 ▼36.98 | 40.09 ▼13.56 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.23 ▲0.02 | 108.29 ▲0.37 | 45.67 ▲2.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 10 options
- theysaidso_admin_options
- sola_nl_w_enable_subscription
- widget_theysaidso_widget
- sola_nl_w_checkout_label
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- sola_nl_w_first_run
- sola_nl_w_default_list
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/nifty-newsletters-woocommerce-subscriptions/nifty-newsletters-woocommerce-subscriptions.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Nifty Newletters WooCommerce Integration Settings), #2 (The checkbox added to the checkout page)
nifty-newsletters-woocommerce-subscriptions/nifty-newsletters-woocommerce-subscriptions.php 92% from 13 tests
This is the main PHP file of "Nifty Newsletters - WooCommerce Subscriptions" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.8" instead of "2.4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected212 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 109 | 28 | 162 |
PO File | 1 | 10 | 10 | 50 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected