Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/juiz-last-tweet-widget/juiz-last-tweet.php+624
Function create_function() is deprecated
Server metrics [RAM: ▼1.64MB] [CPU: ▼49.23ms] Passed 4 tests
This is a short check of server-side resources used by Juiz Last Tweet Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.38 ▼1.11 | 9.33 ▼33.26 |
Dashboard /wp-admin | 2.40 ▼0.94 | 10.66 ▼42.19 |
Posts /wp-admin/edit.php | 2.40 ▼0.99 | 9.72 ▼39.30 |
Add New Post /wp-admin/post-new.php | 2.40 ▼3.52 | 9.86 ▼82.15 |
Media Library /wp-admin/upload.php | 2.40 ▼0.86 | 10.63 ▼24.13 |
Last Tweet Widget /wp-admin/options-general.php?page=juiz-last-tweet-widget | 2.40 | 10.47 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_juiz_last_tweet_widget |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
juiz_ltw_settings |
Browser metrics Passed 4 tests
Checking browser requirements for Juiz Last Tweet Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.20 ▼1.58 | 1.56 ▼0.29 | 40.88 ▼5.17 |
Dashboard /wp-admin | 2,222 ▲34 | 4.86 ▼0.06 | 107.63 ▼6.55 | 45.61 ▲1.50 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.03 ▲0.02 | 39.76 ▲4.15 | 33.32 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,560 ▲21 | 18.32 ▼4.91 | 652.67 ▲3.44 | 50.92 ▼7.51 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.22 ▲0.02 | 109.58 ▲15.42 | 48.51 ▲7.08 |
Last Tweet Widget /wp-admin/options-general.php?page=juiz-last-tweet-widget | 1,108 | 1.81 | 31.92 | 43.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/juiz-last-tweet-widget/juiz-last-tweet.php+624
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=juiz-last-tweet-widget
- > Deprecated in wp-content/plugins/juiz-last-tweet-widget/juiz-last-tweet.php+624
Function create_function() is deprecated
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/juiz-last-tweet-widget/admin/jltw-admin-styles-scripts.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/juiz-last-tweet-widget/admin/jltw-admin.inc.php:9
- > PHP Warning
Use of undefined constant JUIZ_LTW_PLUGIN_NAME - assumed 'JUIZ_LTW_PLUGIN_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/juiz-last-tweet-widget/admin/jltw-admin-styles-scripts.php on line 64
- > PHP Warning
Use of undefined constant JUIZ_LTW_PLUGIN_NAME - assumed 'JUIZ_LTW_PLUGIN_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/juiz-last-tweet-widget/admin/jltw-admin-styles-scripts.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/juiz-last-tweet-widget/juiz-last-tweet.php:39
- > 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 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:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Juiz Last Tweet in action (french interface)), #2 (Juiz Last Tweet in the admin (Widget view)), #3 (Juiz Last Tweet with avatar displayed and custom CSS), #4 (Juiz Last Tweet with avatar and action links displayed), #5 (An example of custom styles), #6 (The new admin page for 1.2.0 (translators are welcome :p)), #7 (The new color picker feature!)
juiz-last-tweet-widget/juiz-last-tweet.php 85% from 13 tests
"Juiz Last Tweet Widget" version 1.3.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("juiz-last-tweet-widget.php" instead of "juiz-last-tweet.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 389 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin4,055 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 402 | 430 | 1,587 |
PO File | 9 | 564 | 727 | 1,463 |
HTML | 2 | 119 | 3 | 561 |
JavaScript | 3 | 60 | 90 | 317 |
CSS | 4 | 1 | 18 | 127 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 12.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 2 | 15.38% |
▷ Concrete classes | 11 | 84.62% |
▷ Final classes | 0 | 0.00% |
Methods | 86 | |
▷ Static methods | 10 | 11.63% |
▷ Public methods | 75 | 87.21% |
▷ Protected methods | 2 | 2.33% |
▷ Private methods | 9 | 10.47% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
15 compressed PNG files occupy 0.12MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 22.96KB | 23.39KB | 0.00% |
screenshot-1.png | 7.33KB | 6.10KB | ▼ 16.77% |
admin/js/color-picker/mask.png | 1.97KB | 4.18KB | 0.00% |
admin/js/color-picker/wheel.png | 11.46KB | 6.53KB | ▼ 43.01% |
admin/js/color-picker/marker.png | 0.64KB | 0.71KB | 0.00% |