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: ▲4.36MB] [CPU: ▲30.31ms] Passed 4 tests
Server-side resources used by PublishPress Planner: Organize and Schedule Your WordPress Content
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.62 ▲4.16 | 74.42 ▲36.45 |
Dashboard /wp-admin | 7.72 ▲4.42 | 81.81 ▲26.08 |
Posts /wp-admin/edit.php | 7.78 ▲4.43 | 96.49 ▲37.54 |
Add New Post /wp-admin/post-new.php | 10.46 ▲4.57 | 137.30 ▲21.18 |
Media Library /wp-admin/upload.php | 7.66 ▲4.44 | 79.11 ▲41.09 |
PublishPress /wp-admin/admin.php?page=pp-efmigration | 7.63 | 76.30 |
Upgrade to Pro /wp-admin/admin.php?page=pp-modules-settings-menu-upgrade-link | 7.36 | 61.21 |
Settings /wp-admin/admin.php?page=pp-modules-settings | 7.68 | 68.03 |
Editorial Comments /wp-admin/admin.php?page=pp-editorial-comments | 7.74 | 70.82 |
Server storage [IO: ▲8.59MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 634 new files
Database: no new tables, 23 new options
New WordPress options |
---|
widget_theysaidso_widget |
publishpress_reviews_options |
publishpress_notifications_log_options |
publishpress_efmigration_options |
publishpress_calendar_options |
publishpress_theeventscalendar_integration_options |
publishpress_editorial_metadata_options |
publishpress_custom_status_options |
widget_recent-comments |
publishpress_modules_settings_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for PublishPress Planner: Organize and Schedule Your WordPress Content
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲134 | 14.78 ▲0.53 | 1.87 ▼0.51 | 36.14 ▼14.51 |
Dashboard /wp-admin | 2,288 ▲100 | 4.91 ▼0.95 | 115.81 ▲2.40 | 49.45 ▲0.46 |
Posts /wp-admin/edit.php | 2,296 ▲201 | 2.38 ▲0.39 | 54.79 ▼0.42 | 40.14 ▲1.88 |
Add New Post /wp-admin/post-new.php | 6,457 ▲4,943 | 22.55 ▲5.03 | 1,017.49 ▲248.73 | 43.76 ▼12.98 |
Media Library /wp-admin/upload.php | 1,467 ▲79 | 4.34 ▲0.12 | 119.84 ▲6.08 | 55.00 ▲2.14 |
PublishPress /wp-admin/admin.php?page=pp-efmigration | 946 | 1.72 | 28.96 | 36.93 |
Upgrade to Pro /wp-admin/admin.php?page=pp-modules-settings-menu-upgrade-link | 28 | 0.44 | 0.09 | 4.47 |
Settings /wp-admin/admin.php?page=pp-modules-settings | 1,276 | 2.68 | 40.71 | 47.45 |
Editorial Comments /wp-admin/admin.php?page=pp-editorial-comments | 1,474 | 2.53 | 44.56 | 47.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 23 options
- publishpress_notifications_options
- publishpress_theeventscalendar_integration_options
- publishpress_settings_options
- widget_recent-posts
- publishpress_modules_settings_options
- publishpress_notifications_log_options
- publishpress_efmigration_options
- publishpress_reviews_options
- publishpress_improved_notifications_options
- publishpress_version
- ...
Smoke tests 25% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 19× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/publishpress/modules/editorial-metadata/input-handlers/editorial-metadata-input-checkbox-handler.php
- > /wp-content/plugins/publishpress/modules/editorial-metadata/input-handlers/editorial-metadata-input-user-handler.php
- > /wp-content/plugins/publishpress/modules/editorial-metadata/input-handlers/editorial-metadata-input-select-handler.php
- > /wp-content/plugins/publishpress/lib/Legacy/Auto_loader.php
- > /wp-content/plugins/publishpress/lib/vendor/publishpress/wordpress-version-notices/templates/menu-link/menu-link-script.php
- > /wp-content/plugins/publishpress/lib/Notifications/Plugin.php
- > /wp-content/plugins/publishpress/views/workflow_metabox.html.php
- > /wp-content/plugins/publishpress/modules/editorial-metadata/input-handlers/editorial-metadata-input-handler-interface.php
- > /wp-content/plugins/publishpress/modules/editorial-metadata/input-handlers/editorial-metadata-input-number-handler.php
- > /wp-content/plugins/publishpress/modules/editorial-metadata/input-handlers/editorial-metadata-input-paragraph-handler.php
- 166× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/publishpress/modules/settings/views/settings.html.php on line 5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/publishpress/modules/notifications-log/library/NotificationsLogTable.php on line 30
- > PHP Fatal error
Trait 'PublishPress\otifications\\Traits\\Dependency_Injector' not found in wp-content/plugins/publishpress/lib/Notifications/Shortcodes.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'Sabre\\VObject\\Parser\\Parser' not found in wp-content/plugins/publishpress/lib/vendor/sabre/vobject/lib/Parser/MimeDir.php:26
- > PHP Fatal error
Uncaught Error: Class 'Sabre\\VObject\\Property' not found in wp-content/plugins/publishpress/lib/vendor/sabre/vobject/lib/Property/ICalendar/Duration.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Sabre\\VObject\\Splitter\\SplitterInterface' not found in wp-content/plugins/publishpress/lib/vendor/sabre/vobject/lib/Splitter/ICalendar.php:23
- > PHP Fatal error
Uncaught Error: Class 'PublishPress\\Pimple\\Container' not found in wp-content/plugins/publishpress/lib/Notifications/Pimple_Container.php:18
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/publishpress/lib/vendor/publishpress/pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php:39
- > PHP Fatal error
Uncaught Error: Class 'PP_Module' not found in wp-content/plugins/publishpress/modules/calendar/calendar.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/publishpress/views/workflow_receiver_checkbox_field.html.php:4
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=pp-modules-settings-menu-upgrade-link
- > Network (severe)
wp-admin/admin.php?page=pp-modules-settings-menu-upgrade-link - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: notifications, custom statuses, workflow, editorial comments, editorial calendar
publishpress/publishpress.php 92% from 13 tests
The entry point to "PublishPress Planner: Organize and Schedule Your WordPress Content" version 3.12.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
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
Success! There were no dangerous files found in this plugin128,975 lines of code in 552 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 177 | 9,957 | 5,137 | 60,291 |
PHP | 244 | 7,535 | 15,219 | 31,962 |
PO File | 10 | 6,423 | 9,047 | 15,694 |
HTML | 10 | 577 | 861 | 8,527 |
CSS | 42 | 1,085 | 280 | 5,220 |
CoffeeScript | 18 | 981 | 604 | 2,976 |
JSX | 29 | 472 | 71 | 2,281 |
LESS | 6 | 110 | 3 | 553 |
JSON | 5 | 0 | 0 | 546 |
Markdown | 3 | 172 | 0 | 471 |
Sass | 2 | 49 | 0 | 252 |
Stylus | 1 | 23 | 6 | 98 |
SVG | 2 | 1 | 0 | 65 |
make | 1 | 7 | 0 | 20 |
YAML | 2 | 4 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 22.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 418.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 46 | |
Interfaces | 16 | |
Traits | 3 | |
Classes | 176 | |
▷ Abstract classes | 9 | 5.11% |
▷ Concrete classes | 167 | 94.89% |
▷ Final classes | 2 | 1.20% |
Methods | 1,468 | |
▷ Static methods | 123 | 8.38% |
▷ Public methods | 1,158 | 78.88% |
▷ Protected methods | 170 | 11.58% |
▷ Private methods | 140 | 9.54% |
Functions | 62 | |
▷ Named functions | 16 | 25.81% |
▷ Anonymous functions | 46 | 74.19% |
Constants | 190 | |
▷ Global constants | 34 | 17.89% |
▷ Class constants | 156 | 82.11% |
▷ Public constants | 156 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
32 PNG files occupy 0.19MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/improved-notifications/assets/img/multiple-select.png | 3.30KB | 0.62KB | ▼ 81.18% |
common/img/ef-settings-widget.png | 0.70KB | 0.63KB | ▼ 9.79% |
common/img/ef-settings-budget.png | 0.81KB | 0.77KB | ▼ 5.54% |
modules/improved-notifications/assets/img/icon-mute.png | 0.50KB | 0.36KB | ▼ 28.35% |
common/img/ef-settings-notifications.png | 0.46KB | 0.39KB | ▼ 14.81% |