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.02MB] [CPU: ▼1.20ms] Passed 4 tests
This is a short check of server-side resources used by Disable WebP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.84 ▲3.65 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.76 ▼4.59 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.33 ▲1.68 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.63 ▼2.22 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.09 ▲0.35 |
Disable WebP /wp-admin/options-general.php?page=disable-webp | 3.22 | 30.07 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
ubdw_disable_webp |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Disable WebP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.39 ▲0.04 | 1.99 ▲0.29 | 41.03 ▲1.80 |
Dashboard /wp-admin | 2,202 ▲21 | 5.62 ▼0.04 | 94.20 ▼7.89 | 43.01 ▲2.01 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.01 | 40.82 ▲4.37 | 37.20 ▲2.19 |
Add New Post /wp-admin/post-new.php | 1,531 ▼6 | 23.02 ▼2.10 | 678.73 ▲52.08 | 60.93 ▼2.40 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.37 ▲0.19 | 103.91 ▲4.98 | 44.83 ▼5.00 |
Disable WebP /wp-admin/options-general.php?page=disable-webp | 848 | 1.98 | 25.90 | 32.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: convert, optimize, image, webp, media...
disable-webp/disable-webp.php Passed 13 tests
"Disable WebP" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
64 characters long description:
A small plugin to disable the new WebP standard in the settings.
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
Success! There were no dangerous files found in this plugin108 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 10 | 22 | 61 |
PO File | 1 | 10 | 10 | 47 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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 are no PNG files in this plugin