78% skype-master

Code Review | TechGasp Talk Master

WordPress plugin TechGasp Talk Master scored 78% from 54 tests.

About plugin

  • Plugin page: skype-master
  • Plugin version: 5.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.7
  • WordPress version: 6.3.1
  • First release: May 30, 2013
  • Latest release: Mar 11, 2021
  • Number of updates: 63
  • Update frequency: every 45.1 days
  • Top authors: TechGasp (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

100+ active / 39,005 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.08MB] [CPU: ▼1.61ms] Passed 4 tests

An overview of server-side resources used by TechGasp Talk Master
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0741.47 ▼5.69
Dashboard /wp-admin3.39 ▲0.0847.64 ▲2.20
Posts /wp-admin/edit.php3.44 ▲0.0852.53 ▲12.05
Add New Post /wp-admin/post-new.php5.97 ▲0.0895.07 ▲2.89
Media Library /wp-admin/upload.php3.31 ▲0.0832.86 ▼5.84
Add-ons /wp-admin/admin.php?page=skype-master-admin-addons3.3328.65
Talk Master /wp-admin/admin.php?page=skype-master3.3029.22

Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_skype_master_widget_original_green

Browser metrics Passed 4 tests

A check of browser resources used by TechGasp Talk Master
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,826 ▲8013.31 ▼1.341.68 ▼0.0141.85 ▼1.57
Dashboard /wp-admin2,235 ▲475.79 ▼0.24110.18 ▼2.5476.47 ▲32.23
Posts /wp-admin/edit.php2,115 ▲261.98 ▼0.0044.76 ▲5.8046.56 ▲9.27
Add New Post /wp-admin/post-new.php1,548 ▲2018.44 ▼4.74725.33 ▲108.2760.46 ▲8.94
Media Library /wp-admin/upload.php1,411 ▲234.14 ▼0.04102.90 ▲0.1045.38 ▲0.15
Add-ons /wp-admin/admin.php?page=skype-master-admin-addons1,0552.0131.1137.69
Talk Master /wp-admin/admin.php?page=skype-master1,7678.21223.2394.57

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_skype_master_widget_original_green
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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 items
  • 7× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/skype-master/includes/skype-master-admin-table-news.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/skype-master/includes/skype-master-admin.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/skype-master/includes/skype-master-admin-addons.php:38
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/skype-master/skype-master.php:52
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skype-master/includes/skype-master-widget-skype-buttons-original-green.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/skype-master/includes/skype-master-admin-addons-table.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/skype-master/includes/skype-master-admin-table-header.php:3

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)
Please take a look at the following user-side issues
    • > GET request to /wp-admin/admin.php?page=skype-master
    • > Security (warning) in unknown
    security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
    • > GET request to /wp-admin/admin.php?page=skype-master
    • > Security (warning) in unknown
    security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
    • > GET request to /wp-admin/admin.php?page=skype-master
    • > Deprecation (warning) in unknown
    https://static.xx.fbcdn.net/rsrc.php/v3/yl/r/jVLDb4X3x_Y.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
    • > GET request to /wp-admin/admin.php?page=skype-master
    • > Console-api (severe) in unknown
    https://static.xx.fbcdn.net/rsrc.php/v3/yl/r/jVLDb4X3x_Y.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."

Optimizations

Plugin configuration 97% 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: There are too many tags (11 tag instead of maximum 10)
The official readme.txt might help

skype-master/skype-master.php Passed 13 tests

This is the main PHP file of "TechGasp Talk Master" version 5.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
119 characters long description:
TechGasp Talk Master is the Skype supreme plugin for any Wordpress powered website. Includes Show Online Status Button.

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
Success! There were no dangerous files found in this plugin518 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP92658518

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity6.80
▷ Minimum class complexity1.00
▷ Maximum class complexity26.00
Average method complexity4.22
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods9
▷ Static methods222.22%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
27 PNG files occupy 0.57MB with 0.45MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/en/green/techgasp-skype-add.png16.54KB1.17KB▼ 92.96%
images/techgasp-spammaster-logo.png174.42KB66.22KB▼ 62.04%
images/techgasp-hr.png0.94KB0.13KB▼ 86.60%
images/pt/green/techgasp-skype-file.png16.18KB0.99KB▼ 93.89%
images/techgasp-check-no.png21.14KB7.14KB▼ 66.23%