83% registration-integration-for-mirespond

Code Review | Registration Integration for miRespond

WordPress plugin Registration Integration for miRespond scored 83% from 54 tests.

About plugin

  • Plugin page: registration-inte...
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.9.1
  • WordPress version: 5.8.1
  • First release: Sep 21, 2017
  • Latest release: Jan 11, 2018
  • Number of updates: 8
  • Update frequency: every 14.1 days
  • Top authors: miware (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 483 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.91MB] [CPU: ▼198.12ms] Passed 4 tests

A check of server-side resources used by Registration Integration for miRespond
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0132.39 ▼3.28
Dashboard /wp-admin2.74 ▼0.3127.42 ▼18.02
Posts /wp-admin/edit.php2.74 ▼0.3621.47 ▼23.00
Add New Post /wp-admin/post-new.php2.74 ▼2.6924.83 ▼744.00
Media Library /wp-admin/upload.php2.74 ▼0.2621.84 ▼7.44
miRespond Integration /wp-admin/options-general.php?page=registration-integration-for-mirespond/mirespond-registration-integration.php2.7420.78

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: 1 new table, 1 new option
New tables
wp_arespond_registrations
New WordPress options
arp_installed

Browser metrics Passed 4 tests

Registration Integration for miRespond: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,708 ▲11215.98 ▼0.0511.19 ▲1.0046.04 ▼2.91
Dashboard /wp-admin2,975 ▲445.87 ▼0.10132.52 ▼16.20110.91 ▼2.43
Posts /wp-admin/edit.php2,744 ▲52.72 ▲0.0065.77 ▼0.7292.21 ▲4.80
Add New Post /wp-admin/post-new.php1,875 ▲37719.20 ▲0.40392.71 ▲16.27100.24 ▼10.67
Media Library /wp-admin/upload.php1,812 ▲55.09 ▲0.05150.26 ▼21.56117.99 ▼6.44
miRespond Integration /wp-admin/options-general.php?page=registration-integration-for-mirespond/mirespond-registration-integration.php1,3022.0962.2390.15

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
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 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=registration-integration-for-mirespond/mirespond-registration-integration.php
    • > 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.

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
Please take inspiration from this readme.txt

registration-integration-for-mirespond/mirespond-registration-integration.php 85% from 13 tests

The main PHP script in "Registration Integration for miRespond" version 1.2.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("registration-integration-for-mirespond.php" instead of "mirespond-registration-integration.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 355 characters long)

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
Good job! No executable or dangerous file extensions detected305 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13966305

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.53
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin