89% wpwh-wp-reset-webhook-integration

Code Review | WPWH - WP Reset Webhook Integration

WordPress plugin WPWH - WP Reset Webhook Integration scored89%from 54 tests.

About plugin

  • Plugin page: wpwh-wp-reset-web...
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.7
  • WordPress version: 6.3.1
  • First release: Mar 20, 2019
  • Latest release: May 2, 2021
  • Number of updates: 12
  • Update frequency: every 64.5 days
  • Top authors: ironikus (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active /6,442 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 gracefully, with no errors

Server metrics [RAM: ▲0.19MB] [CPU: ▼7.15ms] Passed 4 tests

This is a short check of server-side resources used by WPWH - WP Reset Webhook Integration
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1942.32 ▲1.24
Dashboard /wp-admin3.49 ▲0.1950.46 ▼6.27
Posts /wp-admin/edit.php3.61 ▲0.2552.89 ▼0.52
Add New Post /wp-admin/post-new.php6.07 ▲0.1986.06 ▼22.41
Media Library /wp-admin/upload.php3.42 ▲0.1940.21 ▲0.59

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

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

Browser metrics Passed 4 tests

A check of browser resources used by WPWH - WP Reset Webhook Integration
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7313.24 ▼1.401.84 ▲0.1343.95 ▲1.15
Dashboard /wp-admin2,225 ▲334.91 ▲0.01103.93 ▼9.7941.88 ▼2.70
Posts /wp-admin/edit.php2,108 ▲192.01 ▲0.0137.28 ▲0.2634.52 ▲0.83
Add New Post /wp-admin/post-new.php1,533 ▼317.48 ▼5.83675.54 ▼24.0858.70 ▲3.78
Media Library /wp-admin/upload.php1,404 ▲164.23 ▼0.07116.68 ▲2.8147.79 ▼1.57

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes: The official readme.txt might help

wpwh-wp-reset-webhook-integration/wpwhpro-wp-reset-webhook-integration.php 92% from 13 tests

The primary PHP file in "WPWH - WP Reset Webhook Integration" version 1.1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wpwh-wp-reset-webhook-integration.php" instead of "wpwhpro-wp-reset-webhook-integration.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin772 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP121869772

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.23
Average class complexity60.00
▷ Minimum class complexity60.00
▷ Maximum class complexity60.00
Average method complexity3.36
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods25
▷ Static methods00.00%
▷ Public methods25100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.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
PNG images were not found in this plugin