52% plugnmeet

Code Review | Plug-N-Meet web conference integration

WordPress plugin Plug-N-Meet web conference integration scored52%from 54 tests.

About plugin

  • Plugin page: plugnmeet
  • Plugin version: 1.2.6
  • PHP compatiblity: 7.4.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.4.1
  • WordPress version: 6.3.1
  • First release: Mar 5, 2022
  • Latest release: Nov 27, 2023
  • Number of updates: 39
  • Update frequency: every 16.2 days
  • Top authors: bobteng (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /2,445 total downloads

Benchmarks

Plugin footprint 48% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.32MB] [CPU: ▼4.19ms] Passed 4 tests

A check of server-side resources used by Plug-N-Meet web conference integration
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.69 ▲0.2340.20 ▼2.07
Dashboard /wp-admin3.72 ▲0.3853.67 ▼6.28
Posts /wp-admin/edit.php3.78 ▲0.4252.40 ▲4.83
Add New Post /wp-admin/post-new.php6.22 ▲0.3486.07 ▼13.25
Media Library /wp-admin/upload.php3.56 ▲0.3439.39 ▲7.61
Settings /wp-admin/admin.php?page=plugnmeet-settings3.5436.20
Recordings /wp-admin/admin.php?page=plugnmeet-recordings3.5837.68
Rooms /wp-admin/admin.php?page=plugnmeet3.5736.97

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 304 new files
Database: 1 new table, 6 new options
New tables
wp_plugnmeet_rooms
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Plug-N-Meet web conference integration
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,077 ▲33014.72 ▲0.376.12 ▲4.3338.60 ▼3.46
Dashboard /wp-admin2,363 ▲1856.14 ▲0.44116.85 ▼0.5041.52 ▼0.96
Posts /wp-admin/edit.php2,297 ▲1973.44 ▲1.4543.83 ▲0.7631.00 ▼0.83
Add New Post /wp-admin/post-new.php1,550 ▲2423.16 ▼0.08672.11 ▲74.5237.03 ▼31.94
Media Library /wp-admin/upload.php1,434 ▲314.17 ▼0.0180.38 ▼16.0939.22 ▼1.87
Settings /wp-admin/admin.php?page=plugnmeet-settings1,7424.1779.7949.33
Recordings /wp-admin/admin.php?page=plugnmeet-recordings1,0443.8646.1521.61
Rooms /wp-admin/admin.php?page=plugnmeet1,0503.8243.3325.21

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin has failed uninstalling correctly, leaving 304 files (1.88MB) in the plugin directory
    • (new file) README.txt
    • (new file) admin/css/plugnmeet-admin.css
    • (new file) admin/index.php
    • (new file) LICENSE.txt
    • (new file) admin/css/bootstrap-colorpicker.min.css
    • (new file) admin/js/bootstrap-colorpicker.min.js
    • (new file) admin/class-plugnmeet-room-page.php
    • (new file) admin/class-plugnmeet-admin.php
    • (new file) admin/css/bootstrap.min.css
    • (new file) admin/class-plugnmeet-settings-page.php
    • ...
  • The uninstall procedure failed, leaving 1 table in the database
    • wp_plugnmeet_rooms
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
  • 8 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=plugnmeet-settings
    • > Notice in wp-content/plugins/plugnmeet/admin/class-plugnmeet-settings-page.php+50
    Undefined index: default

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 121× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Mynaparrot\\Plugnmeet\\Responses\\BaseResponse' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Responses/EndRoomResponse.php:27
    • > PHP Fatal error
      Uncaught Error: Class 'Ramsey\\Uuid\\Codec\\StringCodec' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php:51
    • > PHP Fatal error
      Uncaught Error: Interface 'Ramsey\\Uuid\\Provider\odeProviderInterface' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php:36
    • > PHP Fatal error
      Uncaught Error: Class 'Ramsey\\Uuid\\Codec\\StringCodec' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/ramsey/uuid/src/Codec/OrderedTimeCodec.php:46
    • > PHP Fatal error
      Uncaught Error: Interface 'Ramsey\\Uuid\\Generator\\RandomGeneratorInterface' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/ramsey/uuid/src/Generator/RandomBytesGenerator.php:26
    • > PHP Fatal error
      Uncaught Error: Interface 'Ramsey\\Uuid\\Converter\\TimeConverterInterface' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php:43
    • > PHP Fatal error
      Uncaught Error: Interface 'Ramsey\\Uuid\\Rfc4122\\FieldsInterface' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/ramsey/uuid/src/Guid/Fields.php:45
    • > PHP Fatal error
      Uncaught Error: Class 'Brick\\Math\\Exception\\MathException' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/brick/math/src/Exception/NegativeNumberException.php:10
    • > PHP Fatal error
      Uncaught Error: Interface 'Ramsey\\Uuid\\Converter\\TimeConverterInterface' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php:30
    • > PHP Fatal error
      Uncaught Error: Interface 'Ramsey\\Uuid\\Builder\\UuidBuilderInterface' not found in wp-content/plugins/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/ramsey/uuid/src/Guid/GuidBuilder.php:32

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
  • 7 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=plugnmeet-settings
    • > Console-api (warning) in wp-content/plugins/plugnmeet/admin/js/bootstrap-colorpicker.min.js?ver=1.2.6+8:90715
    The fallback color is invalid. Falling back to the previous color or black if any.

Optimizations

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: mynaparrot, plugnmeet, web conference

plugnmeet/plugnmeet.php 92% from 13 tests

The main PHP script in "Plug-N-Meet web conference integration" version 1.2.6 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Requires PHP: Required version does not match the one declared in readme.txt ("7.4" instead of "7.4.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected24,464 lines of code in 286 files:
LanguageFilesBlank linesComment linesLines of code
PHP2544,07212,39015,851
JavaScript41,3756125,024
PO File46288161,324
Markdown1039701,000
JSON900930
CSS46615334
HTML1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity7.40
▷ Minimum class complexity1.00
▷ Maximum class complexity89.00
Average method complexity2.17
▷ Minimum method complexity1.00
▷ Maximum method complexity61.00
Code structure
Namespaces37
Interfaces29
Traits8
Classes190
▷ Abstract classes84.21%
▷ Concrete classes18295.79%
▷ Final classes2815.38%
Methods1,341
▷ Static methods13610.14%
▷ Public methods1,22491.28%
▷ Protected methods181.34%
▷ Private methods997.38%
Functions58
▷ Named functions3662.07%
▷ Anonymous functions2237.93%
Constants98
▷ Global constants44.08%
▷ Class constants9495.92%
▷ Public constants7074.47%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin