84% easy-voice-mail

Code Review | Easy Voice Mail

WordPress plugin Easy Voice Mail scored84%from 54 tests.

About plugin

  • Plugin page: easy-voice-mail
  • Plugin version: 1.2.5
  • PHP compatiblity: 5.3.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.1.1
  • WordPress version: 6.3.1
  • First release: May 2, 2020
  • Latest release: Apr 30, 2023
  • Number of updates: 20
  • Update frequency: every 54.7 days
  • Top authors: phoenixstudiodz (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

300+ active /3,373 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.87ms] Passed 4 tests

A check of server-side resources used by Easy Voice Mail
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.02 ▼1.93
Dashboard /wp-admin3.32 ▼0.0354.80 ▼12.83
Posts /wp-admin/edit.php3.37 ▲0.0151.41 ▲3.40
Add New Post /wp-admin/post-new.php5.90 ▲0.0194.42 ▼4.99
Media Library /wp-admin/upload.php3.24 ▲0.0135.73 ▲0.28
Easy Voice Mail /wp-admin/tools.php?page=easy-voice-mail/admin/easy-voice-mail-admin.php3.2132.06

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 13 new options
New WordPress options
easy_voice_mail_description
easy_voice_mail_max_duration_seconds
easy_voice_mail_notification_email
widget_recent-posts
can_compress_scripts
easy_voice_mail_show_description
db_upgraded
widget_recent-comments
widget_theysaidso_widget
easy_voice_mail_show_countdown
...

Browser metrics Passed 4 tests

Checking browser requirements for Easy Voice Mail
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.59 ▲0.232.53 ▲0.7841.55 ▼1.55
Dashboard /wp-admin2,199 ▲225.60 ▼0.0592.21 ▼1.8744.99 ▼2.33
Posts /wp-admin/edit.php2,104 ▲42.01 ▲0.0140.58 ▲3.7937.25 ▲2.97
Add New Post /wp-admin/post-new.php1,529 ▲323.58 ▲0.20677.72 ▼5.3851.55 ▼2.27
Media Library /wp-admin/upload.php1,401 ▲74.14 ▼0.0399.31 ▼9.6243.89 ▼3.74
Easy Voice Mail /wp-admin/tools.php?page=easy-voice-mail/admin/easy-voice-mail-admin.php8741.9922.4426.40

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 8 options
    • db_upgraded
    • widget_recent-posts
    • easy_voice_mail_notify_by_email
    • easy_voice_mail_notification_email
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 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 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-voice-mail/admin/easy-voice-mail-admin.php:7

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: record, voice messsage, accessiblity, audio, contact form...

easy-voice-mail/easy-voice-mail.php 92% from 13 tests

The main PHP script in "Easy Voice Mail" version 1.2.5 is automatically included on every request by WordPress
It is important to fix the following:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin616 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript360153298
PHP42119264
CSS29054

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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