Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.62ms] Passed 4 tests
A check of server-side resources used by Multi Account Tweet Feeds by Webline
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.96 ▼1.83 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.25 ▼3.15 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 44.44 ▼7.84 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.03 ▼17.64 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 34.26 ▲2.28 |
Multi Account Tweet Feeds /wp-admin/options-general.php?page=multi-account-tweet-feeds-menu | 3.23 | 30.94 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
MATF_settings |
widget_recent-comments |
widget_matweetfeeds |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Multi Account Tweet Feeds by Webline: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 14.79 ▲0.58 | 1.81 ▲0.30 | 44.07 ▲1.28 |
Dashboard /wp-admin | 2,207 ▲16 | 5.76 ▼0.11 | 95.12 ▼15.20 | 40.43 ▼0.44 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.06 ▲0.00 | 34.51 ▼6.63 | 35.19 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.38 ▲0.06 | 632.91 ▼30.84 | 59.43 ▲1.70 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.29 ▲0.07 | 97.48 ▼0.23 | 41.02 ▼6.27 |
Multi Account Tweet Feeds /wp-admin/options-general.php?page=multi-account-tweet-feeds-menu | 1,145 | 2.27 | 45.09 | 27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_matweetfeeds
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/multi-account-tweet-feeds-by-webline/public/multi-account-tweet-feeds.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/multi-account-tweet-feeds-by-webline/public/multi-account-tweet-feeds-shortcode.php:76
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/multi-account-tweet-feeds-by-webline/admin/multi-account-tweet-feeds-settings.php:147
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/multi-account-tweet-feeds-by-webline/public/hook.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: multiple account, multi account tweets, tweets, multi account twitter feeds, twitter feeds
multi-account-tweet-feeds-by-webline/multi-account-tweet-feeds-by-webline.php Passed 13 tests
The primary PHP file in "Multi Account Tweet Feeds by Webline" version 1.0.7 is used by WordPress to initiate all plugin functionality
131 characters long description:
A Simple plugin to show latest Tweets from a multiple Twitter accounts in the same sidebar widget,post,page or text widget content.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,380 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 290 | 471 | 1,345 |
CSS | 1 | 0 | 0 | 19 |
JavaScript | 1 | 4 | 0 | 16 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 2 | 13.33% |
▷ Concrete classes | 13 | 86.67% |
▷ Final classes | 0 | 0.00% |
Methods | 106 | |
▷ Static methods | 11 | 10.38% |
▷ Public methods | 95 | 89.62% |
▷ Protected methods | 2 | 1.89% |
▷ Private methods | 9 | 8.49% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/images/twitter_icon.png | 1.77KB | 1.18KB | ▼ 33.39% |