Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.69ms] Passed 4 tests
This is a short check of server-side resources used by Multiple Post Passwords
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 42.10 ▲1.86 |
Dashboard /wp-admin | 3.42 ▲0.11 | 49.32 ▲1.54 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 45.39 ▼0.85 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.17 ▼13.31 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 41.15 ▲3.35 |
Multiple Post Passwords /wp-admin/options-general.php?page=multiple-post-passwords-settings | 3.29 | 32.20 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Multiple Post Passwords
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.74 ▲0.34 | 1.77 ▲0.08 | 43.14 ▲2.33 |
Dashboard /wp-admin | 2,210 ▲19 | 5.04 ▼0.89 | 109.05 ▲3.28 | 43.04 ▲0.67 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 1.99 ▼0.03 | 34.56 ▼3.74 | 33.68 ▲1.31 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.02 ▼0.02 | 666.88 ▼34.05 | 61.72 ▼4.23 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.19 ▼0.03 | 108.68 ▼14.01 | 46.65 ▲4.50 |
Multiple Post Passwords /wp-admin/options-general.php?page=multiple-post-passwords-settings | 837 | 2.04 | 24.64 | 26.21 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=multiple-post-passwords-settings
- > Notice in wp-content/plugins/multiple-post-passwords/admin/settings-page.php+214
Undefined index: placeholder
- > GET request to /wp-admin/options-general.php?page=multiple-post-passwords-settings
- > Notice in wp-content/plugins/multiple-post-passwords/admin/settings-page.php+206
Undefined index: min
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: protected, page, multiple, post, password...
multiple-post-passwords/multiple-post-passwords.php 92% from 13 tests
"Multiple Post Passwords" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages/")
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
There were no executable files found in this plugin485 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 207 | 253 | 485 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.29 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 10 | 30.30% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin