90% remove-wrong-password-shake

Code Review | Remove Wrong Password Shake

WordPress plugin Remove Wrong Password Shake scored 90% from 54 tests.

About plugin

  • Plugin page: remove-wrong-pass...
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.4.2
  • WordPress version: 6.3.1
  • First release: Nov 11, 2012
  • Latest release: Nov 11, 2012
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: shardulpandey (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 943 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.49ms] Passed 4 tests

A check of server-side resources used by Remove Wrong Password Shake
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.19 ▼4.53
Dashboard /wp-admin3.31 ▲0.0145.01 ▼2.78
Posts /wp-admin/edit.php3.36 ▲0.0047.95 ▲2.98
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.15 ▼11.01
Media Library /wp-admin/upload.php3.23 ▲0.0035.63 ▲0.38

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Remove Wrong Password Shake
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.10 ▼1.251.69 ▼0.2739.97 ▲0.44
Dashboard /wp-admin2,203 ▲115.86 ▲0.93101.94 ▼7.8840.93 ▲0.55
Posts /wp-admin/edit.php2,086 ▼62.04 ▲0.0140.52 ▼0.8638.33 ▼0.75
Add New Post /wp-admin/post-new.php1,519 ▼023.29 ▼0.03633.50 ▲55.9154.88 ▼0.50
Media Library /wp-admin/upload.php1,388 ▲34.20 ▼0.0696.87 ▼4.7440.49 ▼2.64

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 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
3 plugin tags: login, admin, shake

remove-wrong-password-shake/Remove Shake.php 92% from 13 tests

"Remove Wrong Password Shake" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("remove-wrong-password-shake.php" instead of "Remove Shake.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected5 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1295

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected