Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼11.54ms] Passed 4 tests
This is a short check of server-side resources used by AutoPostcode
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.98 ▼5.50 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.34 ▼15.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.06 ▼3.82 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.43 ▼20.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.22 ▲1.03 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
AutoPostcode: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 13.34 ▼0.99 | 4.53 ▲2.78 | 43.75 ▲0.87 |
Dashboard /wp-admin | 2,224 ▲17 | 4.84 ▼0.20 | 111.47 ▼3.20 | 42.38 ▼2.71 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.05 ▲0.06 | 36.94 ▼0.16 | 34.72 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,552 ▼2 | 23.20 ▲4.95 | 674.57 ▲34.62 | 60.04 ▲6.10 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.20 ▼0.00 | 103.54 ▲1.64 | 46.83 ▲0.32 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
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 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in autopostcode/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
autopostcode/autopostcode.php Passed 13 tests
This is the main PHP file of "AutoPostcode" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
84 characters long description:
Adds an address dropdown list upon postcode entry on your WooCommerce checkout page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin416 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 53 | 38 | 252 |
PHP | 3 | 53 | 86 | 158 |
CSS | 1 | 1 | 4 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
autopostcode_logo.png | 8.48KB | 3.84KB | ▼ 54.71% |