Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.87ms] Passed 4 tests
Analyzing server-side resources used by Fr Address Book For Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 38.58 ▼2.72 |
Dashboard /wp-admin | 3.38 ▲0.08 | 43.90 ▼4.85 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 45.66 ▼0.45 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 96.43 ▲1.52 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.24 ▲0.53 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fr Address Book For Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.16 | 1.65 ▼0.06 | 39.53 ▼4.48 |
Dashboard /wp-admin | 2,206 ▲15 | 4.87 ▼0.01 | 106.30 ▼0.12 | 38.68 ▼5.89 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.01 | 32.80 ▼3.94 | 35.36 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 23.16 ▲0.33 | 620.76 ▼23.07 | 53.86 ▼1.25 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.22 ▲0.00 | 99.13 ▼4.27 | 40.41 ▼3.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Fr_Address_Book_for_WooCommerce_Frontend_MyAccount_AddressBook_BaseAction' not found in wp-content/plugins/fr-address-book-for-woocommerce/src/Fr_Address_Book_for_WooCommerce_Frontend_MyAccount_AddressBookEdit_Action.php:9
- > PHP Notice
Undefined variable: addresses in wp-content/plugins/fr-address-book-for-woocommerce/templates/select-address.php on line 22
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/fr-address-book-for-woocommerce/templates/select-address.php on line 22
- > PHP Notice
Undefined variable: addresses in wp-content/plugins/fr-address-book-for-woocommerce/templates/select-address.php on line 30
- > PHP Fatal error
Uncaught Error: Class 'Fr_Address_Book_for_WooCommerce_Frontend_MyAccount_AddressBook_BaseAction' not found in wp-content/plugins/fr-address-book-for-woocommerce/src/Fr_Address_Book_for_WooCommerce_Frontend_MyAccount_AddressBookAdd_Action.php:9
- > PHP Fatal error
Uncaught Error: Class 'Fr_Address_Book_for_WooCommerce_Frontend_MyAccount_BaseEndpoint' not found in wp-content/plugins/fr-address-book-for-woocommerce/src/Fr_Address_Book_for_WooCommerce_Frontend_MyAccount_AddressBookAdd.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function fr_address_book_for_woocommerce() in wp-content/plugins/fr-address-book-for-woocommerce/templates/select-address.php:30
- > PHP Fatal error
Uncaught Error: Class 'Fr_Address_Book_for_WooCommerce_Frontend_MyAccount_BaseEndpoint' not found in wp-content/plugins/fr-address-book-for-woocommerce/src/Fr_Address_Book_for_WooCommerce_Frontend_MyAccount_AddressBookEdit.php:9
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/fr-address-book-for-woocommerce/templates/select-address.php on line 30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add a description for screenshot #4 in fr-address-book-for-woocommerce/assets to your readme.txt
fr-address-book-for-woocommerce/fr-address-book-for-woocommerce.php Passed 13 tests
Analyzing the main PHP file in "Fr Address Book For Woocommerce" version 1.2.6
90 characters long description:
Allow customers to save multiple addresses that they frequently use when placing an order.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,008 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 211 | 846 | 793 |
JavaScript | 2 | 29 | 80 | 88 |
PO File | 1 | 29 | 31 | 80 |
CSS | 2 | 12 | 1 | 47 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 2 | 10.53% |
▷ Concrete classes | 17 | 89.47% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 2 | 2.53% |
▷ Public methods | 48 | 60.76% |
▷ Protected methods | 12 | 15.19% |
▷ Private methods | 19 | 24.05% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There are no PNG files in this plugin