83% paycall-multisend-sms-tts-support-66-languages

Code Review | PayCall Multisend SMS & TTS Support 66 languages

WordPress plugin PayCall Multisend SMS & TTS Support 66 languages scored83%from 54 tests.

About plugin

  • Plugin page: paycall-multisend...
  • Plugin version: 1.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.7.1
  • WordPress version: 6.3.1
  • First release: May 16, 2021
  • Latest release: May 18, 2021
  • Number of updates: 7
  • Update frequency: every 0.3 days
  • Top authors: paycall (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /323 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.12MB] [CPU: ▼3.20ms] Passed 4 tests

An overview of server-side resources used by PayCall Multisend SMS & TTS Support 66 languages
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1242.44 ▼0.58
Dashboard /wp-admin3.42 ▲0.1250.06 ▼3.46
Posts /wp-admin/edit.php3.54 ▲0.1854.13 ▼0.24
Add New Post /wp-admin/post-new.php6.02 ▲0.1497.01 ▼8.51
Media Library /wp-admin/upload.php3.35 ▲0.1242.80 ▲6.67
Multisend /wp-admin/options-general.php?page=multisend_sms3.3436.08

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

PayCall Multisend SMS & TTS Support 66 languages: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,799 ▲3814.24 ▼0.032.00 ▼0.0044.39 ▼3.71
Dashboard /wp-admin2,205 ▲255.67 ▲0.0198.35 ▲1.5241.99 ▼5.29
Posts /wp-admin/edit.php2,113 ▲102.10 ▲0.0740.95 ▲3.5934.84 ▲0.44
Add New Post /wp-admin/post-new.php1,535 ▲923.71 ▲0.59703.99 ▲15.2453.39 ▼8.41
Media Library /wp-admin/upload.php1,404 ▲44.21 ▲0.0696.10 ▼18.3042.28 ▼5.30
Multisend /wp-admin/options-general.php?page=multisend_sms9911.8226.5231.78

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
  • 6 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=multisend_sms
    • > Notice in wp-content/plugins/paycall-multisend-sms-tts-support-66-languages/includes/admin-ui.php+136
    Trying to access array offset on value of type bool
    • > GET request to /wp-admin/options-general.php?page=multisend_sms
    • > Notice in wp-content/plugins/paycall-multisend-sms-tts-support-66-languages/extensions/sms-geteway.php+58
    Undefined variable: params

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === paycall-multisend-sms-tts-support-66-languages === )
You can look at the official readme.txt

paycall-multisend-sms-tts-support-66-languages/multisend-integration.php 85% from 13 tests

"PayCall Multisend SMS & TTS Support 66 languages" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("paycall-multisend-sms-tts-support-66-languages.php" instead of "multisend-integration.php")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,175 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP12304254908
JavaScript22017124
PO File14747102
CSS110041

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity1.50
▷ Minimum class complexity1.00
▷ Maximum class complexity2.00
Average method complexity1.12
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods675.00%
▷ Protected methods00.00%
▷ Private methods225.00%
Functions21
▷ Named functions21100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin