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.23MB] [CPU: ▲2.08ms] Passed 4 tests
Analyzing server-side resources used by Advanced Schedule Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.23 | 38.67 ▼0.26 |
Dashboard /wp-admin | 3.53 ▲0.23 | 47.11 ▼1.12 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 53.76 ▲6.74 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 110.99 ▲6.55 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 36.77 ▲3.13 |
Settings /wp-admin/admin.php?page=hasp-settings | 3.44 | 34.83 |
List /wp-admin/admin.php?page=hasp-list | 3.48 | 36.26 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Schedule Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲85 | 13.37 ▼1.19 | 1.71 ▼0.32 | 41.63 ▼3.53 |
Dashboard /wp-admin | 2,248 ▲63 | 5.12 ▲0.26 | 112.49 ▲3.87 | 37.59 ▼3.23 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.41 ▲0.39 | 39.68 ▲3.30 | 34.38 ▲2.46 |
Add New Post /wp-admin/post-new.php | 6,315 ▲4,773 | 25.90 ▲7.59 | 868.78 ▲258.02 | 37.23 ▼15.47 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.43 ▲0.25 | 95.67 ▼1.49 | 43.79 ▲3.25 |
Settings /wp-admin/admin.php?page=hasp-settings | 944 | 2.24 | 33.97 | 30.84 |
List /wp-admin/admin.php?page=hasp-list | 975 | 2.21 | 33.28 | 24.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_type() in wp-content/plugins/advanced-schedule-posts/include/meta_box_block.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/advanced-schedule-posts/advanced-schedule-posts.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_type() in wp-content/plugins/advanced-schedule-posts/include/meta_box.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/advanced-schedule-posts/admin/list.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/advanced-schedule-posts/admin/settings.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: post, schedule, admin
advanced-schedule-posts/advanced-schedule-posts.php Passed 13 tests
"Advanced Schedule Posts" version 2.1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
95 characters long description:
Allows you to set datetime of expiration and to set schedule which overwrites the another post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,352 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 234 | 295 | 2,003 |
PHP | 5 | 187 | 200 | 1,209 |
PO File | 1 | 36 | 37 | 88 |
CSS | 1 | 6 | 13 | 34 |
Markdown | 1 | 13 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 186.00 |
▷ Minimum class complexity | 186.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 5.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.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 | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin