Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.74ms] Passed 4 tests
This is a short check of server-side resources used by Picture Quote of the Day by AZQuotes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 43.96 ▲0.73 |
Dashboard /wp-admin | 3.37 ▲0.02 | 49.70 ▼3.84 |
Posts /wp-admin/edit.php | 3.42 ▲0.02 | 49.32 ▼11.81 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 103.94 ▼8.02 |
Media Library /wp-admin/upload.php | 3.30 ▲0.02 | 42.13 ▲6.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_azq_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Picture Quote of the Day by AZQuotes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.26 ▼0.03 | 1.85 ▼0.05 | 40.47 ▼1.85 |
Dashboard /wp-admin | 2,192 ▲12 | 5.64 ▲0.04 | 95.58 ▲2.38 | 45.79 ▲3.69 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▲0.01 | 41.34 ▼3.21 | 37.01 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.01 ▼0.24 | 670.89 ▼21.24 | 60.65 ▼3.36 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.11 ▼0.11 | 113.79 ▲6.38 | 49.06 ▲2.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_azq_widget
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/picture-quote-of-the-day-by-azquotes/azquotes_widget.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #2, #3, #4 in picture-quote-of-the-day-by-azquotes/assets to your readme.txt
- Tags: There are too many tags (11 tag instead of maximum 10)
picture-quote-of-the-day-by-azquotes/azquotes_widget.php 85% from 13 tests
Analyzing the main PHP file in "Picture Quote of the Day by AZQuotes" version 1.1
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 321 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("picture-quote-of-the-day-by-azquotes.php" instead of "azquotes_widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected57 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 53 | 57 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
There are no PNG files in this plugin