89% voicemailtel-meet

Code Review | VoiceMailTel Meet

WordPress plugin VoiceMailTel Meet scored 89% from 54 tests.

About plugin

  • Plugin page: voicemailtel-meet
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6.40+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7.2-5.8
  • WordPress version: 5.8.1
  • First release: Aug 26, 2021
  • Latest release: Sep 22, 2021
  • Number of updates: 4
  • Update frequency: every 8.5 days
  • Top authors: voicemailteldev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 55 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▼0.90MB] [CPU: ▼173.40ms] Passed 4 tests

A check of server-side resources used by VoiceMailTel Meet
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1432.82 ▲9.57
Dashboard /wp-admin2.75 ▼0.3025.85 ▼26.48
Posts /wp-admin/edit.php2.75 ▼0.3624.89 ▼27.36
Add New Post /wp-admin/post-new.php2.75 ▼2.6824.44 ▼631.26
Media Library /wp-admin/upload.php2.75 ▼0.2520.74 ▼8.49

Server storage [IO: ▲1.27MB] [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: 38 new files
Database: no new tables, 2 new options
New WordPress options
apiBaseURL
meetingUrl

Browser metrics Passed 4 tests

VoiceMailTel Meet: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,691 ▲4415.86 ▲0.338.84 ▼2.0147.13 ▼8.82
Dashboard /wp-admin2,977 ▲435.91 ▼0.13137.39 ▼14.34145.91 ▲33.30
Posts /wp-admin/edit.php2,754 ▲152.58 ▼0.1167.58 ▲1.4093.56 ▲2.58
Add New Post /wp-admin/post-new.php1,693 ▲19318.53 ▲0.03404.95 ▲31.61114.34 ▲3.60
Media Library /wp-admin/upload.php1,765 ▼424.99 ▼0.10142.42 ▼12.66150.70 ▲32.28

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
  • Uninstall procedure validation failed for this plugin
    • > User deprecated in wp-includes/functions.php+5495
    has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
There were not plugin tags detected

voicemailtel-meet/VMT.php 92% from 13 tests

"VoiceMailTel Meet" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("voicemailtel-meet.php" instead of "VMT.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin612 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP106422309
CSS2280211
JavaScript314192

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods10
▷ Static methods220.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions1090.91%
▷ Anonymous functions19.09%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
16 PNG files occupy 1.16MB with 0.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-8.png94.72KB33.92KB▼ 64.19%
assets/screenshot-11.png27.10KB9.11KB▼ 66.37%
assets/screenshot-7.png89.64KB31.47KB▼ 64.90%
assets/screenshot-12.png24.09KB8.25KB▼ 65.74%
assets/screenshot-1.png86.15KB37.97KB▼ 55.93%