Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼261.57ms] Passed 4 tests
An overview of server-side resources used by Automatic Post Publishing Scheduler
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.00 ▲0.28 | 30.20 ▲8.21 |
Dashboard /wp-admin | 3.23 ▲0.18 | 43.41 ▲2.31 |
Posts /wp-admin/edit.php | 3.32 ▲0.21 | 46.05 ▲2.43 |
Add New Post /wp-admin/post-new.php | 5.59 ▲0.16 | 88.48 ▼1,042.30 |
Media Library /wp-admin/upload.php | 3.17 ▲0.17 | 30.33 ▼8.72 |
WtWM Plugins /wp-admin/admin.php?page=wwm_plugins | 3.15 | 27.93 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 51 new files
Database: no new tables, 1 new option
New WordPress options |
---|
publish_scheduler_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Automatic Post Publishing Scheduler
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,724 ▲118 | 16.21 ▲0.70 | 8.81 ▲1.05 | 48.43 ▼1.46 |
Dashboard /wp-admin | 2,977 ▲127 | 6.86 ▲0.99 | 132.31 ▲0.90 | 139.65 ▲35.84 |
Posts /wp-admin/edit.php | 2,775 ▲69 | 2.76 ▲0.08 | 68.44 ▼0.71 | 120.57 ▲32.83 |
Add New Post /wp-admin/post-new.php | 2,090 ▲439 | 16.35 ▼1.12 | 406.61 ▲52.37 | 123.14 ▲16.22 |
Media Library /wp-admin/upload.php | 1,767 ▼8 | 5.18 ▲0.18 | 126.43 ▼24.27 | 135.60 ▲22.46 |
WtWM Plugins /wp-admin/admin.php?page=wwm_plugins | 1,114 | 2.52 | 50.21 | 59.82 |
Scheduler /wp-admin/PublishSchedule.php | 26 | 0.90 | 0.09 | 13.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 1 option
- publish_scheduler_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automatic-post-publishing-scheduler/automatic-post-publishing-scheduler.php:52
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=wwm_plugins
- > Network (severe)
https://www.coinbase.com/assets/button.js - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/PublishSchedule.php
- > Network (severe)
wp-admin/PublishSchedule.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (The admin menu item that this plugin creates and the links to the plugin settings/configuration.), #2 (Time slot configuration - simple!.), #3 (Configuration of allowed/disallowed days of the week.), #4 (Configuration of explicitly allowed/disallowed dates.), #5 (The datepicker implementation.), #6 (The 'Publish Now' link - available only to Admin users.), #7 (The "Quick Edit" interface. Admin users can override scheduled time/date here.)
automatic-post-publishing-scheduler/automatic-post-publishing-scheduler.php Passed 13 tests
The main PHP file in "Automatic Post Publishing Scheduler" ver. 2.1.6 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Replaces default publishing with queued publishing.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,075 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 232 | 716 |
JavaScript | 4 | 22 | 1 | 177 |
Markdown | 1 | 54 | 0 | 114 |
CSS | 3 | 10 | 5 | 68 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 161.00 |
▷ Minimum class complexity | 161.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 8.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 77.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 22.73% |
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 0% from 1 test
Image compression 0% from 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
34 PNG files occupy 0.80MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
css/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
css/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
screenshot-1.png | 87.10KB | 28.93KB | ▼ 66.78% |