89% voice-mail

Code Review | Voice Mail

WordPress plugin Voice Mail scored89%from 54 tests.

About plugin

  • Plugin page: voice-mail
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jan 18, 2021
  • Latest release: Jan 18, 2021
  • Number of updates: 2
  • Update frequency: every 2.5 days
  • Top authors: bookscroll (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /334 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Voice Mail
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0234.82 ▼2.88
Dashboard /wp-admin3.31 ▲0.0142.77 ▼6.37
Posts /wp-admin/edit.php3.36 ▲0.0146.21 ▼1.18
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.20 ▼8.92
Media Library /wp-admin/upload.php3.23 ▲0.0133.48 ▼0.17

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Voice Mail
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,886 ▲14013.72 ▼0.667.68 ▲6.1237.92 ▼3.72
Dashboard /wp-admin2,206 ▲185.88 ▲0.97106.47 ▼5.1140.61 ▼1.06
Posts /wp-admin/edit.php2,089 ▼02.02 ▼0.0240.36 ▲6.5534.64 ▼2.08
Add New Post /wp-admin/post-new.php1,519 ▼1423.11 ▼0.11587.73 ▼77.6950.04 ▼0.89
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.0393.35 ▼15.6043.98 ▼2.03

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output 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)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Tested up to: Version not formatted correctly
  • Requires at least: Version not formatted correctly
The official readme.txt might help

voice-mail/voice-mail.php Passed 13 tests

"Voice Mail" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
10 characters long description:
Voice Mail

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected252 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript12610129
PHP22816107
CSS14016

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
There are no PNG files in this plugin