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.13MB] [CPU: ▼0.34ms] Passed 4 tests
Server-side resources used by WP Quick Image
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 48.99 ▲5.19 |
Dashboard /wp-admin | 3.53 ▲0.19 | 59.18 ▲4.20 |
Posts /wp-admin/edit.php | 3.59 ▲0.19 | 53.52 ▲1.16 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.12 | 87.87 ▼8.27 |
Media Library /wp-admin/upload.php | 3.37 ▲0.10 | 38.30 ▲1.54 |
WP Quick Image /wp-admin/options-general.php?page=wp_quick_image | 3.38 | 42.49 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Quick Image
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,097 ▲336 | 15.12 ▲0.86 | 5.73 ▲4.05 | 45.59 ▲5.98 |
Dashboard /wp-admin | 2,423 ▲246 | 6.19 ▲0.54 | 119.48 ▼7.62 | 44.39 ▼9.32 |
Posts /wp-admin/edit.php | 2,271 ▲171 | 3.41 ▲1.38 | 44.25 ▲6.51 | 29.08 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.51 ▲0.54 | 665.35 ▼25.55 | 37.37 ▼16.22 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.11 ▼0.09 | 78.78 ▼27.15 | 47.53 ▲1.55 |
WP Quick Image /wp-admin/options-general.php?page=wp_quick_image | 1,164 | 2.98 | 45.29 | 31.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-quick-image/admin/partials/wp-quick-image-admin-display.php
- > /wp-content/plugins/wp-quick-image/public/partials/wp-quick-image-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: dashboard, widgets, images
wp-quick-image/wp-quick-image.php Passed 13 tests
The principal PHP file in "WP Quick Image" v. 0.3 is loaded by WordPress automatically on each request
87 characters long description:
This plugin adds a WordPress Dashboard widget that allows you to quickly post an image.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected503 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 171 | 618 | 418 |
JavaScript | 2 | 11 | 62 | 69 |
CSS | 2 | 0 | 8 | 16 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 32 | 86.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.51% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin