89% remove-suggested-passwords

Code Review | Remove Suggested Passwords

WordPress plugin Remove Suggested Passwords scored89%from 54 tests.

About plugin

  • Plugin page: remove-suggested-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-5.6
  • WordPress version: 6.3.1
  • First release: Feb 23, 2021
  • Latest release: Feb 23, 2021
  • Number of updates: 5
  • Update frequency: every 3.0 days
  • Top authors: kosvrouvas (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /396 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

Server-side resources used by Remove Suggested Passwords
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0039.85 ▲1.09
Dashboard /wp-admin3.34 ▼0.0449.14 ▼12.35
Posts /wp-admin/edit.php3.39 ▲0.0046.17 ▼2.78
Add New Post /wp-admin/post-new.php5.92 ▲0.0080.84 ▼25.12
Media Library /wp-admin/upload.php3.26 ▲0.0035.02 ▼0.12

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Remove Suggested Passwords
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.27 ▼0.951.69 ▼0.0845.75 ▲4.76
Dashboard /wp-admin2,206 ▲155.88 ▲0.99110.28 ▲2.9043.53 ▲1.93
Posts /wp-admin/edit.php2,092 ▲32.00 ▲0.0034.75 ▲0.1430.92 ▼9.84
Add New Post /wp-admin/post-new.php1,533 ▲523.30 ▲0.08679.28 ▲14.3860.39 ▲8.00
Media Library /wp-admin/upload.php1,391 ▲64.18 ▼0.0196.75 ▼20.3842.12 ▼4.52

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 93% 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
2 plugin tags: passwords, suggested passwords

remove-suggested-passwords/remove-suggested-passwords.php 85% from 13 tests

The entry point to "Remove Suggested Passwords" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Description: The plugin description must be longer than 10 characters (currently 0 characters long)
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin21 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP241914
Markdown1607

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code1.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

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