Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.50ms] Passed 4 tests
An overview of server-side resources used by Easy Twitter Feed Widget Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 42.24 ▼0.84 |
Dashboard /wp-admin | 3.42 ▲0.07 | 49.40 ▼20.82 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 45.99 ▼10.18 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 97.68 ▼6.16 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.31 ▲0.96 |
Easy Twitter Feed Widget /wp-admin/options-general.php?page=do-etfw-options | 3.32 | 33.14 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_do-etfw |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Twitter Feed Widget Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲172 | 14.18 ▼0.52 | 37.38 ▲35.71 | 43.78 ▲5.23 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.02 | 86.90 ▼6.98 | 41.38 ▼2.98 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.04 | 35.44 ▼5.56 | 37.41 ▼4.26 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 22.95 ▼0.36 | 692.77 ▲18.30 | 63.14 ▲6.08 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▲0.01 | 100.71 ▼15.33 | 45.69 ▲1.47 |
Easy Twitter Feed Widget /wp-admin/options-general.php?page=do-etfw-options | 1,000 | 1.68 | 27.43 | 33.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_do-etfw
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require(): Failed opening required 'DO_ETFW_DIR/inc/widget-twitter.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-twitter-feed-widget/inc/widgets.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/easy-twitter-feed-widget/easy-twitter-feed-widget.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-twitter-feed-widget/inc/extras.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-twitter-feed-widget/inc/widget-twitter.php:13
- > PHP Warning
require(DO_ETFW_DIR/inc/widget-twitter.php): failed to open stream: No such file or directory in wp-content/plugins/easy-twitter-feed-widget/inc/widgets.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-twitter-feed-widget/inc/admin.php:12
- > PHP Warning
Use of undefined constant DO_ETFW_DIR - assumed 'DO_ETFW_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-twitter-feed-widget/inc/widgets.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/easy-twitter-feed-widget/inc/settings-page.php:2
- > 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)
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=do-etfw-options
- > Javascript (severe) in unknown
/wp-content/plugins/easy-twitter-feed-widget/js/hashchange.js?ver=6.3.1 299:14 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
easy-twitter-feed-widget/easy-twitter-feed-widget.php 92% from 13 tests
The main PHP file in "Easy Twitter Feed Widget Plugin" ver. 0.9 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin1,153 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 206 | 424 | 630 |
PHP | 6 | 137 | 193 | 452 |
CSS | 1 | 8 | 11 | 71 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin