89% engage-buddy

Code Review | Engage Buddy for Wordpress

WordPress plugin Engage Buddy for Wordpress scored89%from 54 tests.

About plugin

  • Plugin page: engage-buddy
  • Plugin version: 20180112...
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.7
  • WordPress version: 6.3.1
  • First release: Jan 21, 2018
  • Latest release: Jan 21, 2018
  • Number of updates: 5
  • Update frequency: every 1.0 days
  • Top authors: sureshdsk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /678 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Engage Buddy for Wordpress
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.70 ▼3.82
Dashboard /wp-admin3.31 ▼0.0450.61 ▼11.99
Posts /wp-admin/edit.php3.36 ▲0.0051.41 ▼0.19
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.95 ▼6.17
Media Library /wp-admin/upload.php3.23 ▲0.0037.44 ▼0.84

Server storage [IO: ▲0.03MB] [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: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Engage Buddy for Wordpress
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.45 ▼0.662.72 ▲0.6642.95 ▲0.82
Dashboard /wp-admin2,206 ▲245.91 ▲1.04106.34 ▼3.6343.54 ▼2.19
Posts /wp-admin/edit.php2,086 ▼31.97 ▼0.0739.73 ▼0.1442.02 ▲2.50
Add New Post /wp-admin/post-new.php1,514 ▼1517.64 ▼5.61647.62 ▲2.5057.09 ▲0.33
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.06109.59 ▼11.2845.80 ▲0.32

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Requires php: The plugin version is formatted incorrectly
  • Screenshots: Add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png)
The official readme.txt might help

engage-buddy/buddy.php 85% from 13 tests

This is the main PHP file of "Engage Buddy for Wordpress" version 20180112..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "20180112...")
  • Main file name: The principal plugin file should be the same as the plugin slug ("engage-buddy.php" instead of "buddy.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin125 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript21235117
PHP14108

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin