Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.79ms] Passed 4 tests
An overview of server-side resources used by Related Posts Widget with Thumbnails
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.65 ▲0.48 |
Dashboard /wp-admin | 3.32 ▼0.03 | 45.77 ▼12.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.52 ▼7.09 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 77.81 ▼24.20 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.44 ▲0.91 |
Related Posts widget /wp-admin/options-general.php?page=RelatedPostswidgetoptions | 3.33 | 30.01 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_related-posts-widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Related Posts Widget with Thumbnails
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.34 ▲0.07 | 1.82 ▲0.26 | 48.30 ▲6.91 |
Dashboard /wp-admin | 2,203 ▲26 | 5.65 ▲0.03 | 93.63 ▲4.97 | 41.59 ▼0.92 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.99 ▲0.03 | 33.41 ▼9.14 | 33.99 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.90 ▼0.10 | 660.27 ▼9.72 | 60.98 ▲8.70 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.24 ▲0.07 | 98.42 ▼6.97 | 44.18 ▼4.59 |
Related Posts widget /wp-admin/options-general.php?page=RelatedPostswidgetoptions | 1,531 | 1.81 | 26.48 | 33.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_related-posts-widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 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 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 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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (How to install the plugin), #2 (activating the plugin), #3 (Final result (related posts in action))
advanced-css3-related-posts-widget/related.php 85% from 13 tests
The principal PHP file in "Related Posts Widget with Thumbnails" v. 1.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 289 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("advanced-css3-related-posts-widget.php" instead of "related.php")
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
Good job! No executable or dangerous file extensions detected1,371 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 602 | 79 | 1,185 |
JavaScript | 1 | 26 | 24 | 130 |
CSS | 2 | 16 | 15 | 50 |
INI | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
18 PNG files occupy 0.34MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/css3-thumblist.png | 0.72KB | 0.42KB | ▼ 41.06% |
images/css3-justdetails.png | 0.87KB | 0.59KB | ▼ 31.57% |
images/bigthumbs.png | 1.33KB | 0.89KB | ▼ 33.21% |
images/css3-widethumbs.png | 1.15KB | 0.70KB | ▼ 39.42% |
images/rpw-css3-promo.png | 91.49KB | 33.83KB | ▼ 63.02% |