Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.25ms] Passed 4 tests
An overview of server-side resources used by Recent Posts Widget With Thumbnails
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.17 ▲1.50 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.74 ▲0.68 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.31 ▲1.64 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.90 ▼12.28 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.64 ▲1.09 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts-widget-with-thumbnails |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Recent Posts Widget With Thumbnails
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.32 ▼1.26 | 1.80 ▼0.15 | 38.26 ▼4.58 |
Dashboard /wp-admin | 2,209 ▲18 | 5.86 ▲0.97 | 95.44 ▼10.77 | 40.35 ▼4.99 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.04 | 38.90 ▼4.95 | 36.92 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.71 ▼0.60 | 645.53 ▲24.67 | 66.30 ▲15.58 |
Media Library /wp-admin/upload.php | 1,391 ▲12 | 4.21 ▲0.01 | 93.99 ▼8.72 | 45.38 ▲0.99 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- 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: 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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/recent-posts-widget-with-thumbnails/includes/form.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/recent-posts-widget-with-thumbnails/includes/widget.php:5
- > PHP Notice
Undefined variable: args in wp-content/plugins/recent-posts-widget-with-thumbnails/includes/widget.php on line 1
- > PHP Notice
Undefined variable: title in wp-content/plugins/recent-posts-widget-with-thumbnails/includes/widget.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/recent-posts-widget-with-thumbnails/recent-posts-widget-with-thumbnails.php:21
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/recent-posts-widget-with-thumbnails/includes/widget.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/recent-posts-widget-with-thumbnails/includes/widget.php on line 2
- > PHP Notice
Undefined variable: args in wp-content/plugins/recent-posts-widget-with-thumbnails/includes/widget.php on line 2
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: posts list, recent posts, thumbnails, images, widget
recent-posts-widget-with-thumbnails/recent-posts-widget-with-thumbnails.php 92% from 13 tests
The entry point to "Recent Posts Widget With Thumbnails" version 7.1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("2.9" instead of "4.6")
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
There were no executable files found in this plugin968 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 178 | 334 | 956 |
CSS | 2 | 0 | 1 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 164.00 |
▷ Minimum class complexity | 164.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 10.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 44.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 55.56% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin