Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/tessa-authorship/classes/tessa-authorship-widget.php+408
Function create_function() is deprecated
Server metrics [RAM: ▼1.28MB] [CPU: ▼48.85ms] Passed 4 tests
This is a short check of server-side resources used by Tessa Authorship
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.75 | 11.03 ▼35.05 |
Dashboard /wp-admin | 2.77 ▼0.57 | 12.43 ▼43.57 |
Posts /wp-admin/edit.php | 2.77 ▼0.63 | 9.22 ▼39.29 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.16 | 12.90 ▼77.48 |
Media Library /wp-admin/upload.php | 2.77 ▼0.50 | 9.92 ▼30.11 |
Authorship Settings /wp-admin/edit.php?post_type=authorship&page=tessa-authorship | 2.77 | 11.29 |
Author Tags /wp-admin/edit-tags.php?taxonomy=authorship-tags&post_type=authorship | 2.77 | 9.87 |
Add New /wp-admin/post-new.php?post_type=authorship | 2.77 | 11.46 |
Author Categories /wp-admin/edit-tags.php?taxonomy=authorship-category&post_type=authorship | 2.77 | 9.75 |
All Authorship /wp-admin/edit.php?post_type=authorship | 2.77 | 10.41 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
tasrpas_settings |
widget_recent-comments |
widget_recent-posts |
tessa-authorship-version |
can_compress_scripts |
db_upgraded |
widget_tessa_authorship |
Browser metrics Passed 4 tests
An overview of browser requirements for Tessa Authorship
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.26 ▼0.10 | 1.84 ▼0.27 | 43.75 ▲0.25 |
Dashboard /wp-admin | 2,232 ▲52 | 5.61 ▲0.02 | 92.21 ▼3.19 | 41.27 ▲3.82 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.02 ▼0.01 | 36.42 ▲0.25 | 33.12 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.17 ▲0.26 | 669.86 ▼30.07 | 60.04 ▲8.22 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.26 ▲0.09 | 108.83 ▼1.21 | 48.18 ▼0.99 |
Authorship Settings /wp-admin/edit.php?post_type=authorship&page=tessa-authorship | 1,171 | 2.00 | 27.18 | 43.13 |
Author Tags /wp-admin/edit-tags.php?taxonomy=authorship-tags&post_type=authorship | 1,280 | 2.12 | 27.34 | 43.05 |
Add New /wp-admin/post-new.php?post_type=authorship | 3,221 | 8.03 | 203.47 | 73.87 |
Author Categories /wp-admin/edit-tags.php?taxonomy=authorship-category&post_type=authorship | 1,311 | 2.12 | 26.51 | 27.60 |
All Authorship /wp-admin/edit.php?post_type=authorship | 1,154 | 1.97 | 30.88 | 33.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/tessa-authorship/classes/tessa-authorship-widget.php+408
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- tessa-authorship-version
- widget_theysaidso_widget
- widget_tessa_authorship
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/tessa-authorship/classes/tessa-authorship-widget.php+408
Function create_function() is deprecated
- 32 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship.php+1097
Illegal string offset 'post_types'
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/tessa-authorship/classes/tessa-authorship.php+1095
Array to string conversion
- 25 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship.php+1097
in_array() expects parameter 2 to be array, string given
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship
- > POST request to /wp-admin/admin-ajax.php
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in Tessa_Authorship_Widget is deprecated since version 4.3.0! Use __construct() instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship&page=tessa-authorship
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+658
Illegal string offset 'activate_mpt'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship&page=tessa-authorship
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+662
Illegal string offset 'content_filter'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship&page=tessa-authorship
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+739
Illegal string offset 'open_link_blank'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship&page=tessa-authorship
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+744
Illegal string offset 'pub_email_link'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship&page=tessa-authorship
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+746
Illegal string offset 'show_email_form'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship&page=tessa-authorship
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+751
Illegal string offset 'use_social_icons'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship&page=tessa-authorship
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+753
Illegal string offset 'use_social_font'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=authorship&page=tessa-authorship
- > Warning in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+757
Illegal string offset 'add_social_info'
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=authorship
- > Notice in wp-content/plugins/tessa-authorship/classes/tessa-authorship-tasrpas.php+152
Uninitialized string offset: 0
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=authorship
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/tessa-authorship/assets/js/saprsat.js?ver=0.7.7:166:29)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=authorship
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Too many tags (54 tag instead of maximum 10); only the first 5 tags are used in your directory listing
tessa-authorship/tessa-authorship.php Passed 13 tests
The entry point to "Tessa Authorship" version 0.7.7 is a PHP file that has certain tags in its header comment area
131 characters long description:
Add wordpress independent authorship information on posts, pages, create lists of authors, reflect related content on author's page
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
No dangerous file extensions were detected5,167 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 489 | 1,180 | 3,022 |
PO File | 5 | 648 | 2,573 | 1,361 |
JavaScript | 5 | 87 | 36 | 516 |
CSS | 3 | 9 | 78 | 243 |
XML | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 66.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 191.00 |
Average method complexity | 6.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 9 | 11.54% |
▷ Public methods | 69 | 88.46% |
▷ Protected methods | 3 | 3.85% |
▷ Private methods | 6 | 7.69% |
Functions | 35 | |
▷ Named functions | 33 | 94.29% |
▷ Anonymous functions | 2 | 5.71% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
26 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/social/wordpress.png | 3.05KB | 1.73KB | ▼ 43.21% |
assets/images/social/aim.png | 2.21KB | 1.65KB | ▼ 25.06% |
assets/images/social/skype.png | 2.58KB | 1.70KB | ▼ 34.08% |
assets/images/social/vimeo.png | 2.40KB | 1.71KB | ▼ 28.84% |
assets/images/authorship-icon.png | 3.08KB | 2.08KB | ▼ 32.55% |