84% texty

Code Review | Texty - SMS Notification for WordPress, WooCommerce, Dokan and more

WordPress plugin Texty - SMS Notification for WordPress, WooCommerce, Dokan and more scored84%from 54 tests.

About plugin

  • Plugin page: texty
  • Plugin version: 1.1.2
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-6.3.2
  • WordPress version: 6.3.1
  • First release: Jan 18, 2021
  • Latest release: Nov 1, 2023
  • Number of updates: 10
  • Update frequency: every 102.3 days
  • Top authors: tareq1988 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10,000+ active /91,044 total downloads

Benchmarks

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
Install script ran successfully

Server metrics [RAM: ▲0.34MB] [CPU: ▲2.11ms] Passed 4 tests

This is a short check of server-side resources used by Texty - SMS Notification for WordPress, WooCommerce, Dokan and more
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.81 ▲0.3440.23 ▲1.47
Dashboard /wp-admin3.67 ▲0.3649.50 ▲1.61
Posts /wp-admin/edit.php3.72 ▲0.3652.24 ▲3.26
Add New Post /wp-admin/post-new.php6.27 ▲0.3896.20 ▲2.11
Media Library /wp-admin/upload.php3.53 ▲0.3037.74 ▲4.18

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

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

Browser metrics Passed 4 tests

Texty - SMS Notification for WordPress, WooCommerce, Dokan and more: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲9214.25 ▼0.101.55 ▼0.0440.81 ▼2.31
Dashboard /wp-admin2,238 ▲585.54 ▼0.1187.62 ▼2.9541.98 ▲0.95
Posts /wp-admin/edit.php2,153 ▲532.11 ▲0.0239.70 ▲3.8435.09 ▲3.41
Add New Post /wp-admin/post-new.php1,561 ▲3023.28 ▲0.54684.94 ▲79.4958.07 ▲6.63
Media Library /wp-admin/upload.php1,453 ▲504.24 ▲0.05107.92 ▲12.3646.49 ▲4.06

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
The following items require your attention
  • The uninstall procedure has failed, leaving 8 options in the database
    • db_upgraded
    • widget_recent-comments
    • texty_version
    • widget_theysaidso_widget
    • widget_recent-posts
    • texty_installed
    • can_compress_scripts
    • theysaidso_admin_options

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)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
Please take a closer look at the following
  • 24× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Texty\otifications\otification' not found in wp-content/plugins/texty/includes/Notifications/WP/Comment.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Texty\otifications\\WC\\Base' not found in wp-content/plugins/texty/includes/Notifications/WC/HoldCustomer.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Texty\otifications\\Dokan\\Base' not found in wp-content/plugins/texty/includes/Notifications/Dokan/ProcessingVendor.php:5
    • > PHP Fatal error
      Uncaught Error: Interface 'Texty\\Gateways\\GatewayInterface' not found in wp-content/plugins/texty/includes/Gateways/Clickatell.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'Texty\\Gateways\\GatewayInterface' not found in wp-content/plugins/texty/includes/Gateways/Plivo.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'Texty\\Gateways\\GatewayInterface' not found in wp-content/plugins/texty/includes/Gateways/Fake.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'Texty\\Gateways\\GatewayInterface' not found in wp-content/plugins/texty/includes/Gateways/Twilio.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Texty\\Api\\Base' not found in wp-content/plugins/texty/includes/Api/Tools.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Texty\otifications\\WC\\Base' not found in wp-content/plugins/texty/includes/Notifications/Dokan/Base.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Texty\otifications\\WC\\Base' not found in wp-content/plugins/texty/includes/Notifications/WC/CompleteCustomer.php:5

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5 in texty/assets to your readme.txt
Please take inspiration from this readme.txt

texty/texty.php Passed 13 tests

"Texty - SMS Notification for WordPress, WooCommerce, Dokan and more" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
30 characters long description:
SMS Notification for WordPress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin15,146 lines of code in 68 files:
LanguageFilesBlank linesComment linesLines of code
JSON40010,440
PHP511,0181,9523,825
CSS2110485
Markdown1820255
XML161195
YAML16032
SVG50011
JavaScript3013

PHP code Passed 2 tests

A brief analysis 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.36
Average class complexity9.95
▷ Minimum class complexity1.00
▷ Maximum class complexity84.00
Average method complexity2.50
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces12
Interfaces1
Traits0
Classes43
▷ Abstract classes12.33%
▷ Concrete classes4297.67%
▷ Final classes12.38%
Methods269
▷ Static methods207.43%
▷ Public methods22684.01%
▷ Protected methods103.72%
▷ Private methods3312.27%
Functions5
▷ Named functions240.00%
▷ Anonymous functions360.00%
Constants10
▷ Global constants440.00%
▷ Class constants660.00%
▷ Public constants6100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin