Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼1.63MB] [CPU: ▼184.06ms] Passed 4 tests
Server-side resources used by Jet Tweet
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.99 ▼0.85 | 7.50 ▼17.19 |
Dashboard /wp-admin | 2.02 ▼1.04 | 7.63 ▼34.50 |
Posts /wp-admin/edit.php | 2.02 ▼1.09 | 6.84 ▼26.39 |
Add New Post /wp-admin/post-new.php | 2.02 ▼3.42 | 6.61 ▼657.93 |
Media Library /wp-admin/upload.php | 2.02 ▼0.98 | 6.76 ▼17.41 |
Jet Tweet /wp-admin/options-general.php?page=jettweet | 2.02 | 7.92 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 2 new options
New WordPress options |
---|
jettweet |
widget_jettweet |
Browser metrics Passed 4 tests
Jet Tweet: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,671 ▲70 | 15.96 ▼0.09 | 5.21 ▼0.63 | 76.68 ▲4.60 |
Dashboard /wp-admin | 2,934 ▲41 | 6.09 ▼0.05 | 124.58 ▼3.52 | 174.33 ▼1.28 |
Posts /wp-admin/edit.php | 2,745 ▲5 | 3.24 ▲0.01 | 63.95 ▲3.99 | 135.30 ▼1.32 |
Add New Post /wp-admin/post-new.php | 3,816 ▲81 | 19.41 ▲2.43 | 467.09 ▼1.38 | 159.43 ▼1.58 |
Media Library /wp-admin/upload.php | 1,757 ▲5 | 5.50 ▼0.04 | 145.45 ▲3.50 | 182.72 ▼1.75 |
Jet Tweet /wp-admin/options-general.php?page=jettweet | 1,404 | 3.46 | 66.58 | 141.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5304
The called constructor method for WP_Widget in Jet_Tweet_Widget is deprecated since version 4.3.0! Use __construct() instead.
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_jettweet
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=jettweet
- > User deprecated in wp-includes/functions.php+5304
The called constructor method for WP_Widget in Jet_Tweet_Widget is deprecated since version 4.3.0! Use __construct() instead.
SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jettweet/templates/default/template.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/jettweet/jettweet.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jettweet/jettweet-main.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/jettweet/jettweet-setting.php:795
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/jettweet/jettweet-widget.php:22
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=jettweet
- > Console-api (warning) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.6.0 1:31592 "jQuery.Deferred exception: $(...).unbind(...).live is not a function" "TypeError: $(...).unbind(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/jettweet/js/jquery.dialog.js?ver=5.8.1:58:34)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340)" undefined
- > GET request to /wp-admin/options-general.php?page=jettweet
- > Console-api (warning) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.6.0 1:31592 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/jettweet/js/jquery.settings.js?ver=5.8.1:32:28)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340)" undefined
- > GET request to /wp-admin/options-general.php?page=jettweet
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.6.0 1:31702 Uncaught TypeError: $(...).unbind(...).live is not a function
- > GET request to /wp-admin/options-general.php?page=jettweet
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.6.0 1:31702 Uncaught TypeError: $(...).live is not a function
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
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
jettweet/jettweet.php 92% from 13 tests
The main PHP file in "Jet Tweet" ver. 0.0.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 634 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,992 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 472 | 684 | 2,045 |
CSS | 3 | 21 | 10 | 726 |
JavaScript | 3 | 44 | 51 | 221 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 2 | 14.29% |
▷ Concrete classes | 12 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 102 | |
▷ Static methods | 10 | 9.80% |
▷ Public methods | 91 | 89.22% |
▷ Protected methods | 2 | 1.96% |
▷ Private methods | 9 | 8.82% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/background.png | 50.52KB | 31.75KB | ▼ 37.15% |
images/color.png | 0.61KB | 0.58KB | ▼ 5.58% |
images/overlay.png | 1.08KB | 0.34KB | ▼ 68.68% |
images/jettweet.png | 4.53KB | 2.54KB | ▼ 43.93% |
images/settings.png | 50.86KB | 32.36KB | ▼ 36.39% |