Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/any-user-twitter-feed/any-user-twitter-feed.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; AnyUserTwitterFeed has a deprecated constructor
Server metrics [RAM: ▼1.83MB] [CPU: ▼52.89ms] Passed 4 tests
Analyzing server-side resources used by Any User Twitter Feed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 8.45 ▼32.48 |
Dashboard /wp-admin | 2.19 ▼1.16 | 6.01 ▼52.94 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 7.08 ▼40.33 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 6.70 ▼85.81 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 7.17 ▼27.41 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_anyusertwitterfeed |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Any User Twitter Feed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.36 ▼1.26 | 1.94 ▼0.19 | 36.44 ▼7.40 |
Dashboard /wp-admin | 2,206 ▲27 | 5.76 ▲0.83 | 94.50 ▼21.49 | 38.96 ▼6.99 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.00 | 39.69 ▲4.59 | 32.49 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.19 ▼0.19 | 664.09 ▲6.30 | 57.28 ▼9.55 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.29 ▲0.12 | 95.55 ▲0.42 | 40.33 ▼3.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/any-user-twitter-feed/any-user-twitter-feed.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; AnyUserTwitterFeed has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_anyusertwitterfeed
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/any-user-twitter-feed/error.php
- > /wp-content/plugins/any-user-twitter-feed/description.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: params in wp-content/plugins/any-user-twitter-feed/output.php on line 11
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/any-user-twitter-feed/output.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/any-user-twitter-feed/any-user-twitter-feed.php:31
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
- Screenshots: Add an image for screenshot #1 (soon)
- Requires at least: Invalid plugin version format
any-user-twitter-feed/any-user-twitter-feed.php 92% from 13 tests
"Any User Twitter Feed" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 207 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,555 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 273 | 906 | 1,477 |
CSS | 1 | 17 | 0 | 75 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 3 | 15.79% |
▷ Concrete classes | 16 | 84.21% |
▷ Final classes | 0 | 0.00% |
Methods | 129 | |
▷ Static methods | 14 | 10.85% |
▷ Public methods | 108 | 83.72% |
▷ Protected methods | 9 | 6.98% |
▷ Private methods | 12 | 9.30% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/twitter-icon.png | 0.45KB | 0.60KB | 0.00% |