Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/ultimate-twitter-profile-widget/twitter_profile_widget.php+467
Undefined variable: after_widget
Server metrics [RAM: ▼1.77MB] [CPU: ▼54.59ms] Passed 4 tests
Server-side resources used by Ultimate twitter profile widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.25 | 4.43 ▼42.31 |
Dashboard /wp-admin | 2.23 ▼1.07 | 5.26 ▼42.89 |
Posts /wp-admin/edit.php | 2.23 ▼1.12 | 6.48 ▼39.43 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.65 | 5.70 ▼93.71 |
Media Library /wp-admin/upload.php | 2.23 ▼1.00 | 5.74 ▼27.24 |
Ultimate Twitter Profile Widget /wp-admin/options-general.php?page=ultimate-twitter-profile-widget/twitter_profile_widget.php | 2.23 | 9.05 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 18 new options
New WordPress options |
---|
utwp_tweet_text |
utwp_credits |
can_compress_scripts |
utwp_username |
utwp_links |
db_upgraded |
utwp_width |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate twitter profile widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼1.16 | 1.51 ▼0.26 | 39.97 ▼3.44 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▲0.98 | 111.48 ▲10.44 | 43.67 ▼2.91 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.13 ▲0.11 | 38.41 ▼1.32 | 35.23 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,545 ▲16 | 17.94 ▼0.40 | 604.56 ▼42.45 | 59.32 ▲2.96 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.26 ▲0.08 | 97.67 ▼5.54 | 44.45 ▲0.42 |
Ultimate Twitter Profile Widget /wp-admin/options-general.php?page=ultimate-twitter-profile-widget/twitter_profile_widget.php | 1,009 | 2.05 | 28.69 | 48.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/ultimate-twitter-profile-widget/twitter_profile_widget.php+467
Undefined variable: after_widget
- This plugin does not fully uninstall, leaving 18 options in the database
- utwp_tweet_bg
- widget_theysaidso_widget
- db_upgraded
- utwp_links
- utwp_credits
- widget_recent-posts
- utwp_shell_bg
- utwp_shell_text
- utwp_height
- widget_recent-comments
- ...
Smoke tests 25% 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=ultimate-twitter-profile-widget/twitter_profile_widget.php
- > Notice in wp-content/plugins/ultimate-twitter-profile-widget/twitter_profile_widget.php+467
Undefined variable: after_widget
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ultimate-twitter-profile-widget/twitter_profile_widget.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=ultimate-twitter-profile-widget/twitter_profile_widget.php
- > Notice in wp-content/plugins/ultimate-twitter-profile-widget/twitter_profile_widget.php+298
Undefined index: utwp_tweet_button_place
- > GET request to /wp-admin/options-general.php?page=ultimate-twitter-profile-widget/twitter_profile_widget.php
- > Notice in wp-content/plugins/ultimate-twitter-profile-widget/twitter_profile_widget.php+299
Undefined index: utwp_tweet_button_style
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ultimate-twitter-profile-widget/twitter_profile_widget.php
- > Notice in wp-content/plugins/ultimate-twitter-profile-widget/twitter_profile_widget.php+346
Undefined variable: icon_url
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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/ultimate-twitter-profile-widget/twitter_profile_widget.php:24
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=ultimate-twitter-profile-widget/twitter_profile_widget.php
- > Network (severe)
wp-content/plugins/twitter-goodies/jscolor.js - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Main menu settings), #2 (the widget)
ultimate-twitter-profile-widget/twitter_profile_widget.php 85% from 13 tests
"Ultimate twitter profile widget" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ultimate-twitter-profile-widget.php" instead of "twitter_profile_widget.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 287 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
No dangerous file extensions were detected1,139 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 128 | 34 | 678 |
PHP | 1 | 20 | 24 | 461 |
PHP code Passed 2 tests
A brief analysis 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.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin