99% 123eworld-sms

Code Review | 123eworld SMS

WordPress plugin 123eworld SMS scored 99% 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: 5.9.2
  • 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 / 243 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼300.06ms] Passed 4 tests

This is a short check of server-side resources used by 123eworld SMS
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0463.93 ▲7.30
Dashboard /wp-admin3.47 ▲0.0644.69 ▼19.70
Posts /wp-admin/edit.php3.69 ▲0.0543.25 ▼3.01
Add New Post /wp-admin/post-new.php6.93 ▼0.04100.25 ▼1,178.45
Media Library /wp-admin/upload.php3.34 ▲0.0527.98 ▲0.94
123eworld SMS /wp-admin/admin.php?page=123eworld_sms3.3129.24
Send SMS /wp-admin/admin.php?page=send_sms3.3128.81

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for 123eworld SMS
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,815 ▲6015.55 ▼0.477.16 ▲1.302.33 ▼0.17
Dashboard /wp-admin2,912 ▲546.16 ▲0.01119.54 ▼13.78155.96 ▲0.59
Posts /wp-admin/edit.php2,722 ▲313.24 ▼0.0162.64 ▼0.88166.30 ▼20.53
Add New Post /wp-admin/post-new.php1,782 ▲9322.94 ▲3.37418.59 ▲18.71152.47 ▼16.09
Media Library /wp-admin/upload.php1,732 ▲345.57 ▲0.05150.62 ▲11.51188.01 ▲2.73
123eworld SMS /wp-admin/admin.php?page=123eworld_sms1,1562.3662.62142.51
Send SMS /wp-admin/admin.php?page=send_sms1,1662.3757.12119.28

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

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 | 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

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
Please fix the following attributes:
  • Screenshots: Screenshot #1 (123eworld SMS settings) image not found
The official readme.txt is a good inspiration

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

The main PHP script in "123eworld SMS" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("123eworld-sms.php" instead of "123eworld.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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin217 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12017217

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
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
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
No PNG images were found in this plugin