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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼1.33ms] Passed 4 tests
Server-side resources used by SchedulePress – Best Editorial Calendar, Missed Schedule & Auto Social Share
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 42.91 ▲1.93 |
Dashboard /wp-admin | 3.51 ▲0.17 | 58.22 ▼8.22 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.60 ▲2.75 |
Add New Post /wp-admin/post-new.php | 7.42 ▲1.53 | 96.47 ▼1.79 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 45.14 ▲12.79 |
Settings /wp-admin/admin.php?page=schedulepress | 3.43 | 42.30 |
Calendar /wp-admin/edit.php?page=schedulepress-post | 3.37 | 51.31 |
Calendar /wp-admin/admin.php?page=schedulepress-calendar | 3.43 | 39.02 |
Server storage [IO: ▲8.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 455 new files
Database: no new tables, 10 new options
New WordPress options |
---|
wpins_wp-scheduled-posts_force_tracked |
theysaidso_admin_options |
widget_recent-comments |
wpsp_version |
wpsp_data_migration_allow_categories |
wpsp_settings_v5 |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by SchedulePress – Best Editorial Calendar, Missed Schedule & Auto Social Share
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,042 ▲280 | 13.83 ▼0.43 | 10.59 ▲8.96 | 43.93 ▲0.54 |
Dashboard /wp-admin | 2,270 ▲93 | 5.61 ▼0.02 | 94.45 ▼6.08 | 94.23 ▲51.83 |
Posts /wp-admin/edit.php | 2,205 ▲105 | 2.59 ▲0.56 | 55.38 ▲13.28 | 60.95 ▲23.48 |
Add New Post /wp-admin/post-new.php | 1,678 ▲152 | 24.79 ▲1.32 | 733.50 ▲93.92 | 41.73 ▼17.66 |
Media Library /wp-admin/upload.php | 1,454 ▲57 | 4.22 ▲0.05 | 115.84 ▲13.30 | 45.94 ▲4.78 |
Settings /wp-admin/admin.php?page=schedulepress | 4,693 | 39.62 | 960.80 | 93.27 |
Calendar /wp-admin/edit.php?page=schedulepress-post | 1,654 | 11.80 | 268.86 | 67.70 |
Calendar /wp-admin/admin.php?page=schedulepress-calendar | 4,878 | 38.83 | 843.21 | 51.70 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 10 options
- widget_theysaidso_widget
- can_compress_scripts
- wpsp_version
- wpins_wp-scheduled-posts_force_tracked
- widget_recent-comments
- theysaidso_admin_options
- wpsp_settings_v5
- db_upgraded
- wpsp_data_migration_allow_categories
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-scheduled-posts/vendor/wpdevelopers/pinterest-api-php/demo/index.php
- > /wp-content/plugins/wp-scheduled-posts/includes/Admin/Notices/upgrade.php
- > /wp-content/plugins/wp-scheduled-posts/vendor/wpdevelopers/pinterest-api-php/demo/boot.php
- > /wp-content/plugins/wp-scheduled-posts/vendor/wpdevelopers/pinterest-api-php/demo/callback.php
- 120× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/wp-scheduled-posts/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-scheduled-posts/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\Http\\RequestBodyInterface' not found in wp-content/plugins/wp-scheduled-posts/vendor/facebook/graph-sdk/src/Facebook/Http/RequestBodyMultipart.php:37
- > PHP Fatal error
Uncaught Error: Class 'DirkGroenen\\Pinterest\\Models\\Model' not found in wp-content/plugins/wp-scheduled-posts/vendor/wpdevelopers/pinterest-api-php/src/Pinterest/Models/User.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UploadedFileInterface' not found in wp-content/plugins/wp-scheduled-posts/vendor/guzzlehttp/psr7/src/UploadedFile.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/wp-scheduled-posts/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-scheduled-posts/vendor/guzzlehttp/psr7/src/BufferStream.php:15
- > PHP Warning
require(../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wp-scheduled-posts/vendor/wpdevelopers/pinterest-api-php/demo/boot.php on line 6
- > PHP Fatal error
Trait 'WPSP\\Traits\\SocialHelper' not found in wp-content/plugins/wp-scheduled-posts/includes/Social/Twitter.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'DirkGroenen\\Pinterest\\Models\\Model' not found in wp-content/plugins/wp-scheduled-posts/vendor/wpdevelopers/pinterest-api-php/src/Pinterest/Models/Pin.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 44 tag instead of maximum 10
- Screenshots: A description for screenshot #2 is required in wp-scheduled-posts/assets to your readme.txt
wp-scheduled-posts/wp-scheduled-posts.php 92% from 13 tests
The principal PHP file in "SchedulePress – Best Editorial Calendar, Missed Schedule & Auto Social Share" v. 5.0.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 250 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin70,476 lines of code in 372 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 292 | 4,810 | 15,114 | 43,339 |
JavaScript | 29 | 1,701 | 1,877 | 19,941 |
Markdown | 11 | 712 | 0 | 2,802 |
CSS | 17 | 288 | 228 | 2,634 |
JSON | 3 | 0 | 0 | 997 |
HTML | 1 | 2 | 2 | 510 |
SVG | 13 | 0 | 0 | 181 |
XML | 2 | 0 | 0 | 34 |
YAML | 2 | 1 | 0 | 19 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 20 | |
Traits | 5 | |
Classes | 220 | |
▷ Abstract classes | 3 | 1.36% |
▷ Concrete classes | 217 | 98.64% |
▷ Final classes | 25 | 11.52% |
Methods | 1,804 | |
▷ Static methods | 245 | 13.58% |
▷ Public methods | 1,561 | 86.53% |
▷ Protected methods | 39 | 2.16% |
▷ Private methods | 204 | 11.31% |
Functions | 198 | |
▷ Named functions | 81 | 40.91% |
▷ Anonymous functions | 117 | 59.09% |
Constants | 252 | |
▷ Global constants | 106 | 42.06% |
▷ Class constants | 146 | 57.94% |
▷ Public constants | 143 | 97.95% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
60 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/author-3.png | 3.46KB | 2.76KB | ▼ 20.35% |
assets/images/icon-facebook.png | 0.94KB | 0.97KB | 0.00% |
assets/images/icon-more.png | 0.19KB | 0.23KB | 0.00% |
assets/images/documentation-white.png | 0.31KB | 0.44KB | 0.00% |
assets/images/icon-linkedin-small-white.png | 0.32KB | 0.35KB | 0.00% |