Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼141.92ms] Passed 4 tests
An overview of server-side resources used by Post Status Scheduler
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.05 ▲0.22 | 36.80 ▲1.94 |
Dashboard /wp-admin | 3.30 ▲0.24 | 43.79 ▲2.86 |
Posts /wp-admin/edit.php | 3.41 ▲0.29 | 43.51 ▼9.17 |
Add New Post /wp-admin/post-new.php | 5.65 ▲0.22 | 89.44 ▼563.32 |
Media Library /wp-admin/upload.php | 3.24 ▲0.24 | 36.38 ▲3.16 |
Post Status Scheduler /wp-admin/options-general.php?page=post-status-scheduler | 3.19 | 28.45 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Post Status Scheduler
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲71 | 15.88 ▲0.28 | 8.80 ▼0.10 | 47.29 ▼0.71 |
Dashboard /wp-admin | 2,978 ▲41 | 5.88 ▼0.07 | 146.22 ▲3.30 | 118.66 ▼2.32 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▲0.00 | 64.53 ▲0.65 | 93.23 ▲8.70 |
Add New Post /wp-admin/post-new.php | 1,875 ▲375 | 19.20 ▲0.65 | 365.03 ▼8.42 | 112.88 ▲1.58 |
Media Library /wp-admin/upload.php | 1,815 ▲5 | 5.04 ▲0.06 | 147.67 ▼12.69 | 115.29 ▼5.45 |
Post Status Scheduler /wp-admin/options-general.php?page=post-status-scheduler | 1,211 | 2.10 | 60.32 | 78.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% 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=post-status-scheduler
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=post-status-scheduler
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: poststatus, tags, scheduling, change, schedule...
post-status-scheduler/post-status-scheduler.php Passed 13 tests
Analyzing the main PHP file in "Post Status Scheduler" version 1.3.1
78 characters long description:
Change status, category or postmeta of any post type at a scheduled timestamp.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,176 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 230 | 195 | 1,157 |
PHP | 7 | 643 | 472 | 974 |
CSS | 2 | 16 | 15 | 45 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 37.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 146.00 |
Average method complexity | 5.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 17 | 34.69% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
No PNG images were found in this plugin