89% talkie-text-to-speech

Code Review | Talkie Text To Speech

WordPress plugin Talkie Text To Speech scored89%from 54 tests.

About plugin

  • Plugin page: talkie-text-to-sp...
  • Plugin version: 2.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.1.1
  • WordPress version: 6.3.1
  • First release: Jan 8, 2020
  • Latest release: Feb 15, 2023
  • Number of updates: 6
  • Update frequency: every 189.0 days
  • Top authors: tribblemedianl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,386 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.04MB] [CPU: ▼6.21ms] Passed 4 tests

This is a short check of server-side resources used by Talkie Text To Speech
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0336.35 ▼4.94
Dashboard /wp-admin3.36 ▲0.0545.69 ▼6.29
Posts /wp-admin/edit.php3.41 ▲0.0551.70 ▲6.49
Add New Post /wp-admin/post-new.php5.94 ▲0.0580.72 ▼20.08
Media Library /wp-admin/upload.php3.28 ▲0.0543.23 ▲8.88

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Talkie Text To Speech
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,869 ▲12313.33 ▼1.325.48 ▲3.7638.43 ▼6.09
Dashboard /wp-admin2,246 ▲554.92 ▼0.98107.44 ▲6.5040.95 ▼3.64
Posts /wp-admin/edit.php2,130 ▲412.06 ▲0.0136.16 ▼0.7033.03 ▼7.35
Add New Post /wp-admin/post-new.php1,529 ▲1017.81 ▼5.31672.90 ▲24.6050.05 ▼5.28
Media Library /wp-admin/upload.php1,428 ▲404.24 ▲0.0496.32 ▼1.5645.17 ▲3.39

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
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% 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: Please add descriptions for these screenshots #1, #2 in talkie-text-to-speech/assets to your readme.txt
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === talkie-text-to-speech === )
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can take inspiration from this readme.txt

talkie-text-to-speech/talkie-tts.php 92% from 13 tests

The main file in "Talkie Text To Speech" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("talkie-text-to-speech.php" instead of "talkie-tts.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected320 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP36030177
JavaScript3442111
CSS20024
SVG4008

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity1.78
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected