Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.78ms] Passed 4 tests
This is a short check of server-side resources used by PIQ-Quote
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.92 ▼6.13 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.29 ▼18.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.84 ▲4.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.47 ▼12.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.60 ▼1.56 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- There were 2 files (0.00KB) illegally modified outside of "wp-content/plugins/piq-quote/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/piq-quote/assets/banner-772\303\227250.png"
- (new file) "wp-content/plugins/piq-quote/assets/icon-256\303\227256.png"
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PIQ-Quote
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲46 | 14.37 ▼0.29 | 1.70 ▼0.13 | 44.02 ▼0.41 |
Dashboard /wp-admin | 2,192 ▲24 | 5.62 ▲0.08 | 90.45 ▼0.00 | 42.90 ▼1.04 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▲0.05 | 35.87 ▼3.55 | 35.01 ▲1.85 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,838 | 27.43 ▲4.28 | 829.09 ▲171.37 | 55.13 ▲3.40 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.18 ▼0.05 | 98.80 ▼2.03 | 44.61 ▲0.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/piq-quote/piq-quote.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: pet-insurance-quotes, insurance, pets, piq
piq-quote/piq-quote.php 92% from 13 tests
The primary PHP file in "PIQ-Quote" version 1.0.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 142 characters long)
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 plugin12,097 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 11,937 |
JavaScript | 2 | 4 | 33 | 73 |
Markdown | 1 | 18 | 0 | 35 |
Sass | 2 | 3 | 0 | 26 |
PHP | 2 | 9 | 35 | 24 |
CSS | 2 | 0 | 0 | 2 |
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.00 |
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
3 PNG files occupy 0.25MB with 0.15MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256×256.png | 15.44KB | 7.29KB | ▼ 52.77% |
assets/screenshot-1.png | 213.77KB | 57.38KB | ▼ 73.16% |
assets/banner-772×250.png | 22.83KB | 9.93KB | ▼ 56.49% |