Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.08MB] [CPU: ▲24.59ms] Passed 4 tests
Server-side resources used by Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.14 ▲3.67 | 59.90 ▲19.21 |
Dashboard /wp-admin | 7.55 ▲4.21 | 78.96 ▲18.84 |
Posts /wp-admin/edit.php | 7.58 ▲4.22 | 81.09 ▲37.68 |
Add New Post /wp-admin/post-new.php | 10.21 ▲4.33 | 130.99 ▲32.06 |
Media Library /wp-admin/upload.php | 7.43 ▲4.20 | 66.25 ▲28.23 |
Upgrade to Pro /wp-admin/admin.php?page=ppma-authors-menu-upgrade-link | 7.42 | 67.61 |
Settings /wp-admin/admin.php?page=ppma-modules-settings | 7.53 | 93.66 |
Server storage [IO: ▲10.19MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 835 new files
Database: no new tables, 21 new options
New WordPress options |
---|
multiple_authors_polylang_integration_options |
widget_multiple_authors_widget |
multiple_authors_default_layouts_options |
multiple_authors_multiple_authors_options |
multiple_authors_rest_api_options |
widget_recent-comments |
theysaidso_admin_options |
widget_multiple_authors_list_widget |
publishpress-authors_wp_reviews_installed_on |
PP_AUTHORS_VERSION |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,014 ▲268 | 15.16 ▲0.87 | 1.61 ▼0.35 | 27.69 ▼15.28 |
Dashboard /wp-admin | 2,411 ▲223 | 6.89 ▲1.83 | 137.54 ▲24.19 | 43.59 ▼3.38 |
Posts /wp-admin/edit.php | 2,533 ▲444 | 3.95 ▲1.90 | 70.99 ▲30.80 | 33.06 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,690 ▲162 | 21.65 ▲3.34 | 689.97 ▲23.40 | 59.01 ▲2.65 |
Media Library /wp-admin/upload.php | 1,464 ▲76 | 4.65 ▲0.54 | 97.58 ▼19.93 | 44.54 ▼3.75 |
Upgrade to Pro /wp-admin/admin.php?page=ppma-authors-menu-upgrade-link | 2,660 | 4.08 | 71.39 | 77.45 |
Settings /wp-admin/admin.php?page=ppma-modules-settings | 2,931 | 5.04 | 97.92 | 103.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 21 options
- multiple_authors_rest_api_options
- multiple_authors_default_layouts_options
- multiple_authors_author_boxes_options
- theysaidso_admin_options
- widget_multiple_authors_list_widget
- multiple_authors_author_custom_fields_options
- db_upgraded
- widget_multiple_authors_widget
- publishpress_multiple_authors_settings_migrated_3_0_0
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 items
- 13× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/publishpress-authors/includes.php
- > /wp-content/plugins/publishpress-authors/src/templates/parts/author-pages-list.php
- > /wp-content/plugins/publishpress-authors/lib/vendor/publishpress/wordpress-version-notices/templates/menu-link/menu-link-script.php
- > /wp-content/plugins/publishpress-authors/lib/vendor/publishpress/wordpress-version-notices/templates/top-notice/notice.php
- > /wp-content/plugins/publishpress-authors/defines.php
- > /wp-content/plugins/publishpress-authors/src/templates/taxonomy-author.php
- > /wp-content/plugins/publishpress-authors/src/core/Factory.php
- > /wp-content/plugins/publishpress-authors/src/templates/parts/author-pages-grid.php
- > /wp-content/plugins/publishpress-authors/src/core/Capability.php
- > /wp-content/plugins/publishpress-authors/src/core/Container.php
- 156× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/publishpress-authors/lib/vendor/publishpress/pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php:39
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/publishpress-authors/lib/vendor/cmb2/cmb2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/publishpress-authors/lib/vendor/cmb2/cmb2/includes/CMB2.php:21
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/publishpress-authors/src/modules/settings/views/module.html.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/publishpress-authors/src/modules/settings/views/module.html.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'MultipleAuthors\\Classes\\Legacy\\Module' not found in wp-content/plugins/publishpress-authors/src/modules/author-boxes/author-boxes.php:35
- > PHP Notice
Undefined variable: linkURL in wp-content/plugins/publishpress-authors/lib/vendor/publishpress/wordpress-version-notices/templates/top-notice/notice.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/publishpress-authors/src/modules/settings/views/settings.html.php on line 6
- > PHP Warning
Class 'PublishPress\\WordpressVersionNotices\\Template\\TemplateInvalidArgumentsException' not found in wp-content/plugins/publishpress-authors/lib/vendor/publishpress/wordpress-version-notices/src/deprecated.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/publishpress-authors/lib/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: authors, guest authors, multiple authors, author layouts, author fields
publishpress-authors/publishpress-authors.php Passed 13 tests
The main file in "Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors" v. 4.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
92 characters long description:
PublishPress Authors allows you to add multiple authors and guest authors to WordPress posts
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 plugin104,805 lines of code in 654 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 130 | 20,070 | 28,463 | 46,725 |
PHP | 205 | 6,419 | 13,616 | 29,060 |
JavaScript | 259 | 2,547 | 1,285 | 13,211 |
CSS | 28 | 2,265 | 1,275 | 10,586 |
HTML | 1 | 23 | 0 | 1,450 |
Sass | 17 | 306 | 29 | 1,411 |
JSX | 9 | 173 | 0 | 1,075 |
Markdown | 2 | 235 | 0 | 722 |
JSON | 2 | 0 | 0 | 502 |
SVG | 1 | 0 | 0 | 63 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 23.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 406.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 92.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 7 | |
Traits | 1 | |
Classes | 164 | |
▷ Abstract classes | 13 | 7.93% |
▷ Concrete classes | 151 | 92.07% |
▷ Final classes | 3 | 1.99% |
Methods | 1,407 | |
▷ Static methods | 356 | 25.30% |
▷ Public methods | 1,204 | 85.57% |
▷ Protected methods | 117 | 8.32% |
▷ Private methods | 86 | 6.11% |
Functions | 158 | |
▷ Named functions | 124 | 78.48% |
▷ Anonymous functions | 34 | 21.52% |
Constants | 75 | |
▷ Global constants | 38 | 50.67% |
▷ Class constants | 37 | 49.33% |
▷ Public constants | 37 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
19 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/vendor/cmb2/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
lib/vendor/cmb2/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
src/assets/img/publishpress-logo.png | 8.69KB | 8.91KB | 0.00% |
lib/vendor/cmb2/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
lib/vendor/cmb2/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |