Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.68ms] Passed 4 tests
Server-side resources used by Quotes Everywhere!
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.86 ▼1.71 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.60 ▼4.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.81 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.83 ▼22.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.97 ▲0.37 |
Quotes Everywhere! /wp-admin/options-general.php?page=quoteseverywhere_display_main | 3.22 | 32.00 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quotes Everywhere!
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.15 ▼1.27 | 1.64 ▼0.38 | 43.11 ▲0.30 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▲0.05 | 103.09 ▼6.13 | 39.65 ▼2.06 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▼0.00 | 34.69 ▼2.32 | 33.13 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.26 ▼0.07 | 686.18 ▲29.91 | 55.23 ▼7.74 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.15 ▲0.02 | 95.81 ▼14.76 | 46.85 ▼0.36 |
Quotes Everywhere! /wp-admin/options-general.php?page=quoteseverywhere_display_main | 864 | 2.02 | 24.44 | 34.34 |
Uninstaller [IO: ▲0.00MB] [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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=quoteseverywhere_display_main
- > Notice in wp-content/plugins/quotes-everywhere/quoteseverywhere_admin.php+2
Undefined index: quotinhead_hidden
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined index: quotinhead_hidden in wp-content/plugins/quotes-everywhere/quoteseverywhere_admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/quotes-everywhere/quoteseverywhere_admin.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quotes-everywhere/quoteseverywhere_plugin.php:23
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: quotes, inspirational quotes
quotes-everywhere/quoteseverywhere_plugin.php 85% from 13 tests
The main PHP script in "Quotes Everywhere!" version 1.1 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("quotes-everywhere.php" instead of "quoteseverywhere_plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin99 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 20 | 99 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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 | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin