89% 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 scored89%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: 6.3.1
  • 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 /598 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

A check of server-side resources used by Redirect WordPress Sign-up for iThemes Security
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0030.56 ▼5.51
Dashboard /wp-admin3.31 ▼0.0441.41 ▼15.05
Posts /wp-admin/edit.php3.36 ▲0.0047.36 ▲0.69
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.27 ▼10.11
Media Library /wp-admin/upload.php3.23 ▲0.0029.86 ▼1.91

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Redirect WordPress Sign-up for iThemes Security
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.18 ▼1.214.19 ▲2.5637.38 ▼3.46
Dashboard /wp-admin2,206 ▲215.86 ▼0.16110.24 ▲11.6543.69 ▼0.41
Posts /wp-admin/edit.php2,092 ▲32.01 ▼0.0439.96 ▲3.0634.06 ▼0.84
Add New Post /wp-admin/post-new.php1,514 ▼517.79 ▼5.69695.58 ▲19.5357.80 ▲8.44
Media Library /wp-admin/upload.php1,391 ▲64.25 ▼0.0397.27 ▼1.7542.01 ▼1.29

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: wp sign-up, security, ithemes, redirect

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

"Redirect WordPress Sign-up for iThemes Security" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file 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 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected13 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin