99% redirect-wp-sign-up-for-ithemes-security

Code Review | Redirect WordPress Sign-up for iThemes Security

WordPress plugin Redirect WordPress Sign-up for iThemes Security scored 99% from 54 tests.

About plugin

  • Plugin page: redirect-wp-sign-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.9
  • WordPress version: 5.9.2
  • First release: Nov 30, 2017
  • Latest release: Nov 30, 2017
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: michaldanko (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 454 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼294.21ms] Passed 4 tests

A check of server-side resources used by Redirect WordPress Sign-up for iThemes Security
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0154.70 ▲2.96
Dashboard /wp-admin3.41 ▲0.0133.58 ▲0.42
Posts /wp-admin/edit.php3.64 ▲0.0137.47 ▲1.29
Add New Post /wp-admin/post-new.php6.88 ▼0.0994.90 ▼1,180.90
Media Library /wp-admin/upload.php3.30 ▲0.0027.20 ▲2.37

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Redirect WordPress Sign-up for iThemes Security
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,785 ▲4315.85 ▲0.136.76 ▲0.372.23 ▲0.18
Dashboard /wp-admin2,888 ▲276.10 ▼0.09112.58 ▼33.85155.08 ▼10.11
Posts /wp-admin/edit.php2,688 ▼03.24 ▲0.0161.44 ▼3.50144.71 ▲2.01
Add New Post /wp-admin/post-new.php1,779 ▲2721.73 ▲0.78489.60 ▲47.28165.11 ▲13.29
Media Library /wp-admin/upload.php1,695 ▼35.48 ▼0.06147.05 ▲7.87190.68 ▲6.63

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

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
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 smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: redirect, ithemes, wp sign-up, security

redirect-wp-sign-up-for-ithemes-security/redirect-wp-signup-for-itsec.php 85% from 13 tests

The main file in "Redirect WordPress Sign-up for iThemes Security" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("redirect-wp-sign-up-for-ithemes-security.php" instead of "redirect-wp-signup-for-itsec.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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
Everything looks great! No dangerous files found in this plugin13 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2103013

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code1.33
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin