Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/ym-twitter-feed/ym-twitter-feed.php+148
Function create_function() is deprecated
Server metrics [RAM: ▼1.89MB] [CPU: ▼185.63ms] Passed 4 tests
Analyzing server-side resources used by YM Twitter Feed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.74 ▼0.98 | 6.22 ▼16.88 |
Dashboard /wp-admin | 1.76 ▼1.29 | 5.58 ▼39.64 |
Posts /wp-admin/edit.php | 1.76 ▼1.34 | 5.95 ▼38.05 |
Add New Post /wp-admin/post-new.php | 1.76 ▼3.67 | 4.53 ▼638.07 |
Media Library /wp-admin/upload.php | 1.76 ▼1.24 | 5.49 ▼26.77 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_ym_twitter_feed |
Browser metrics Passed 4 tests
This is an overview of browser requirements for YM Twitter Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.23 ▲0.64 | 12.65 ▲2.17 | 54.66 ▲11.23 |
Dashboard /wp-admin | 2,970 ▲39 | 5.84 ▼0.10 | 143.19 ▲1.29 | 124.07 ▼1.53 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 67.67 ▲1.62 | 90.01 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,672 ▲172 | 18.82 ▲0.23 | 373.85 ▼15.31 | 103.18 ▼7.89 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▲0.00 | 144.04 ▼1.23 | 118.71 ▲5.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/ym-twitter-feed/ym-twitter-feed.php+148
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 1 option
- widget_ym_twitter_feed
Smoke tests 75% 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 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/ym-twitter-feed/ym-twitter-feed.php:12
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: twitter, live twitter post, twitter feed, feed, embed twitter post
ym-twitter-feed/ym-twitter-feed.php Passed 13 tests
The principal PHP file in "YM Twitter Feed" v. 1.0 is loaded by WordPress automatically on each request
35 characters long description:
Add Twitter Feed to your widget bar
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
Success! There were no dangerous files found in this plugin124 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 11 | 124 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin