Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.30MB] [CPU: ▼15.89ms] Passed 4 tests
Server-side resources used by WP Homepage Scheduler
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 35.77 ▼7.27 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.40 ▼5.98 |
Posts /wp-admin/edit.php | 3.30 ▼0.05 | 40.69 ▼4.80 |
Add New Post /wp-admin/post-new.php | 4.70 ▼1.19 | 47.61 ▼45.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.84 ▲0.19 |
WP Homepage Scheduler /wp-admin/options-general.php?page=wp_homepage_scheduler | 3.23 | 32.34 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 105 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
recovery_mode_email_last_sent |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Homepage Scheduler
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.17 ▼1.48 | 1.75 ▼0.43 | 45.15 ▲0.30 |
Dashboard /wp-admin | 2,210 ▲21 | 5.84 ▲0.90 | 106.41 ▼8.01 | 41.83 ▼2.39 |
Posts /wp-admin/edit.php | 1,167 ▼919 | 1.53 ▼0.46 | 7.63 ▼27.30 | 30.17 ▼4.77 |
Add New Post /wp-admin/post-new.php | 45 ▼1,490 | 0.44 ▼22.94 | 0.07 ▼650.55 | 9.74 ▼39.60 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.02 | 96.56 ▼2.24 | 85.78 ▲42.08 |
WP Homepage Scheduler /wp-admin/options-general.php?page=wp_homepage_scheduler | 848 | 2.63 | 48.41 | 29.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp_homepage_scheduler
- > Notice in wp-content/plugins/wp-homepage-scheduler/wp-schedule-homepage.php+115
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=wp_homepage_scheduler
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-controlgroup,j&load%5Bchunk_1%5D=query-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog&ver=6.3.1 1:28609 "jQuery.Deferred exception: Unexpected end of JSON input" "SyntaxError: Unexpected end of JSON input\n at JSON.parse (\u003Canonymous>)\n at loadEvents (/wp-content/plugins/wp-homepage-scheduler/assets/js/custom.js?ver=6.3.1:12:21)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wp-homepage-scheduler/assets/js/custom.js?ver=6.3.1:49:17)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-controlgroup,j&load%5Bchunk_1%5D=query-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-controlgroup,j&load%5Bchunk_1%5D=query-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=wp_homepage_scheduler
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-controlgroup,j&load%5Bchunk_1%5D=query-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog&ver=6.3.1 1:28721 Uncaught SyntaxError: Unexpected end of JSON input
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-homepage-scheduler ===
) - Screenshots: Screenshot #1 (You can add, edit and delete pages in your schedule) image not found
wp-homepage-scheduler/wp-schedule-homepage.php 92% from 13 tests
This is the main PHP file of "WP Homepage Scheduler" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-homepage-scheduler.php" instead of "wp-schedule-homepage.php")
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
Everything looks great! No dangerous files found in this plugin17,296 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 58 | 4,163 | 3,184 | 14,030 |
CSS | 11 | 355 | 310 | 3,129 |
PHP | 1 | 53 | 41 | 137 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
31 PNG files occupy 0.22MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/lib/cupertino/images/ui-icons_3d80b3_256x240.png | 4.49KB | 4.18KB | ▼ 6.89% |
assets/js/lib/cupertino/images/ui-icons_ffffff_256x240.png | 6.32KB | 4.18KB | ▼ 33.80% |
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
assets/css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
assets/js/lib/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png | 0.36KB | 0.14KB | ▼ 60.65% |