Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.14ms] Passed 4 tests
An overview of server-side resources used by First payment date for WooCommerce Subscriptions
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.65 ▼1.24 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.88 ▼0.09 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.46 ▼5.58 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.58 ▼21.66 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 39.21 ▲3.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for First payment date for WooCommerce Subscriptions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.37 ▼0.01 | 1.89 ▲0.10 | 43.61 ▼0.15 |
Dashboard /wp-admin | 2,198 ▲21 | 5.69 ▲0.04 | 93.55 ▲3.49 | 38.07 ▼0.69 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.05 | 37.34 ▲1.25 | 32.07 ▼3.03 |
Add New Post /wp-admin/post-new.php | 1,548 ▼2 | 23.13 ▲0.06 | 646.54 ▼16.80 | 50.83 ▼10.17 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▼0.04 | 102.66 ▲0.13 | 42.29 ▼1.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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 following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/first-payment-date-for-woocommerce-subscriptions/first-payment-date-for-woocommerce-subscriptions.php:17
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
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 subscriptions, woocommerce, trial, subscriptions, period...
first-payment-date-for-woocommerce-subscriptions/first-payment-date-for-woocommerce-subscriptions.php 85% from 13 tests
Analyzing the main PHP file in "First payment date for WooCommerce Subscriptions" version 0.6
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.4" instead of "3.0.0")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 192 characters long)
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
There were no executable files found in this plugin426 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 90 | 14 | 387 |
PO File | 1 | 9 | 22 | 39 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected