Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.08ms] Passed 4 tests
Analyzing server-side resources used by Simple Feed Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.88 ▼1.90 |
Dashboard /wp-admin | 3.35 ▲0.05 | 55.13 ▼1.29 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 57.03 ▲5.32 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 90.98 ▼21.42 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 41.13 ▲4.28 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_simple-feed-widget |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Simple Feed Widget: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.19 ▼0.56 | 1.86 ▲0.29 | 47.00 ▲3.53 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▲0.00 | 96.45 ▲5.02 | 41.84 ▲1.39 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.99 ▲0.01 | 34.03 ▼2.55 | 34.43 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.17 ▲0.06 | 678.63 ▲23.11 | 57.67 ▼1.91 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▲0.00 | 107.50 ▲0.05 | 46.16 ▼0.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_simple-feed-widget
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-feed-widget/simple-twitter-feed-widget.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (backend Layout) image missing
simple-feed-widget/simple-twitter-feed-widget.php 85% from 13 tests
The entry point to "Simple Feed Widget" version 1.1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-feed-widget.php" instead of "simple-twitter-feed-widget.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 180 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected817 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 218 | 66 | 817 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 2 | 18.18% |
▷ Concrete classes | 9 | 81.82% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 10 | 13.16% |
▷ Public methods | 65 | 85.53% |
▷ Protected methods | 2 | 2.63% |
▷ Private methods | 9 | 11.84% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.05MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) screenshot-2.png | 11.23KB | 0.00KB | ▼ 100.00% |
(invalid) screenshot-3.png | 17.91KB | 0.00KB | ▼ 100.00% |
(invalid) screenshot-1.png | 23.03KB | 0.00KB | ▼ 100.00% |