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: ▼289.39ms] Passed 4 tests
Server-side resources used by WP Modern Password Hashing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 58.75 ▼43.62 |
Dashboard /wp-admin | 3.41 ▲0.01 | 41.15 ▲4.35 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 53.01 ▲12.68 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 166.05 ▼1,123.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 29.94 ▲5.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Modern Password Hashing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲29 | 15.80 ▲0.37 | 6.41 ▲0.81 | 2.12 ▼0.34 |
Dashboard /wp-admin | 2,895 ▲42 | 6.13 ▲0.05 | 120.12 ▼4.29 | 160.36 ▼1.07 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.25 ▲0.01 | 72.28 ▲11.28 | 176.80 ▲37.03 |
Add New Post /wp-admin/post-new.php | 1,690 ▲29 | 20.87 ▲4.91 | 464.88 ▲38.38 | 176.35 ▼8.53 |
Media Library /wp-admin/upload.php | 1,692 ▼3 | 5.55 ▼0.05 | 130.77 ▼19.93 | 246.29 ▲41.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: argon2, hash, bcrypt, phpass, authentication...
wp-modern-password-hashing/wp-modern-password-hashing.php Passed 13 tests
The main PHP script in "WP Modern Password Hashing" version 1.0.1 is automatically included on every request by WordPress
119 characters long description:
Forces user password hashes as generated by WordPress to be more modern/secure, Inspired by 'Password bcrypt' by Roots.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin105 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 126 | 105 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin