Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.04MB] [CPU: ▲14.42ms] Passed 4 tests
Server-side resources used by Oasis Workflow
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.45 ▲1.99 | 50.57 ▲12.31 |
Dashboard /wp-admin | 5.38 ▲2.07 | 59.30 ▲8.58 |
Posts /wp-admin/edit.php | 5.41 ▲2.05 | 62.90 ▲17.10 |
Add New Post /wp-admin/post-new.php | 9.28 ▲3.39 | 121.68 ▲27.29 |
Media Library /wp-admin/upload.php | 5.28 ▲2.05 | 53.63 ▲19.67 |
Inbox /wp-admin/admin.php?page=oasiswf-inbox | 5.30 | 52.58 |
Tools /wp-admin/admin.php?page=oasiswf-tools | 5.25 | 47.31 |
Stay Informed /wp-admin/admin.php?page=oasiswf-stay-informed | 5.25 | 51.06 |
Add New Workflow /wp-admin/admin.php?page=oasiswf-add | 5.27 | 49.45 |
Settings /wp-admin/admin.php?page=ow-settings | 5.20 | 50.07 |
All Workflows /wp-admin/admin.php?page=oasiswf-admin | 5.26 | 50.15 |
Workflow History /wp-admin/admin.php?page=oasiswf-history | 5.29 | 50.72 |
Reports /wp-admin/admin.php?page=oasiswf-reports | 5.27 | 52.87 |
Custom Statuses /wp-admin/admin.php?page=oasiswf-custom-statuses | 5.25 | 50.60 |
Server storage [IO: ▲3.69MB] [DB: ▲0.08MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 189 new files
Database: 5 new tables, 17 new options
New tables |
---|
wp_fc_action |
wp_fc_workflows |
wp_fc_action_history |
wp_fc_emails |
wp_fc_workflow_steps |
New WordPress options |
---|
oasiswf_review_rating_interval |
oasiswf_workflow_completed_post_count |
oasiswf_default_due_days |
widget_recent-comments |
widget_recent-posts |
oasiswf_priority_setting |
oasiswf_publish_date_setting |
oasiswf_show_wfsettings_on_post_types |
oasiswf_activate_workflow |
oasiswf_reminder_days |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Oasis Workflow
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲151 | 14.60 ▼0.11 | 1.60 ▼0.47 | 27.56 ▼19.34 |
Dashboard /wp-admin | 2,321 ▲140 | 5.74 ▲0.07 | 96.39 ▼7.81 | 44.27 ▲3.72 |
Posts /wp-admin/edit.php | 2,196 ▲93 | 2.09 ▲0.09 | 44.06 ▲8.16 | 36.54 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,900 ▲374 | 26.53 ▲3.55 | 675.47 ▲5.01 | 34.54 ▼28.41 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.19 ▲0.01 | 98.37 ▲0.08 | 41.01 ▼0.62 |
Inbox /wp-admin/admin.php?page=oasiswf-inbox | 1,178 | 2.41 | 44.88 | 30.49 |
Tools /wp-admin/admin.php?page=oasiswf-tools | 1,255 | 2.18 | 32.77 | 32.01 |
Stay Informed /wp-admin/admin.php?page=oasiswf-stay-informed | 1,342 | 2.86 | 54.33 | 64.86 |
Add New Workflow /wp-admin/admin.php?page=oasiswf-add | 2,002 | 2.87 | 58.91 | 67.68 |
Settings /wp-admin/admin.php?page=ow-settings | 1,069 | 1.67 | 26.71 | 31.55 |
All Workflows /wp-admin/admin.php?page=oasiswf-admin | 1,563 | 2.51 | 39.92 | 35.52 |
Workflow History /wp-admin/admin.php?page=oasiswf-history | 1,406 | 2.26 | 35.75 | 26.28 |
Reports /wp-admin/admin.php?page=oasiswf-reports | 1,266 | 2.17 | 32.90 | 30.81 |
Custom Statuses /wp-admin/admin.php?page=oasiswf-custom-statuses | 1,368 | 2.20 | 34.48 | 29.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
- 28× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/oasis-workflow/includes/pages/workflow-create.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oasis-workflow/includes/api/api-usercap.php:3
- > PHP Fatal error
Uncaught Error: Class 'OW_Report_Service' not found in wp-content/plugins/oasis-workflow/includes/pages/workflow-assignment-report.php:7
- > PHP Fatal error
Uncaught Error: Class 'OW_Workflow_Service' not found in wp-content/plugins/oasis-workflow/includes/pages/subpages/history-graphic.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/oasis-workflow/includes/pages/subpages/workflow-create-popup.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/oasis-workflow/includes/pages/subpages/submit-step.php:16
- > PHP Fatal error
Uncaught Error: Class 'OW_Process_Flow' not found in wp-content/plugins/oasis-workflow/includes/pages/subpages/action-comments.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/oasis-workflow/oasiswf.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oasis-workflow/includes/api/api-workflow.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/oasis-workflow/includes/pages/subpages/step-info-content.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Visual Work flow designer - 2 step review process), #2 (Workflow example - Simple 1 step review process), #3 (More examples.. of the workflow designer), #4 (Role-based routing), #5 (Inbox - all you care about are the tasks assigned to you.), #6 (Sign off - complete the tasks by signing off and move the article to the next step.), #7 (Process history lets users retrace their steps), #8 (Custom statuses)
- Tags: Please reduce the number of tags, currently 29 tag instead of maximum 10
oasis-workflow/oasiswf.php 85% from 13 tests
The entry point to "Oasis Workflow" version 6.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("oasis-workflow.php" instead of "oasiswf.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected50,779 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 10 | 0 | 0 | 18,224 |
PHP | 52 | 2,368 | 3,891 | 11,739 |
JavaScript | 47 | 1,271 | 1,562 | 9,771 |
PO File | 8 | 4,196 | 6,912 | 8,838 |
CSS | 8 | 282 | 84 | 2,184 |
Sass | 1 | 4 | 0 | 23 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 61.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 546.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 369 | |
▷ Static methods | 8 | 2.17% |
▷ Public methods | 311 | 84.28% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 58 | 15.72% |
Functions | 23 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 23 | 100.00% |
Constants | 20 | |
▷ Global constants | 13 | 65.00% |
▷ Class constants | 7 | 35.00% |
▷ Public constants | 7 | 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
40 PNG files occupy 0.30MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/arrows-dark.png | 0.48KB | 0.24KB | ▼ 51.11% |
css/lib/calendar/images/ui-bg_gloss-wave_35_f6a828_500x100.png | 3.67KB | 1.93KB | ▼ 47.53% |
css/lib/calendar/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.12KB | 0.16KB | 0.00% |
img/edit-icon-32.png | 2.00KB | 1.10KB | ▼ 45.27% |
img/page_white_delete.png | 0.52KB | 0.51KB | ▼ 2.24% |