Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲3.65MB] [CPU: ▲15.40ms] 50% from 4 tests
Server-side resources used by Task Scheduler
The following require your attention
- RAM: You should keep total memory usage under 10MB (currently 12.67MB on /wp-admin/admin.php?page=ts_add_new)
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,080.49ms on /wp-admin/admin.php?page=ts_task_list)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.14 ▲2.68 | 54.94 ▲13.52 |
Dashboard /wp-admin | 7.32 ▲4.02 | 62.53 ▲11.63 |
Posts /wp-admin/edit.php | 7.37 ▲4.01 | 60.32 ▲11.61 |
Add New Post /wp-admin/post-new.php | 9.84 ▲3.96 | 145.15 ▲43.48 |
Media Library /wp-admin/upload.php | 7.18 ▲3.95 | 58.65 ▲24.82 |
Tests /wp-admin/admin.php?page=ts_tests | 11.13 | 71.26 |
Tasks /wp-admin/admin.php?page=ts_task_list | 11.19 | 1,080.49 |
Settings /wp-admin/admin.php?page=ts_settings | 11.07 | 70.18 |
Add New Task /wp-admin/admin.php?page=ts_add_new | 12.67 | 86.07 |
Log /wp-admin/edit.php?post_type=ts_log | 7.61 | 51.68 |
Server storage [IO: ▲2.93MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 537 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Task Scheduler
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.59 ▼0.79 | 1.73 ▼0.08 | 42.09 ▼3.55 |
Dashboard /wp-admin | 2,229 ▲41 | 5.83 ▼0.05 | 105.18 ▼10.97 | 80.48 ▲35.28 |
Posts /wp-admin/edit.php | 2,124 ▲56 | 1.98 ▼0.02 | 34.16 ▼2.14 | 30.55 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 21.47 ▲3.93 | 803.65 ▲80.92 | 51.58 ▼5.74 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.23 ▲0.04 | 97.39 ▼3.87 | 76.27 ▲31.33 |
Tests /wp-admin/admin.php?page=ts_tests | 1,052 | 2.28 | 42.68 | 26.82 |
Tasks /wp-admin/admin.php?page=ts_task_list | 1,141 | 2.04 | 32.06 | 29.08 |
Settings /wp-admin/admin.php?page=ts_settings | 1,107 | 2.25 | 35.71 | 37.22 |
Add New Task /wp-admin/admin.php?page=ts_add_new | 1,144 | 2.95 | 49.71 | 31.77 |
Log /wp-admin/edit.php?post_type=ts_log | 1,115 | 1.95 | 30.94 | 27.43 |
Uninstaller [IO: ▲2.93MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the followingThe uninstall procedure has failed, leaving 7 options in the database
- This plugin did not uninstall without warnings or errors
- > Compile error in wp-content/plugins/task-scheduler/task-scheduler.php+16
Cannot declare class TaskScheduler_Registry_Base, because the name is already in use
- Uninstaller has failed for this plugin, leaving 537 files (2.93MB) in the plugin directory
- (new file) LICENSE.txt
- (new file) asset/css/admin_wizard.css
- (new file) asset/css/ts_task_list.css
- (new file) asset/js/plugin-tests.js
- (new file) asset/image/screen_icon_32x32.png
- (new file) asset/css/wp53.css
- (new file) asset/css/admin_settings.css
- (new file) asset/css/meta_box.css
- (new file) asset/css/ts_tests.css
- (new file) asset/image/menu_icon_16x16.png
- ...
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 392× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPageFramework_PageMetaBox_Controller' not found in wp-content/plugins/task-scheduler/include/library/apf/factory/page_meta_box/AdminPageFramework_PageMetaBox.php:7
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPageFramework_Model__FormSubmission__Validator__ContactForm' not found in wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__ContactFormConfirm.php:7
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPageFramework_FieldType' not found in wp-content/plugins/task-scheduler/include/library/apf/factory/_common/form/field_type/select/AdminPageFramework_FieldType_select.php:7
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/_view/AdminPageFramework_View__PageMetaboxEnabler.php:7
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPage_Tab_Base' not found in wp-content/plugins/task-scheduler/include/class/admin/page/wizard/tab/TaskScheduler_AdminPage_Wizard__Tab__AddNewTask.php:20
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPageFramework_PostType' not found in wp-content/plugins/task-scheduler/include/class/post_type/log/TaskScheduler_PostType_Log_Base.php:18
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPageFramework_FieldType' not found in wp-content/plugins/task-scheduler/include/library/apf/custom-field-types/date-time-custom-field-types/DateTimeRangeCustomFieldType.php:48
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPageFramework_WPUtility_URL' not found in wp-content/plugins/task-scheduler/include/library/apf/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility_HTML.php:7
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPage_RootBase' not found in wp-content/plugins/task-scheduler/include/class/admin/page/_abstract/TaskScheduler_AdminPage_Page_Base.php:16
- > PHP Fatal error
Uncaught Error: Class 'TaskScheduler_AdminPageFramework_Input_Base' not found in wp-content/plugins/task-scheduler/include/library/apf/factory/_common/form/input/AdminPageFramework_Input_checkbox.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
task-scheduler/task-scheduler.php Passed 13 tests
The main PHP script in "Task Scheduler" version 1.6.3 is automatically included on every request by WordPress
58 characters long description:
Provides an enhanced task management system for WordPress.
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
There were no executable files found in this plugin38,253 lines of code in 482 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 421 | 3,339 | 8,497 | 24,941 |
JavaScript | 29 | 874 | 3,030 | 9,561 |
CSS | 30 | 249 | 224 | 2,698 |
PO File | 1 | 429 | 618 | 992 |
Markdown | 1 | 25 | 0 | 61 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 421 | |
▷ Abstract classes | 127 | 30.17% |
▷ Concrete classes | 294 | 69.83% |
▷ Final classes | 31 | 10.54% |
Methods | 2,346 | |
▷ Static methods | 375 | 15.98% |
▷ Public methods | 1,325 | 56.48% |
▷ Protected methods | 395 | 16.84% |
▷ Private methods | 626 | 26.68% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 34 | |
▷ Global constants | 5 | 14.71% |
▷ Class constants | 29 | 85.29% |
▷ Public constants | 29 | 100.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
18 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/library/apf/custom-field-types/date-time-custom-field-types/css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
include/library/apf/custom-field-types/date-time-custom-field-types/css/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
include/library/apf/custom-field-types/date-time-custom-field-types/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
asset/image/menu_icon_16x16.png | 0.54KB | 0.52KB | ▼ 4.67% |
include/library/apf/custom-field-types/path-custom-field-type/asset/jstree/themes/default/32px.png | 5.53KB | 2.93KB | ▼ 47.03% |