Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.81MB] [CPU: ▼54.57ms] Passed 4 tests
Analyzing server-side resources used by Postpone Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 5.70 ▼34.57 |
Dashboard /wp-admin | 2.19 ▼1.11 | 7.70 ▼40.11 |
Posts /wp-admin/edit.php | 2.19 ▼1.16 | 9.80 ▼40.19 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.69 | 6.59 ▼103.42 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 7.51 ▼28.05 |
Postpone Posts /wp-admin/options-general.php?page=postpone_posts_options | 2.19 | 6.93 |
Postpone Posts /wp-admin/tools.php?page=postpone_posts_action | 2.19 | 7.38 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
postpone_posts_days |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Postpone Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.20 ▼1.20 | 1.88 ▲0.09 | 42.67 ▼7.77 |
Dashboard /wp-admin | 2,209 ▲24 | 5.79 ▲0.86 | 107.80 ▼5.09 | 38.97 ▼6.68 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.01 ▼0.02 | 36.86 ▼4.16 | 33.79 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 17.64 ▼5.50 | 668.80 ▲80.59 | 63.70 ▲6.48 |
Media Library /wp-admin/upload.php | 1,392 ▲13 | 4.23 ▲0.03 | 98.04 ▼5.56 | 41.60 ▼1.87 |
Postpone Posts /wp-admin/options-general.php?page=postpone_posts_options | 818 | 2.17 | 24.81 | 26.56 |
Postpone Posts /wp-admin/tools.php?page=postpone_posts_action | 817 | 2.05 | 22.94 | 30.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PostponePosts::loadTextdomain() should not be called statically
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=postpone_posts_action
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PostponePosts::loadTextdomain() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=postpone_posts_action
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: schedule, post
postpone-posts/postpone-posts.php Passed 13 tests
Analyzing the main PHP file in "Postpone Posts" version 1.0.0
68 characters long description:
Postpones all future (planned) posts by a selectable number of days.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin572 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 199 | 161 | 372 |
PO File | 2 | 58 | 68 | 200 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 20 | 95.24% |
▷ Public methods | 13 | 61.90% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 38.10% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 13 | 100.00% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin