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
Install script ran successfully
Server metrics [RAM: ▲1.99MB] [CPU: ▲11.24ms] Passed 4 tests
Server-side resources used by Edit Flow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.41 ▲1.95 | 55.67 ▲14.02 |
Dashboard /wp-admin | 5.36 ▲2.05 | 61.36 ▲11.22 |
Posts /wp-admin/edit.php | 5.40 ▲2.04 | 64.36 ▲17.09 |
Add New Post /wp-admin/post-new.php | 7.83 ▲1.94 | 102.40 ▲5.38 |
Media Library /wp-admin/upload.php | 5.25 ▲2.02 | 49.66 ▲14.34 |
Edit Flow /wp-admin/admin.php?page=ef-settings | 5.14 | 45.29 |
Editorial Metadata /wp-admin/admin.php?page=ef-editorial-metadata-settings | 5.17 | 40.60 |
Calendar /wp-admin/admin.php?page=ef-calendar-settings | 5.14 | 46.88 |
Dashboard Widgets /wp-admin/admin.php?page=ef-dashboard-settings | 5.14 | 43.24 |
Custom Statuses /wp-admin/admin.php?page=ef-custom-status-settings | 5.17 | 44.83 |
Editorial Comments /wp-admin/admin.php?page=ef-editorial-comments-settings | 5.14 | 43.94 |
User Groups /wp-admin/admin.php?page=ef-user-groups-settings | 5.18 | 45.88 |
Notifications /wp-admin/admin.php?page=ef-notifications-settings | 5.14 | 42.42 |
Server storage [IO: ▲3.37MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 169 new files
Database: no new tables, 16 new options
New WordPress options |
---|
edit_flow_notifications_options |
edit_flow_story_budget_options |
widget_theysaidso_widget |
widget_recent-comments |
edit_flow_editorial_comments_options |
edit_flow_dashboard_options |
edit_flow_editorial_metadata_options |
edit_flow_version |
edit_flow_custom_status_options |
edit_flow_user_groups_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Edit Flow
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,253 ▲496 | 13.33 ▼0.96 | 1.81 ▼0.21 | 31.85 ▼13.24 |
Dashboard /wp-admin | 2,647 ▲459 | 5.14 ▼0.76 | 115.29 ▲13.24 | 73.70 ▲29.19 |
Posts /wp-admin/edit.php | 2,322 ▲233 | 2.75 ▲0.77 | 61.71 ▲23.43 | 71.36 ▲37.73 |
Add New Post /wp-admin/post-new.php | 6,690 ▲5,152 | 19.29 ▼4.06 | 899.72 ▲215.88 | 50.43 ▼3.54 |
Media Library /wp-admin/upload.php | 1,469 ▲78 | 4.48 ▲0.17 | 103.38 ▲6.45 | 67.49 ▲24.15 |
Edit Flow /wp-admin/admin.php?page=ef-settings | 1,048 | 2.17 | 25.97 | 47.03 |
Editorial Metadata /wp-admin/admin.php?page=ef-editorial-metadata-settings | 1,426 | 2.27 | 36.98 | 37.01 |
Calendar /wp-admin/admin.php?page=ef-calendar-settings | 1,000 | 2.17 | 25.57 | 30.81 |
Dashboard Widgets /wp-admin/admin.php?page=ef-dashboard-settings | 950 | 2.17 | 28.35 | 29.23 |
Custom Statuses /wp-admin/admin.php?page=ef-custom-status-settings | 1,371 | 2.27 | 35.23 | 34.32 |
Editorial Comments /wp-admin/admin.php?page=ef-editorial-comments-settings | 956 | 2.17 | 26.34 | 31.23 |
User Groups /wp-admin/admin.php?page=ef-user-groups-settings | 1,270 | 2.33 | 28.54 | 33.42 |
Notifications /wp-admin/admin.php?page=ef-notifications-settings | 978 | 2.17 | 25.88 | 30.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 16 options in the database
- edit_flow_editorial_metadata_options
- edit_flow_editorial_comments_options
- theysaidso_admin_options
- edit_flow_notifications_options
- edit_flow_settings_options
- edit_flow_user_groups_options
- widget_recent-comments
- edit_flow_calendar_options
- widget_theysaidso_widget
- edit_flow_dashboard_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/edit-flow/tests/test-edit-flow-notifications.php:3
- > PHP Fatal error
Uncaught Error: Class 'EF_Module' not found in wp-content/plugins/edit-flow/modules/editorial-metadata/editorial-metadata.php:23
- > PHP Fatal error
Uncaught Error: Class 'EF_Module' not found in wp-content/plugins/edit-flow/modules/notifications/notifications.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edit-flow/vipgo-helper.php:5
- > PHP Fatal error
Uncaught Error: Class 'EF_Module' not found in wp-content/plugins/edit-flow/modules/calendar/calendar.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/edit-flow/tests/testcase-edit-flow-ajax.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/edit-flow/tests/test-edit-flow-dashboard-notepad.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Edit_Flow_Ajax_UnitTestCase' not found in wp-content/plugins/edit-flow/tests/test-edit-flow-custom-status-ajax.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/edit-flow/tests/test-edit-flow-story-budget.php:3
- > PHP Warning
require_once(/tmp/wordpress-tests-lib/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/edit-flow/tests/bootstrap.php on line 27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (The calendar is a convenient month-by-month look at your content. Filter to specific statuses or categories to drill down.), #2 (Custom statuses allow you to define the key stages of your workflow.), #3 (Editorial comments allow for private discussion between writers and editors on a post-by-post basis.), #4 (Keep track of the important details with editorial metadata.), #5 (View all of your upcoming posts with the more traditional story budget view, and hit the print button to take it to your planning meeting.)
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
edit-flow/edit_flow.php 92% from 13 tests
The main PHP script in "Edit Flow" version 0.9.7 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("edit-flow.php" instead of "edit_flow.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected57,563 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 34,477 |
PO File | 8 | 3,265 | 6,467 | 8,109 |
PHP | 29 | 2,094 | 3,309 | 8,008 |
JavaScript | 35 | 814 | 756 | 4,568 |
CSS | 16 | 251 | 83 | 1,433 |
Markdown | 7 | 251 | 0 | 585 |
Bourne Shell | 3 | 41 | 12 | 182 |
Sass | 6 | 24 | 0 | 160 |
XML | 3 | 3 | 0 | 41 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 47.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 227.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 26 | |
▷ Abstract classes | 1 | 3.85% |
▷ Concrete classes | 25 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 434 | |
▷ Static methods | 15 | 3.46% |
▷ Public methods | 421 | 97.00% |
▷ Protected methods | 2 | 0.46% |
▷ Private methods | 11 | 2.53% |
Functions | 26 | |
▷ Named functions | 11 | 42.31% |
▷ Anonymous functions | 15 | 57.69% |
Constants | 20 | |
▷ Global constants | 8 | 40.00% |
▷ Class constants | 12 | 60.00% |
▷ Public constants | 12 | 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
33 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/settings/lib/eflogo_s32w.png | 0.44KB | 0.78KB | 0.00% |
modules/story-budget/lib/story_budget_s128.png | 0.66KB | 0.58KB | ▼ 12.22% |
modules/settings/lib/eflogo_s32.png | 0.44KB | 0.78KB | 0.00% |
modules/editorial-metadata/lib/editorial_metadata_s16.png | 0.38KB | 0.33KB | ▼ 12.21% |
modules/editorial-comments/lib/editorial_comments_s16.png | 0.37KB | 0.37KB | 0.00% |