Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.06ms] Passed 4 tests
This is a short check of server-side resources used by Reset Post Password
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.16 ▼3.41 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.83 ▼3.02 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 44.91 ▼2.67 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 91.42 ▲0.47 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.25 ▼3.14 |
Reset protected posts passwords /wp-admin/admin-post.php?action=wp360-reset-passwords&_wpnonce=357eef71e6 | 3.04 | 21.42 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Reset Post Password: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.22 ▼1.34 | 4.92 ▲2.98 | 39.79 ▼3.68 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼0.03 | 97.21 ▼19.55 | 38.64 ▼9.20 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.16 ▲0.13 | 39.57 ▲3.92 | 34.95 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,545 ▲10 | 18.11 ▼5.07 | 598.11 ▼91.40 | 49.74 ▼12.16 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▼0.07 | 93.25 ▼7.90 | 41.03 ▼4.30 |
Reset protected posts passwords /wp-admin/admin-post.php?action=wp360-reset-passwords&_wpnonce=357eef71e6 | 28 | 0.44 | 0.11 | 3.77 |
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
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp360\\Plugin\\plugin_basename() in wp-content/plugins/reset-post-password/reset-post-password.php:34
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin-post.php?action=wp360-reset-passwords&_wpnonce=357eef71e6
- > Network (severe)
wp-admin/admin-post.php?action=wp360-reset-passwords&_wpnonce=357eef71e6 - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== reset-post-password ===
)
reset-post-password/reset-post-password.php Passed 13 tests
This is the main PHP file of "Reset Post Password" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
37 characters long description:
Reset post automatically after X days
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin191 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 54 | 83 | 138 |
PO File | 1 | 10 | 10 | 49 |
JavaScript | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin