73% verbalize-wp

Code Review | Verbalize WP

WordPress plugin Verbalize WP scored73%from 54 tests.

About plugin

  • Plugin page: verbalize-wp
  • Plugin version: 1.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 1.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Jan 17, 2023
  • Latest release: Jan 17, 2023
  • Number of updates: 4
  • Update frequency: every 1.8 days
  • Top authors: christopherdewese1099 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /121 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲5.48MB] [CPU: ▲19.03ms] 75% from 4 tests

This is a short check of server-side resources used by Verbalize WP
It is recommended to improve the following
  • Extra RAM: Extra memory usage must be kept under 5MB (currently 5.48MB on /wp-admin/admin.php?page=freemius)
PageMemory (MB)CPU Time (ms)
Home /9.29 ▲5.8260.86 ▲15.42
Dashboard /wp-admin9.31 ▲6.0070.49 ▲23.59
Posts /wp-admin/edit.php9.31 ▲5.9581.03 ▲33.10
Add New Post /wp-admin/post-new.php10.06 ▲4.17108.37 ▲5.79
Media Library /wp-admin/upload.php9.31 ▲6.0766.42 ▲31.32
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius9.3163.35

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 223 new files
Database: no new tables, 10 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
fs_active_plugins
fs_gdpr
widget_recent-posts
db_upgraded
widget_theysaidso_widget
fs_debug_mode
fs_accounts
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Verbalize WP
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,960 ▲21413.81 ▼0.428.70 ▲6.9332.95 ▼8.39
Dashboard /wp-admin2,252 ▲645.90 ▼0.00109.85 ▲3.5342.71 ▼1.07
Posts /wp-admin/edit.php2,138 ▲492.03 ▼0.1439.56 ▼3.1238.85 ▲2.97
Add New Post /wp-admin/post-new.php1,543 ▲2422.59 ▼0.47659.35 ▲34.7462.25 ▲7.10
Media Library /wp-admin/upload.php1,434 ▲524.19 ▼0.05101.49 ▲2.5845.40 ▲0.61
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius1,1061.7224.9727.41

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/verbalize-wp/freemius/includes/class-freemius.php+8772
    Undefined property: stdClass::$plugins
  • The uninstall procedure has failed, leaving 10 options in the database
    • fs_debug_mode
    • widget_recent-comments
    • widget_theysaidso_widget
    • fs_gdpr
    • can_compress_scripts
    • fs_active_plugins
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • fs_accounts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/verbalize-wp/includes/admin/forms/verbalize-wp-settings.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Donate link: Invalid URI found ("later")
Please take inspiration from this readme.txt

verbalize-wp/verbalize-wp.php 85% from 13 tests

The primary PHP file in "Verbalize WP" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Domain Path: The domain path must begin with a forward slash character ("/languages")
  • Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin35,232 lines of code in 145 files:
LanguageFilesBlank linesComment linesLines of code
PHP1228,19217,50234,530
JavaScript711581603
CSS150664
Markdown115035

PHP code 50% from 2 tests

Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
  • Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity89.35
▷ Minimum class complexity1.00
▷ Maximum class complexity3,089.00
Average method complexity4.61
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes51
▷ Abstract classes23.92%
▷ Concrete classes4996.08%
▷ Final classes00.00%
Methods1,278
▷ Static methods19215.02%
▷ Public methods89670.11%
▷ Protected methods171.33%
▷ Private methods36528.56%
Functions93
▷ Named functions93100.00%
▷ Anonymous functions00.00%
Constants153
▷ Global constants10669.28%
▷ Class constants4730.72%
▷ Public constants47100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
37 PNG files occupy 0.48MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
freemius/assets/img/wp-sale-voice.png9.16KB5.26KB▼ 42.58%
includes/images/mute-black.png3.73KB2.65KB▼ 28.86%
Screenshot-1.png57.32KB28.59KB▼ 50.13%
includes/images/speaker-yellow.png8.21KB2.44KB▼ 70.26%
assets/Screenshot-2.png44.40KB22.22KB▼ 49.95%