84% click-to-speak-fonvirtual

Code Review | Click to Speak Fonvirtual

WordPress plugin Click to Speak Fonvirtual scored 84% from 54 tests.

About plugin

  • Plugin page: click-to-speak-fo...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.1.1
  • WordPress version: 6.3.1
  • First release: Mar 2, 2023
  • Latest release: Mar 2, 2023
  • Number of updates: 3
  • Update frequency: every 2.0 days
  • Top authors: Fonvirtual (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 101 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼7.67ms] Passed 4 tests

Analyzing server-side resources used by Click to Speak Fonvirtual
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.49 ▼4.97
Dashboard /wp-admin3.31 ▲0.0144.89 ▼7.58
Posts /wp-admin/edit.php3.36 ▲0.0142.74 ▼2.28
Add New Post /wp-admin/post-new.php5.89 ▲0.0184.30 ▼15.84
Media Library /wp-admin/upload.php3.24 ▲0.0135.87 ▲3.63

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Click to Speak Fonvirtual
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.23 ▼0.981.67 ▼0.1042.03 ▼0.67
Dashboard /wp-admin2,209 ▲215.80 ▲0.8895.63 ▼16.8039.58 ▼2.77
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0335.98 ▼3.9533.99 ▲1.30
Add New Post /wp-admin/post-new.php1,537 ▼523.40 ▲4.95664.26 ▲60.4553.59 ▼4.17
Media Library /wp-admin/upload.php1,388 ▲64.21 ▲0.07107.57 ▲5.4344.88 ▲0.82

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/click-to-speak-fonvirtual/hablamos-widget.php:25

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: widgetid, class, analyticsevent analyticsfunction

click-to-speak-fonvirtual/hablamos-widget.php 92% from 13 tests

This is the main PHP file of "Click to Speak Fonvirtual" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("click-to-speak-fonvirtual.php" instead of "hablamos-widget.php")

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
No dangerous file extensions were detected319 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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 images were found in this plugin