Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.62ms] Passed 4 tests
This is a short check of server-side resources used by Good Old Twitter Feed Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.69 ▲4.04 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.75 ▼16.34 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.38 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.87 ▼21.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.03 ▲1.12 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_goodoldtwitterwidget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Good Old Twitter Feed Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.52 ▼0.10 | 2.11 ▲0.55 | 43.09 ▲1.72 |
Dashboard /wp-admin | 2,192 ▲11 | 5.51 ▼0.19 | 83.66 ▼20.58 | 39.14 ▼6.11 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.09 ▲0.11 | 35.41 ▼8.08 | 33.16 ▼1.07 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.06 ▼0.30 | 639.07 ▼37.10 | 50.47 ▼19.13 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.19 ▲0.02 | 105.15 ▲4.28 | 46.89 ▲4.06 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_goodoldtwitterwidget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Codebird' not found in wp-content/plugins/good-old-twitter-feed-widget/lib/class-wp-codebird.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/good-old-twitter-feed-widget/good_old_twitter_widget.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Requires at least: Invalid version format
good-old-twitter-feed-widget/good_old_twitter_widget.php 92% from 13 tests
The main PHP script in "Good Old Twitter Feed Widget" version 1.2.6 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("good-old-twitter-feed-widget.php" instead of "good_old_twitter_widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,803 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 187 | 412 | 1,304 |
PO File | 7 | 191 | 195 | 499 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 79.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 132.00 |
Average method complexity | 7.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 3 | 8.82% |
▷ Public methods | 18 | 52.94% |
▷ Protected methods | 4 | 11.76% |
▷ Private methods | 12 | 35.29% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
twitter_small.png | 3.13KB | 0.69KB | ▼ 78.04% |
assets/banner-772x250.png | 125.50KB | 42.43KB | ▼ 66.19% |
assets/screenshot-2.png | 5.97KB | 4.10KB | ▼ 31.41% |
assets/screenshot-1.png | 18.05KB | 8.21KB | ▼ 54.52% |