Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲2.53ms] Passed 4 tests
This is a short check of server-side resources used by Conveyancing Quote Calculator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.86 ▼0.15 |
Dashboard /wp-admin | 3.36 ▲0.06 | 56.28 ▲3.18 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 65.62 ▲16.36 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 97.45 ▲2.53 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.57 ▲4.55 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_foo_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Conveyancing Quote Calculator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲7 | 13.70 ▼1.08 | 3.03 ▲1.09 | 43.53 ▲0.34 |
Dashboard /wp-admin | 2,210 ▲7 | 5.79 ▲0.99 | 101.67 ▼1.99 | 41.07 ▼5.14 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.03 ▲0.03 | 39.11 ▲4.80 | 35.40 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 23.36 ▲0.14 | 683.93 ▼64.61 | 59.09 ▼0.21 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.01 | 113.01 ▲7.50 | 50.52 ▲7.33 |
Quote Plugin /wp-admin/hoowla_plugin.php | 26 | 0.44 | 0.09 | 14.88 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_foo_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/conveyancing-quote-calculator/widget.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/conveyancing-quote-calculator/widget.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/hoowla_plugin.php
- > Network (severe)
wp-admin/hoowla_plugin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% 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 to be fixed:
- Donate link: Invalid URI ("")
conveyancing-quote-calculator/hoowla.php 85% from 13 tests
The primary PHP file in "Conveyancing Quote Calculator" version 1.0.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 417 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("conveyancing-quote-calculator.php" instead of "hoowla.php")
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 plugin258 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 94 | 80 | 220 |
JavaScript | 2 | 10 | 1 | 38 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.30MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 87.17KB | 32.33KB | ▼ 62.92% |
hoowla-icon.png | 2.61KB | 2.63KB | 0.00% |
assets/screenshot-4.png | 82.80KB | 30.46KB | ▼ 63.22% |
assets/screenshot-2.png | 76.73KB | 27.98KB | ▼ 63.53% |
assets/screenshot-3.png | 52.80KB | 19.35KB | ▼ 63.35% |