84% multi-account-tweet-feeds-by-webline

Code Review | Multi Account Tweet Feeds by Webline

WordPress plugin Multi Account Tweet Feeds by Webline scored 84% from 54 tests.

About plugin

  • Plugin page: multi-account-twe...
  • Plugin version: 1.0.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.1
  • WordPress version: 6.3.1
  • First release: Nov 28, 2014
  • Latest release: Feb 2, 2023
  • Number of updates: 33
  • Update frequency: every 90.6 days
  • Top authors: WeblineIndia (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active / 5,087 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.96 ▼1.83
Dashboard /wp-admin3.34 ▲0.0445.25 ▼3.15
Posts /wp-admin/edit.php3.39 ▲0.0444.44 ▼7.84
Add New Post /wp-admin/post-new.php5.92 ▲0.0487.03 ▼17.64
Media Library /wp-admin/upload.php3.26 ▲0.0434.26 ▲2.28
Multi Account Tweet Feeds /wp-admin/options-general.php?page=multi-account-tweet-feeds-menu3.2330.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲7114.79 ▲0.581.81 ▲0.3044.07 ▲1.28
Dashboard /wp-admin2,207 ▲165.76 ▼0.1195.12 ▼15.2040.43 ▼0.44
Posts /wp-admin/edit.php2,096 ▲102.06 ▲0.0034.51 ▼6.6335.19 ▼0.04
Add New Post /wp-admin/post-new.php1,537 ▲923.38 ▲0.06632.91 ▼30.8459.43 ▲1.70
Media Library /wp-admin/upload.php1,395 ▲74.29 ▲0.0797.48 ▼0.2341.02 ▼6.27
Multi Account Tweet Feeds /wp-admin/options-general.php?page=multi-account-tweet-feeds-menu1,1452.2745.0927.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP92904711,345
CSS10019
JavaScript14016

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 code0.28
Average class complexity9.20
▷ Minimum class complexity1.00
▷ Maximum class complexity29.00
Average method complexity2.21
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes15
▷ Abstract classes213.33%
▷ Concrete classes1386.67%
▷ Final classes00.00%
Methods106
▷ Static methods1110.38%
▷ Public methods9589.62%
▷ Protected methods21.89%
▷ Private methods98.49%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants9
▷ Global constants9100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
public/assets/images/twitter_icon.png1.77KB1.18KB▼ 33.39%