Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼10.52ms] Passed 4 tests
Server-side resources used by WP Awesome Quotes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.08 ▼9.69 |
Dashboard /wp-admin | 3.36 ▲0.06 | 41.97 ▼8.72 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.47 ▼4.79 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 78.30 ▼18.88 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.48 ▼0.69 |
All Quotes /wp-admin/edit.php?post_type=wpaq_quotes | 3.32 | 37.48 |
Awesome Quotes /wp-admin/admin.php?page=wpaq-settings | 3.24 | 31.90 |
Add New Quote /wp-admin/post-new.php?post_type=wpaq_quotes | 3.31 | 41.52 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
wpaq_enabled |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Awesome Quotes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,873 ▲138 | 13.23 ▼0.97 | 2.34 ▲0.51 | 39.15 ▼6.00 |
Dashboard /wp-admin | 2,236 ▲59 | 5.82 ▲0.96 | 110.01 ▲0.49 | 80.81 ▲31.90 |
Posts /wp-admin/edit.php | 2,125 ▲50 | 2.00 ▼0.05 | 35.42 ▼2.29 | 34.82 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,556 ▲14 | 22.92 ▲4.60 | 693.64 ▲41.42 | 57.25 ▲6.75 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.21 ▲0.08 | 99.01 ▼3.24 | 71.02 ▲28.35 |
All Quotes /wp-admin/edit.php?post_type=wpaq_quotes | 1,082 | 1.93 | 34.90 | 31.07 |
Awesome Quotes /wp-admin/admin.php?page=wpaq-settings | 927 | 2.02 | 23.72 | 25.25 |
Add New Quote /wp-admin/post-new.php?post_type=wpaq_quotes | 1,413 | 2.46 | 45.40 | 58.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- wpaq_enabled
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-awesome-quotes/inc/general_functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-awesome-quotes/inc/admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-awesome-quotes/inc/cpt.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=wpaq-settings
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wpaq-settings 163 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=wpaq-settings
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wpaq-settings 178 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=wpaq-settings
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wpaq-settings 185 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Quotes on website frontend), #2 (Admin Settings Page), #3 (List quotes)
- Requires at least: Invalid version format
wp-awesome-quotes/wp-awesome-quotes.php Passed 13 tests
The main PHP file in "WP Awesome Quotes" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
63 characters long description:
The plugin displays a random quote on the time of page loading.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected283 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 43 | 41 | 283 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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 |
assets/icon-20x20.png | 0.57KB | 0.46KB | ▼ 20.75% |