Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.10MB] [CPU: ▼7.74ms] Passed 4 tests
An overview of server-side resources used by Publish to Schedule
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.55 ▲1.93 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.18 ▼1.10 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.71 ▼4.96 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 77.92 ▼21.18 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.49 ▼3.71 |
Publish to Schedule /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php | 3.19 | 31.77 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
publish-to-schedule |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Publish to Schedule
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.17 ▼1.20 | 4.54 ▲2.84 | 43.49 ▲2.93 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▲0.96 | 104.78 ▲0.66 | 36.63 ▼7.85 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▲0.02 | 40.15 ▼1.29 | 35.76 ▼3.90 |
Add New Post /wp-admin/post-new.php | 6,374 ▲4,860 | 19.90 ▲2.26 | 998.44 ▲397.79 | 39.92 ▼11.96 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.26 ▲0.02 | 98.48 ▲2.71 | 41.29 ▼1.97 |
Publish to Schedule /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php | 1,148 | 2.09 | 49.47 | 33.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- publish-to-schedule
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php
- > Notice in wp-content/plugins/publish-to-schedule/publish-to-schedule-admin.php+213
Undefined index: pts_0
- > GET request to /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php
- > Notice in wp-content/plugins/publish-to-schedule/publish-to-schedule-admin.php+213
Undefined index: pts_1
- > GET request to /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php
- > Notice in wp-content/plugins/publish-to-schedule/publish-to-schedule-admin.php+213
Undefined index: pts_2
- > GET request to /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php
- > Notice in wp-content/plugins/publish-to-schedule/publish-to-schedule-admin.php+213
Undefined index: pts_3
- > GET request to /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php
- > Notice in wp-content/plugins/publish-to-schedule/publish-to-schedule-admin.php+213
Undefined index: pts_4
- > GET request to /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php
- > Notice in wp-content/plugins/publish-to-schedule/publish-to-schedule-admin.php+213
Undefined index: pts_5
- > GET request to /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php
- > Notice in wp-content/plugins/publish-to-schedule/publish-to-schedule-admin.php+213
Undefined index: pts_6
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=publish-to-schedule/publish-to-schedule-admin.php
- > Notice in wp-content/plugins/publish-to-schedule/pts-analytics.php+25
Undefined index: pts_statistics_total_work
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_textdomain() in wp-content/plugins/publish-to-schedule/publish-to-schedule.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/publish-to-schedule/pts-metabox.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/publish-to-schedule/publish-to-schedule-admin.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Configuration to choose which day of week post can be scheduled.), #2 (Set the period of day in which post may be scheduled. Simple like that.), #3 (This is what you'll see while write your post: the date that post will be automatically schedule, and why! To see less information change the related option in the plugin configuration.)
publish-to-schedule/publish-to-schedule.php Passed 13 tests
The main PHP file in "Publish to Schedule" ver. 4.5.5 adds more information about the plugin and also serves as the entry point for this plugin
90 characters long description:
Just write! Let this plugins AUTO-schedule all posts for you! Configure once, use forever!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,255 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 452 | 211 | 742 |
PO File | 2 | 171 | 188 | 469 |
Bourne Shell | 2 | 22 | 25 | 31 |
XML | 1 | 0 | 0 | 9 |
Markdown | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.41MB with 0.26MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 134.74KB | 51.39KB | ▼ 61.86% |
assets/banner-772x250.png | 286.73KB | 99.20KB | ▼ 65.40% |