Benchmarks
Plugin footprint 83% 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.06MB] [CPU: ▼2.58ms] Passed 4 tests
This is a short check of server-side resources used by Meks Smart Author Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.68 ▲0.55 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.43 ▼5.33 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 53.67 ▲1.53 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 100.83 ▼7.06 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 37.17 ▲3.63 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_mks_author_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Meks Smart Author Widget: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.20 ▼1.20 | 4.89 ▲2.30 | 47.56 ▲7.91 |
Dashboard /wp-admin | 2,208 ▲20 | 4.85 ▼0.01 | 108.08 ▼15.79 | 45.63 ▼0.21 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 1.99 ▼0.06 | 38.86 ▼2.28 | 34.25 ▼6.45 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.16 ▲5.58 | 596.35 ▼31.78 | 48.18 ▼1.37 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.21 ▲0.01 | 95.64 ▼6.05 | 44.24 ▼0.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- widget_mks_author_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meks-smart-author-widget/inc/class-author-widget.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/meks-smart-author-widget/inc/meks-smart-author-widget-template.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_author_posts_url() in wp-content/plugins/meks-smart-author-widget/inc/meks-smart-author-widget-template.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/meks-smart-author-widget/inc/meks-smart-author-widget-co-authors-template.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/meks-smart-author-widget/inc/meks-smart-author-widget-template.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/meks-smart-author-widget/meks-smart-author-widget.php:31
- > PHP Notice
Undefined variable: instance in wp-content/plugins/meks-smart-author-widget/inc/meks-smart-author-widget-template.php on line 3
- > PHP Notice
Undefined variable: instance in wp-content/plugins/meks-smart-author-widget/inc/meks-smart-author-widget-template.php on line 4
- > PHP Fatal error
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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: widget, author, user, avatar, sidebar...
meks-smart-author-widget/meks-smart-author-widget.php 92% from 13 tests
The main PHP script in "Meks Smart Author Widget" version 1.1.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 248 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected391 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 87 | 43 | 306 |
PO File | 1 | 22 | 22 | 60 |
CSS | 1 | 2 | 0 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected