90% password-bcrypt

Code Review | Password bcrypt

WordPress plugin Password bcrypt scored90%from 54 tests.

About plugin

  • Plugin page: password-bcrypt
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.5.2
  • WordPress version: 6.3.1
  • First release: May 12, 2016
  • Latest release: Jul 21, 2016
  • Number of updates: 5
  • Update frequency: every 18.6 days
  • Top authors: szepe.viktor (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

3,000+ active /14,783 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

Server-side resources used by Password bcrypt
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.23 ▼3.91
Dashboard /wp-admin3.31 ▲0.0044.21 ▼2.87
Posts /wp-admin/edit.php3.36 ▲0.0044.19 ▼12.02
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.35 ▲4.44
Media Library /wp-admin/upload.php3.23 ▲0.0036.55 ▲1.54

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Password bcrypt
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.50 ▼0.881.65 ▼0.3740.79 ▼2.50
Dashboard /wp-admin2,209 ▲185.90 ▲1.00101.74 ▼0.7839.52 ▼3.86
Posts /wp-admin/edit.php2,089 ▼32.01 ▼0.0540.18 ▼2.4838.06 ▼1.51
Add New Post /wp-admin/post-new.php1,514 ▼2017.52 ▼5.74652.79 ▼12.2656.63 ▼1.70
Media Library /wp-admin/upload.php1,388 ▼04.20 ▼0.0795.82 ▼0.9744.17 ▲2.46

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive 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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: password, hash, bcrypt

password-bcrypt/wp-password-bcrypt.php 92% from 13 tests

The entry point to "Password bcrypt" version 1.0.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("password-bcrypt.php" instead of "wp-password-bcrypt.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin55 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1203339
Markdown13016

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.47
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin