Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/author-profiles/author_widget.php+245
Undefined index: auth-ignore-notice
Server metrics [RAM: ▼1.89MB] [CPU: ▼60.15ms] Passed 4 tests
An overview of server-side resources used by Wordpress Author Plugin Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.96 ▼48.59 |
Dashboard /wp-admin | 2.12 ▼1.18 | 6.26 ▼55.96 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.19 ▼46.04 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 6.33 ▼90.00 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.22 ▼30.00 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
author_plugin_activated |
auth-ignore-notice |
widget_sab_author_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Wordpress Author Plugin Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.34 ▼1.10 | 1.68 ▼0.43 | 41.05 ▼2.74 |
Dashboard /wp-admin | 2,206 ▲15 | 4.89 ▲0.02 | 104.36 ▼4.53 | 45.40 ▲2.41 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.01 | 39.54 ▲0.11 | 34.26 ▼3.49 |
Add New Post /wp-admin/post-new.php | 1,537 ▲2 | 23.36 ▲0.15 | 654.49 ▲44.99 | 57.31 ▲1.90 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.16 ▼0.04 | 96.17 ▼6.39 | 42.52 ▼2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/author-profiles/author_widget.php+245
Undefined index: auth-ignore-notice
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_theysaidso_widget
- author_plugin_activated
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- auth-ignore-notice
- db_upgraded
- widget_sab_author_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/author-profiles/author_admin.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/author-profiles/author_widget.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (This screenshot description corresponds to screenshot-1.(png|jpg|jpeg|gif).), #2 (This screenshot description corresponds to screenshot-2.(png|jpg|jpeg|gif).), #3 (This screenshot description corresponds to screenshot-3.(png|jpg|jpeg|gif).), #4 (This screenshot description corresponds to screenshot-4.(png|jpg|jpeg|gif).)
author-profiles/author_widget.php 85% from 13 tests
The entry point to "Wordpress Author Plugin Widget" version 1.9 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 683 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("author-profiles.php" instead of "author_widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin175 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 45 | 42 | 175 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 4.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
4 PNG files occupy 0.18MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 7.22KB | 3.82KB | ▼ 47.13% |
screenshot-4.png | 48.17KB | 50.72KB | 0.00% |
screenshot-2.png | 79.99KB | 32.02KB | ▼ 59.97% |
screenshot-3.png | 48.17KB | 50.72KB | 0.00% |