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
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/author-profile/author-profile.php+15
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.73ms] Passed 4 tests
Server-side resources used by Author Spotlight (Widget)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 3.74 ▼36.13 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.94 ▼42.76 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.80 ▼42.10 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.34 ▼85.92 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.91 ▼27.77 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_authorspotlight |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Author Spotlight (Widget)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.44 ▲0.06 | 1.59 ▼0.84 | 37.16 ▼15.50 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▲0.94 | 111.58 ▼3.49 | 40.88 ▼2.94 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.04 | 40.32 ▲5.02 | 36.35 ▲3.33 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.46 ▲0.17 | 645.86 ▼30.66 | 55.82 ▼0.74 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▼0.01 | 95.40 ▼7.61 | 41.47 ▼4.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/author-profile/author-profile.php+15
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- widget_authorspotlight
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/author-profile/author-profile.php:15
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Widget configuration screen.), #2 (Multiple author profiles (co-authors) displayed on the sidebar.), #3 (This is how the widget looks like on the single-page sidebar after configuration.)
author-profile/author-profile.php 92% from 13 tests
The main PHP file in "Author Spotlight (Widget)" ver. 3.4 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 465 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin249 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 24 | 249 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 4.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/myspace.png | 0.50KB | 0.26KB | ▼ 49.13% |
images/flickr.png | 0.46KB | 0.25KB | ▼ 45.18% |
images/posterous.png | 0.31KB | 0.33KB | 0.00% |
images/blogger.png | 0.49KB | 0.39KB | ▼ 20.75% |
images/friendfeed.png | 0.61KB | 0.36KB | ▼ 40.89% |