Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.92ms] Passed 4 tests
Analyzing server-side resources used by Quick and Easy Tweets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.09 ▼10.99 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.05 ▼7.06 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.27 ▼7.28 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 89.51 ▼14.36 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 39.10 ▲3.16 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_quick-and-easy-tweets |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Quick and Easy Tweets
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 13.24 ▼1.13 | 1.67 ▼0.48 | 40.58 ▼5.02 |
Dashboard /wp-admin | 2,206 ▲18 | 4.92 ▲0.01 | 102.08 ▼14.83 | 38.86 ▼3.16 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.04 | 36.13 ▼0.42 | 35.71 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.78 ▼5.31 | 696.34 ▲10.09 | 58.64 ▼1.81 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.01 | 109.78 ▲5.43 | 48.18 ▲4.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_quick-and-easy-tweets
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix 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/quick-and-easy-tweets/quick-and-easy-tweets.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
These attributes need your attention:
- Screenshots: Add a description for screenshot #2 in quick-and-easy-tweets/assets to your readme.txt
quick-and-easy-tweets/quick-and-easy-tweets.php 92% from 13 tests
The primary PHP file in "Quick and Easy Tweets" version 1.0.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin1,049 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 200 | 384 | 836 |
PO File | 3 | 68 | 70 | 213 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 2 | 15.38% |
▷ Concrete classes | 11 | 84.62% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 10 | 12.20% |
▷ Public methods | 71 | 86.59% |
▷ Protected methods | 2 | 2.44% |
▷ Private methods | 9 | 10.98% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.23MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 10.66KB | 4.95KB | ▼ 53.59% |
assets/banner-772x250.png | 11.73KB | 5.27KB | ▼ 55.06% |
assets/banner-1544x500.png | 18.86KB | 7.33KB | ▼ 61.13% |
assets/screenshot-1.png | 86.75KB | 27.54KB | ▼ 68.25% |
assets/screenshot-2.png | 81.21KB | 23.68KB | ▼ 70.85% |