89% 123eworld-sms

Code Review | 123eworld SMS

WordPress plugin 123eworld SMS scored89%from 54 tests.

About plugin

  • Plugin page: 123eworld-sms
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.6.1
  • WordPress version: 6.3.1
  • First release: Feb 16, 2021
  • Latest release: Feb 16, 2021
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: 123eworld (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /600 total downloads


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.04MB] [CPU: ▼8.06ms] Passed 4 tests

This is a short check of server-side resources used by 123eworld SMS
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0342.94 ▲4.35
Dashboard /wp-admin3.36 ▲0.0144.86 ▼15.84
Posts /wp-admin/edit.php3.41 ▲0.0545.45 ▲1.69
Add New Post /wp-admin/post-new.php5.94 ▲0.0578.91 ▼16.05
Media Library /wp-admin/upload.php3.28 ▲0.0533.42 ▼2.05
123eworld SMS /wp-admin/admin.php?page=123eworld_sms3.2529.99
Send SMS /wp-admin/admin.php?page=send_sms3.2530.95

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by 123eworld SMS
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲8113.14 ▼1.451.60 ▼0.1340.94 ▲0.27
Dashboard /wp-admin2,233 ▲424.84 ▼1.0698.36 ▼13.6137.92 ▼3.34
Posts /wp-admin/edit.php2,116 ▲272.02 ▲0.0239.37 ▲4.9734.22 ▼2.16
Add New Post /wp-admin/post-new.php1,536 ▲317.42 ▼5.80619.36 ▼89.9148.77 ▼8.81
Media Library /wp-admin/upload.php1,409 ▲244.19 ▲0.0597.00 ▼9.3743.94 ▼3.14
123eworld SMS /wp-admin/admin.php?page=123eworld_sms9022.0521.4730.87
Send SMS /wp-admin/admin.php?page=send_sms8872.0325.3031.92

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 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Screenshots: Screenshot #1 (123eworld SMS settings) image required
Please take inspiration from this readme.txt

123eworld-sms/123eworld.php 85% from 13 tests

The main file in "123eworld SMS" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("123eworld-sms.php" instead of "123eworld.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

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 plugin217 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity21.00
▷ Minimum class complexity21.00
▷ Maximum class complexity21.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected