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.40MB] [CPU: ▼16.43ms] Passed 4 tests
Server-side resources used by Ultimate Twitter Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 42.13 ▲5.62 |
Dashboard /wp-admin | 3.62 ▲0.28 | 47.03 ▼12.10 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 53.52 ▲7.35 |
Add New Post /wp-admin/post-new.php | 3.43 ▼2.45 | 39.90 ▼61.62 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.05 ▲2.39 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_utf_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Twitter Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲161 | 13.65 ▼0.73 | 8.66 ▲6.71 | 44.21 ▲3.53 |
Dashboard /wp-admin | 2,228 ▲46 | 5.08 ▼0.77 | 98.98 ▼5.15 | 39.26 ▼0.68 |
Posts /wp-admin/edit.php | 2,114 ▲28 | 2.23 ▲0.20 | 39.34 ▲2.21 | 35.04 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 17.73 ▲0.15 | 610.08 ▼75.26 | 42.26 ▼13.96 |
Media Library /wp-admin/upload.php | 1,413 ▲31 | 4.34 ▲0.11 | 99.67 ▼0.84 | 41.48 ▼3.12 |
Ultimate Tiwtter Feed /wp-admin/ultimate-twitter-feed.php | 26 | 0.44 | 0.09 | 14.58 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_utf_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% 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)
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/ultimate-twitter-feed/admin/partials/ultimate-twitter-feed-admin-display.php
- > /wp-content/plugins/ultimate-twitter-feed/public/partials/ultimate-twitter-feed-public-display.php
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_rtl() in wp-content/plugins/ultimate-twitter-feed/admin/partials/utf-developers-display.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-twitter-feed/admin/partials/utf-extra-options-display.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-twitter-feed/admin/partials/utf-cache-display.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function is_rtl() in wp-content/plugins/ultimate-twitter-feed/admin/partials/utf-shortcodes-display.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ultimate-twitter-feed/public/class-ultimate-twitter-feed-public.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/ultimate-twitter-feed/admin/partials/utf-keys-and-tokens-display.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/ultimate-twitter-feed.php
- > Network (severe)
wp-admin/ultimate-twitter-feed.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Add a description for screenshot #7 in ultimate-twitter-feed/assets to your readme.txt
- Donate link: Invalid URI ("fb.com/omarstan2")
ultimate-twitter-feed/ultimate-twitter-feed.php 92% from 13 tests
The primary PHP file in "Ultimate Twitter Feed" version 1.7.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 457 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin4,520 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 19 | 399 | 847 | 1,682 |
JavaScript | 1 | 27 | 7 | 116 |
CSS | 3 | 2 | 3 | 51 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 2 | 10.53% |
▷ Concrete classes | 17 | 89.47% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 12 | 10.26% |
▷ Public methods | 94 | 80.34% |
▷ Protected methods | 2 | 1.71% |
▷ Private methods | 21 | 17.95% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
There were not PNG files found in your plugin