Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/quote-master/quote-master.php+88
Function create_function() is deprecated
Server metrics [RAM: ▼1.78MB] [CPU: ▼51.93ms] Passed 4 tests
This is a short check of server-side resources used by Quote Master
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.26 | 5.63 ▼34.79 |
Dashboard /wp-admin | 2.22 ▼1.08 | 6.39 ▼43.37 |
Posts /wp-admin/edit.php | 2.22 ▼1.13 | 6.66 ▼42.49 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.66 | 8.88 ▼87.06 |
Media Library /wp-admin/upload.php | 2.22 ▼1.00 | 8.39 ▼25.80 |
Add New /wp-admin/post-new.php?post_type=quote | 2.23 | 6.92 |
Settings /wp-admin/edit.php?post_type=quote&page=qm_settings | 2.23 | 10.23 |
QM About /wp-admin/index.php?page=qm_about | 2.23 | 6.97 |
Quote Category /wp-admin/edit-tags.php?taxonomy=quote_category&post_type=quote | 2.29 | 7.89 |
All Quotes /wp-admin/edit.php?post_type=quote | 2.23 | 7.48 |
Help /wp-admin/edit.php?post_type=quote&page=qm_help | 2.23 | 7.66 |
Server storage [IO: ▲0.30MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
mlw_quotes_version |
widget_qm_widget |
can_compress_scripts |
widget_recent-comments |
mlw_advert_shows |
Browser metrics Passed 4 tests
A check of browser resources used by Quote Master
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.17 ▼0.11 | 1.72 ▲0.01 | 43.16 ▲0.08 |
Dashboard /wp-admin | 2,237 ▲63 | 5.67 ▲0.13 | 88.63 ▼6.73 | 38.03 ▼2.04 |
Posts /wp-admin/edit.php | 2,139 ▲35 | 2.00 ▲0.01 | 35.88 ▼0.18 | 36.13 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.29 ▲0.27 | 664.98 ▲22.89 | 67.57 ▲6.53 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.19 ▲0.00 | 98.24 ▼8.58 | 46.40 ▼1.49 |
Add New /wp-admin/post-new.php?post_type=quote | 2,297 | 7.78 | 173.78 | 62.78 |
Settings /wp-admin/edit.php?post_type=quote&page=qm_settings | 875 | 2.01 | 23.81 | 26.49 |
QM About /wp-admin/index.php?page=qm_about | 904 | 1.99 | 22.86 | 54.68 |
Quote Category /wp-admin/edit-tags.php?taxonomy=quote_category&post_type=quote | 1,310 | 2.12 | 27.71 | 33.37 |
All Quotes /wp-admin/edit.php?post_type=quote | 1,111 | 1.90 | 30.93 | 33.44 |
Help /wp-admin/edit.php?post_type=quote&page=qm_help | 1,351 | 2.03 | 26.39 | 46.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/quote-master/quote-master.php+88
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_qm_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=quote&page=qm_help
- > Deprecated in wp-content/plugins/quote-master/quote-master.php+88
Function create_function() is deprecated
SRP 50% 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
Please fix the following
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/quote-master/php/index.php
- > /wp-content/plugins/quote-master/languages/index.php
- > /wp-content/plugins/quote-master/assets/index.php
- > /wp-content/plugins/quote-master/css/index.php
- > /wp-content/plugins/quote-master/index.php
- > /wp-content/plugins/quote-master/js/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
8 plugin tags: quote, random, shortcode, page, widget...
quote-master/quote-master.php Passed 13 tests
The main PHP file in "Quote Master" ver. 7.1.1 adds more information about the plugin and also serves as the entry point for this plugin
46 characters long description:
Use this plugin to add quotes to your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,183 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 104 | 362 | 1,001 |
LESS | 3 | 20 | 3 | 132 |
JavaScript | 1 | 1 | 0 | 44 |
CSS | 3 | 0 | 0 | 3 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 45 | |
▷ Static methods | 9 | 20.00% |
▷ Public methods | 43 | 95.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.44% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.24MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 154.89KB | 55.00KB | ▼ 64.49% |
assets/screenshot-2.png | 9.21KB | 4.64KB | ▼ 49.61% |
assets/screenshot-3.png | 76.65KB | 30.20KB | ▼ 60.61% |