90% rendez-vous

Code Review | Rendez Vous

WordPress plugin Rendez Vous scored90%from 54 tests.

About plugin

  • Plugin page: rendez-vous
  • Plugin version: 1.4.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.6
  • WordPress version: 6.3.1
  • First release: Apr 9, 2014
  • Latest release: Sep 6, 2016
  • Number of updates: 42
  • Update frequency: every 25.1 days
  • Top authors: imath (95.24%)G3ronim0 (7.14%)

Code review

54 tests

User reviews

19 reviews

Install metrics

300+ active /18,669 total downloads

Benchmarks

Plugin footprint 83% 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.04MB] [CPU: ▼6.84ms] Passed 4 tests

Server-side resources used by Rendez Vous
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0438.24 ▼7.54
Dashboard /wp-admin3.38 ▲0.0447.71 ▼4.54
Posts /wp-admin/edit.php3.50 ▲0.1049.12 ▼1.18
Add New Post /wp-admin/post-new.php5.97 ▲0.0491.36 ▼14.09
Media Library /wp-admin/upload.php3.31 ▲0.0438.82 ▲0.01

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Rendez Vous
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6814.34 ▼0.231.90 ▲0.3442.91 ▲1.83
Dashboard /wp-admin2,195 ▲155.61 ▼0.05103.13 ▲11.7242.13 ▼0.37
Posts /wp-admin/edit.php2,100 ▼02.03 ▼0.0039.56 ▲1.8036.16 ▲0.09
Add New Post /wp-admin/post-new.php1,526 ▼223.64 ▲0.61677.04 ▲41.7557.31 ▲3.51
Media Library /wp-admin/upload.php1,403 ▼04.18 ▲0.03106.41 ▲8.0045.28 ▲1.11

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration Passed 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
4 plugin tags: meet, buddypress, schedule, rendezvous

rendez-vous/rendez-vous.php Passed 13 tests

"Rendez Vous" version 1.4.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
77 characters long description:
Rendez Vous is a BuddyPress plugin to schedule appointments with your buddies

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin6,412 lines of code in 28 files:
LanguageFilesBlank linesComment linesLines of code
PHP151,3272,6114,143
JavaScript6316421,128
PO File1247284621
CSS61022520

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity25.00
▷ Minimum class complexity3.00
▷ Maximum class complexity93.00
Average method complexity3.20
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods98
▷ Static methods2323.47%
▷ Public methods8990.82%
▷ Protected methods00.00%
▷ Private methods99.18%
Functions146
▷ Named functions146100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/css/images/ui-icons_ffffff_256x240.png6.15KB4.17KB▼ 32.13%