Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼295.93ms] Passed 4 tests
An overview of server-side resources used by Addy's NZ Address Autocomplete for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 55.11 ▲3.55 |
Dashboard /wp-admin | 3.43 ▲0.02 | 32.89 ▲0.75 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.76 ▼1.94 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 93.12 ▼1,181.71 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 24.66 ▼0.81 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Addy's NZ Address Autocomplete for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,764 ▲10 | 16.20 ▲0.46 | 5.84 ▼0.04 | 2.20 ▼0.98 |
Dashboard /wp-admin | 2,895 ▲37 | 6.10 ▼0.15 | 113.78 ▼20.19 | 156.20 ▼7.52 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.23 ▼0.01 | 63.64 ▲0.04 | 139.42 ▲0.20 |
Add New Post /wp-admin/post-new.php | 1,781 ▲74 | 22.44 ▲2.48 | 399.69 ▼28.80 | 157.96 ▼1.90 |
Media Library /wp-admin/upload.php | 1,695 ▼6 | 5.53 ▲0.04 | 157.12 ▲17.13 | 203.92 ▲15.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #1 in addy-autocomplete-woocommerce/assets to your readme.txt
addy-autocomplete-woocommerce/addy-woocommerce.php 92% from 13 tests
Analyzing the main PHP file in "Addy's NZ Address Autocomplete for WooCommerce" version 2.1.7
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("addy-autocomplete-woocommerce.php" instead of "addy-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected226 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 20 | 6 | 112 |
PHP | 1 | 18 | 8 | 89 |
Markdown | 1 | 23 | 0 | 24 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin