Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.59ms] Passed 4 tests
This is a short check of server-side resources used by WL Tweet List Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.94 ▼2.24 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.25 ▼5.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.18 ▼6.70 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.52 ▼24.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.66 ▲0.49 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_wl_tweet_list |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
WL Tweet List Widget: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 14.04 ▼0.55 | 28.50 ▲26.72 | 43.48 ▼2.14 |
Dashboard /wp-admin | 2,224 ▲21 | 5.90 ▲1.01 | 110.28 ▼2.16 | 38.95 ▼7.61 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.04 ▲0.01 | 38.07 ▼4.61 | 31.64 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.20 ▲5.58 | 672.00 ▲36.18 | 49.73 ▼19.17 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.22 ▼0.10 | 95.07 ▼11.41 | 42.89 ▼2.65 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_wl_tweet_list
- theysaidso_admin_options
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wl-tweet-list-widget/wl-tweet-list.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
wl-tweet-list-widget/wl-tweet-list.php 85% from 13 tests
The entry point to "WL Tweet List Widget" version 1.2.8 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("wl-tweet-list-widget.php" instead of "wl-tweet-list.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin310 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 54 | 38 | 250 |
PO File | 1 | 19 | 21 | 60 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 9.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.21MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 13.21KB | 6.33KB | ▼ 52.07% |
assets/banner-1544x500.png | 138.11KB | 67.22KB | ▼ 51.33% |
assets/icon-128x128.png | 4.75KB | 2.55KB | ▼ 46.26% |
assets/icon.png | 13.44KB | 6.75KB | ▼ 49.74% |
assets/banner-772x250.png | 48.19KB | 22.61KB | ▼ 53.08% |