Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼144.26ms] Passed 4 tests
A check of server-side resources used by Get Your Quote
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.02 ▲0.18 | 52.72 ▲21.20 |
Dashboard /wp-admin | 3.23 ▲0.18 | 61.35 ▲7.57 |
Posts /wp-admin/edit.php | 3.34 ▲0.24 | 42.18 ▼4.65 |
Add New Post /wp-admin/post-new.php | 5.59 ▲0.16 | 88.26 ▼579.28 |
Media Library /wp-admin/upload.php | 3.17 ▲0.17 | 37.99 ▼0.66 |
Server storage [IO: ▲4.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 60 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_get_your_quote_options |
New WordPress options |
---|
my_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for Get Your Quote
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,864 ▲268 | 17.13 ▲1.65 | 34.51 ▲26.82 | 92.93 ▲47.93 |
Dashboard /wp-admin | 2,989 ▲58 | 6.03 ▼0.10 | 139.32 ▼12.71 | 124.23 ▲13.21 |
Posts /wp-admin/edit.php | 2,758 ▲19 | 2.69 ▼0.01 | 68.31 ▼1.24 | 94.41 ▼5.47 |
Add New Post /wp-admin/post-new.php | 1,697 ▲10 | 18.59 ▼0.30 | 379.08 ▼29.87 | 116.48 ▼4.94 |
Media Library /wp-admin/upload.php | 1,826 ▲16 | 5.01 ▼0.01 | 171.29 ▲30.27 | 124.11 ▼0.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_get_your_quote_options
- This plugin did not uninstall successfully, leaving 1 option in the database
- my_db_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/get-your-quote/admin/partials/services-admin-display.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to a member function get_charset_collate() on null in wp-content/plugins/get-your-quote/includes/installer.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/get-your-quote/services-front.php:1028
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_verify_nonce() in wp-content/plugins/get-your-quote/services_admin.php:16
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/get-your-quote/includes/installer.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). This screenshot shows the basic display of data.) image missing
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== get-your-quote ===
)
get-your-quote/services.php 85% from 13 tests
The main file in "Get Your Quote" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("get-your-quote.php" instead of "services.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin15,280 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 11,697 |
CSS | 7 | 73 | 82 | 2,003 |
PHP | 15 | 169 | 537 | 1,366 |
JavaScript | 10 | 21 | 115 | 214 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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.13MB with 0.09MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Screenshot-1.png | 137.55KB | 44.69KB | ▼ 67.51% |