Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.31ms] Passed 4 tests
An overview of server-side resources used by WFS GooglePlay Thumbnail
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.79 ▼1.74 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.91 ▼13.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.37 ▲1.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 101.95 ▲1.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.96 ▲3.14 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_wfs_googleplay_thumbnail_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WFS GooglePlay Thumbnail
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 14.48 ▲0.10 | 1.71 ▼0.28 | 45.53 ▲5.44 |
Dashboard /wp-admin | 2,235 ▲47 | 5.80 ▼0.10 | 110.20 ▲5.08 | 76.92 ▲39.82 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.00 ▼0.01 | 32.71 ▼6.93 | 32.27 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,689 ▲161 | 22.01 ▲3.72 | 664.09 ▲59.97 | 40.85 ▼21.16 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 4.24 ▲0.03 | 114.74 ▲13.24 | 43.61 ▼0.31 |
Edit /wp-admin/edit_wfs_googleplay_thumbnail.php | 26 | 0.44 | 0.08 | 14.20 |
WFS GPlay Thumbnails /wp-admin/wfs_googleplay_thumbnails.php | 26 | 0.44 | 0.07 | 7.44 |
Add New /wp-admin/add_wfs_googleplay_thumbnail.php | 26 | 0.44 | 0.14 | 8.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- widget_wfs_googleplay_thumbnail_widget
- db_upgraded
- 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× 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/wfs-googleplay-thumbnail/wfs-googleplay-thumbnail-widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wfs-googleplay-thumbnail/wfs-googleplay-thumbnail-widget.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/edit_wfs_googleplay_thumbnail.php
- > Network (severe)
wp-admin/edit_wfs_googleplay_thumbnail.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/wfs_googleplay_thumbnails.php
- > Network (severe)
wp-admin/wfs_googleplay_thumbnails.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/add_wfs_googleplay_thumbnail.php
- > Network (severe)
wp-admin/add_wfs_googleplay_thumbnail.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wfs-googleplay-thumbnail ===
)
wfs-googleplay-thumbnail/wfs-googleplay-thumbnail-plugin.php 92% from 13 tests
Analyzing the main PHP file in "WFS GooglePlay Thumbnail" version 0.5
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wfs-googleplay-thumbnail.php" instead of "wfs-googleplay-thumbnail-plugin.php")
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
Everything looks great! No dangerous files found in this plugin2,193 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 261 | 363 | 1,496 |
PHP | 7 | 72 | 29 | 355 |
CSS | 3 | 2 | 11 | 321 |
JSON | 1 | 4 | 0 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 12 | |
▷ Named functions | 12 | 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
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wfs-image-small.png | 0.82KB | 0.13KB | ▼ 84.09% |
assets/images/wfs-image-video.png | 0.82KB | 0.13KB | ▼ 84.10% |
assets/images/menu_icon.png | 2.73KB | 0.08KB | ▼ 97.00% |
assets/images/wfs-image.png | 1.65KB | 0.16KB | ▼ 90.35% |