Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/yummi-quotes/includes/admin.php+45
Undefined index: action
Server metrics [RAM: ▼2.53MB] [CPU: ▼341.15ms] Passed 4 tests
A check of server-side resources used by Yummi Quotes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.84 ▼1.67 | 4.38 ▼50.15 |
Dashboard /wp-admin | 1.86 ▼1.55 | 4.25 ▼28.62 |
Posts /wp-admin/edit.php | 1.86 ▼1.78 | 4.69 ▼31.75 |
Add New Post /wp-admin/post-new.php | 1.86 ▼5.11 | 4.89 ▼1,253.67 |
Media Library /wp-admin/upload.php | 1.86 ▼1.44 | 4.05 ▼29.03 |
Add /wp-admin/admin.php?page=quotes_form | 1.86 | 4.30 |
Quotes /wp-admin/admin.php?page=quotes | 1.86 | 4.92 |
Settings /wp-admin/admin.php?page=quotes_options | 1.86 | 4.06 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: 1 new table, 3 new options
New tables |
---|
wp_quotes |
New WordPress options |
---|
widget_quotes |
name |
yummi_quotes_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for Yummi Quotes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,856 ▲102 | 15.93 ▲0.18 | 5.71 ▼0.76 | 2.42 ▼0.49 |
Dashboard /wp-admin | 2,951 ▲97 | 6.02 ▼0.17 | 115.88 ▼16.96 | 177.20 ▲16.98 |
Posts /wp-admin/edit.php | 2,751 ▲57 | 3.13 ▼0.11 | 62.67 ▲0.37 | 136.93 ▼0.21 |
Add New Post /wp-admin/post-new.php | 1,757 ▲67 | 21.12 ▲0.15 | 416.26 ▲12.68 | 197.23 ▲40.69 |
Media Library /wp-admin/upload.php | 1,755 ▲57 | 5.49 ▼0.04 | 123.50 ▼21.24 | 203.15 ▲7.13 |
Add /wp-admin/admin.php?page=quotes_form | 1,536 | 4.20 | 69.53 | 147.73 |
Quotes /wp-admin/admin.php?page=quotes | 1,394 | 2.39 | 61.10 | 109.57 |
Settings /wp-admin/admin.php?page=quotes_options | 1,301 | 2.50 | 55.03 | 187.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/yummi-quotes/includes/admin.php+45
Undefined index: action
- Zombie tables were found after uninstall: 1 table
- wp_quotes
- The uninstall procedure has failed, leaving 3 options in the database
- widget_quotes
- name
- yummi_quotes_db_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quotes_options
- > Notice in wp-content/plugins/yummi-quotes/includes/admin.php+45
Undefined index: action
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quotes_options
- > Notice in wp-content/plugins/yummi-quotes/yummi-quotes.php+440
Undefined variable: qthis
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quotes_options
- > Notice in wp-content/plugins/yummi-quotes/yummi-quotes.php+440
Trying to get property 'path' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quotes_options
- > Warning in wp-content/plugins/yummi-quotes/yummi-quotes.php+440
Use of undefined constant before_title_URL - assumed 'before_title_URL' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=quotes_form
- > Notice in wp-content/plugins/yummi-quotes/yummi-quotes.php+557
Undefined index: nonce
- > GET request to /wp-admin/admin.php?page=quotes_form
- > Notice in wp-content/plugins/yummi-quotes/yummi-quotes.php+733
Undefined variable: widget
- > GET request to /wp-admin/admin.php?page=quotes_form
- > Notice in wp-content/plugins/yummi-quotes/yummi-quotes.php+733
Trying to get property 'id' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quotes_form
- > Notice in wp-content/plugins/yummi-quotes/yummi-quotes.php+628
Undefined index: id
- > GET request to /wp-admin/admin.php?page=quotes_options
- > Notice in wp-content/plugins/yummi-quotes/includes/admin.php+183
Undefined variable: qver
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/yummi-quotes/includes/yummi-plugins.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/yummi-quotes/includes/admin.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/yummi-quotes/yummi-quotes.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/yummi-quotes/includes/shortcode.php:2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/yummi-quotes/yummi-quotes.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yummi-quotes/includes/widget.php:13
- > 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quotes_options
- > Network (severe)
wp-admin/before_title_URL/includes/img/dashicons-yummi.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: Please a description for screenshot #5 in yummi-quotes/assets to your readme.txt
yummi-quotes/yummi-quotes.php 92% from 13 tests
"Yummi Quotes" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,527 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 186 | 316 | 912 |
CSS | 8 | 48 | 25 | 603 |
JavaScript | 2 | 0 | 1 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/dashicons-yummi.png | 1.81KB | 0.85KB | ▼ 52.89% |