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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▼8.48ms] Passed 4 tests
An overview of server-side resources used by WebP Express Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 37.80 ▼1.61 |
Dashboard /wp-admin | 3.66 ▲0.31 | 45.90 ▼13.05 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 47.56 ▼2.46 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 82.23 ▼16.81 |
Media Library /wp-admin/upload.php | 3.52 ▲0.28 | 41.60 ▲6.55 |
Webp Express Plus /wp-admin/options-general.php?page=webp-express-plus | 3.48 | 33.46 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WebP Express Plus: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.24 | 1.77 ▲0.28 | 38.70 ▼3.32 |
Dashboard /wp-admin | 2,199 ▲22 | 5.55 ▼0.11 | 83.89 ▼6.97 | 43.52 ▲2.62 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.00 | 38.05 ▲1.03 | 37.05 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 23.66 ▲0.92 | 683.11 ▲28.46 | 58.74 ▼0.07 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.21 ▲0.02 | 94.90 ▼26.29 | 47.21 ▼2.24 |
Webp Express Plus /wp-admin/options-general.php?page=webp-express-plus | 812 | 2.00 | 22.57 | 25.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 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 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/webp-express-plus/index.php:13
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: webp express, speed, webp, performance, images
webp-express-plus/index.php 85% from 13 tests
"WebP Express Plus" version 0.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 213 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("webp-express-plus.php" instead of "index.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
No dangerous file extensions were detected1,931 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 395 | 311 | 1,801 |
PO File | 2 | 26 | 34 | 130 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 193.50 |
▷ Minimum class complexity | 138.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 5.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 1 | 1.11% |
▷ Public methods | 75 | 83.33% |
▷ Protected methods | 15 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 3 | 30.00% |
▷ Anonymous functions | 7 | 70.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin