Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.39ms] Passed 4 tests
Server-side resources used by Additional Authors
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 59.26 ▲22.36 |
Dashboard /wp-admin | 3.43 ▲0.12 | 45.05 ▼3.42 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.42 ▼9.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.35 ▲0.31 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 36.64 ▲2.90 |
Server storage [IO: ▲0.31MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 51 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_additional_authors |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Additional Authors
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.30 ▼1.09 | 2.30 ▲0.76 | 52.15 ▲7.77 |
Dashboard /wp-admin | 2,203 ▲18 | 5.84 ▼0.07 | 103.54 ▼5.68 | 38.59 ▼5.89 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 1.97 ▼0.04 | 39.92 ▲1.52 | 35.04 ▼1.63 |
Add New Post /wp-admin/post-new.php | 1,695 ▲176 | 22.44 ▼0.80 | 668.73 ▼2.86 | 35.90 ▼16.83 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▲0.02 | 98.21 ▲3.44 | 43.30 ▲3.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_additional_authors
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/additional-authors/templates/additional-authors-the-authors.tpl.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/additional-authors/public-functions.php:60
- > PHP Fatal error
Uncaught Error: Class 'AdditionalAuthors\\Plugin' not found in wp-content/plugins/additional-authors/deprecated.php:7
- > PHP Notice
Undefined variable: additional_authors_ids in wp-content/plugins/additional-authors/templates/additional-authors-the-authors-posts-links.tpl.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'ph_user_destination' not found in wp-content/plugins/additional-authors/inc/migrate.additional-author-destination.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_author_meta() in wp-content/plugins/additional-authors/templates/additional-authors-the-author-posts-link.tpl.php:7
- > PHP Notice
Undefined variable: additional_authors_ids in wp-content/plugins/additional-authors/templates/additional-authors-the-authors.tpl.php on line 10
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/additional-authors/templates/additional-authors-the-authors-posts-links.tpl.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: meta fields, author
additional-authors/additional-authors.php 92% from 13 tests
The main PHP script in "Additional Authors" version 1.3.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,468 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 370 | 633 | 1,417 |
PO File | 1 | 10 | 11 | 45 |
CSS | 2 | 0 | 0 | 3 |
JavaScript | 3 | 0 | 3 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 1 | 5.00% |
▷ Concrete classes | 19 | 95.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 9 | 9.18% |
▷ Public methods | 91 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 7.14% |
Functions | 14 | |
▷ Named functions | 6 | 42.86% |
▷ Anonymous functions | 8 | 57.14% |
Constants | 32 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 32 | 100.00% |
▷ Public constants | 32 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin