Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.74MB] [CPU: ▼0.51ms] 75% from 4 tests
Analyzing server-side resources used by WordPress Twitter Plugin: Display Your Feed on Your WordPress Site with Ease!
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 635.07ms on /wp-admin/admin.php?page=gs-twitter-plugins-premium)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.68 | 42.54 ▲0.43 |
Dashboard /wp-admin | 4.07 ▲0.77 | 54.19 ▲1.85 |
Posts /wp-admin/edit.php | 4.19 ▲0.83 | 54.95 ▲4.47 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.76 | 92.31 ▼8.78 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 43.54 ▲6.14 |
GS Plugins Lite /wp-admin/admin.php?page=gs-twitter-plugins-lite | 4.27 | 782.45 |
Help & Usage /wp-admin/admin.php?page=gs-twitter-plugins-help | 3.96 | 40.86 |
GS Plugins Pro /wp-admin/admin.php?page=gs-twitter-plugins-premium | 4.06 | 635.07 |
Twitter Feed /wp-admin/admin.php?page=twitter-feed-settings | 3.96 | 41.46 |
Server storage [IO: ▲1.97MB] [DB: ▲0.04MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
gs_twitter_user_card_settings |
gs_twitter_collection_settings |
widget_gs_tweet_widget |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
gs_twitter_feed_settings |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Twitter Plugin: Display Your Feed on Your WordPress Site with Ease!
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,036 ▲279 | 15.10 ▲1.10 | 1.99 ▼0.09 | 40.18 ▼6.65 |
Dashboard /wp-admin | 2,409 ▲221 | 6.76 ▲0.87 | 136.71 ▲35.32 | 47.65 ▲4.01 |
Posts /wp-admin/edit.php | 2,311 ▲222 | 3.69 ▲1.64 | 50.54 ▲8.55 | 33.23 ▼5.65 |
Add New Post /wp-admin/post-new.php | 1,568 ▲35 | 17.50 ▼5.75 | 663.45 ▼19.75 | 36.50 ▼24.67 |
Media Library /wp-admin/upload.php | 1,451 ▲60 | 4.49 ▲0.35 | 95.38 ▼2.90 | 44.83 ▼2.19 |
GS Plugins Lite /wp-admin/admin.php?page=gs-twitter-plugins-lite | 2,740 | 3.39 | 48.21 | 120.64 |
Help & Usage /wp-admin/admin.php?page=gs-twitter-plugins-help | 1,141 | 3.31 | 44.18 | 44.64 |
GS Plugins Pro /wp-admin/admin.php?page=gs-twitter-plugins-premium | 2,402 | 3.40 | 45.22 | 51.90 |
Twitter Feed /wp-admin/admin.php?page=twitter-feed-settings | 2,128 | 5.54 | 119.70 | 54.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-posts
- can_compress_scripts
- gs_twitter_feed_settings
- gs_twitter_user_card_settings
- gs_twitter_collection_settings
- widget_recent-comments
- widget_gs_tweet_widget
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/feeds-of-twitter/lib/templates/gs-twitter-actions-buttons.php
- 24× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: tweets in wp-content/plugins/feeds-of-twitter/lib/templates/gs-twitter-actions-buttons.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'GS_Twitter_WeDevs_Settings_API' not found in wp-content/plugins/feeds-of-twitter/assets/admin/gs_twitterfeed_options_config.php:20
- > PHP Notice
Undefined variable: tweets in wp-content/plugins/feeds-of-twitter/lib/templates/gs-twitter-actions-buttons.php on line 6
- > PHP Notice
Undefined variable: link in wp-content/plugins/feeds-of-twitter/lib/templates/gs-twitter-actions-buttons.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feeds-of-twitter/lib/gs-twitter-feed-enque-scripts.php:18
- > PHP Notice
Undefined variable: gs_tweets in wp-content/plugins/feeds-of-twitter/lib/templates/gs_tw_feed_theme2dark.php on line 5
- > PHP Notice
Trying to get property 'id_str' of non-object in wp-content/plugins/feeds-of-twitter/lib/templates/gs-twitter-actions-buttons.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/feeds-of-twitter/lib/twitter-feed-for-developers.php:4
- > PHP Notice
Trying to get property 'id_str' of non-object in wp-content/plugins/feeds-of-twitter/lib/templates/gs-twitter-actions-buttons.php on line 5
- > PHP Notice
Undefined variable: gs_tweets in wp-content/plugins/feeds-of-twitter/lib/templates/gs_tw_feed_theme1light.php on line 5
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=twitter-feed-settings
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=twitter-feed-settings
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: best wordpress twitter plugin, twitter feed plugin wordpress, wordpress twitter plugin, wordpress twitter feed plugin, twitter plugin
feeds-of-twitter/gs-twitter-feeds.php 77% from 13 tests
The main PHP file in "WordPress Twitter Plugin: Display Your Feed on Your WordPress Site with Ease!" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("feeds-of-twitter.php" instead of "gs-twitter-feeds.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 497 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected9,349 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 831 | 1,039 | 3,263 |
SVG | 6 | 0 | 0 | 2,973 |
CSS | 5 | 169 | 39 | 2,397 |
Sass | 1 | 101 | 6 | 521 |
JavaScript | 1 | 51 | 65 | 195 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 16.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 2 | 11.11% |
▷ Concrete classes | 16 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 184 | |
▷ Static methods | 11 | 5.98% |
▷ Public methods | 156 | 84.78% |
▷ Protected methods | 7 | 3.80% |
▷ Private methods | 21 | 11.41% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 7 | |
▷ Global constants | 7 | 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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-128x128.png | 4.33KB | 2.99KB | ▼ 30.85% |
assets/img/twitter_logo.png | 1.61KB | 0.88KB | ▼ 45.23% |
assets/img/test-images-2.png | 12.01KB | 3.96KB | ▼ 67.02% |