Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/timeline-twitter-feed/timeline-twitter-feed.php+59
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.50MB] [CPU: ▼28.08ms] Passed 4 tests
Server-side resources used by Timeline Twitter Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 40.84 ▲2.97 |
Dashboard /wp-admin | 3.44 ▲0.14 | 30.12 ▼16.88 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 27.53 ▼26.14 |
Add New Post /wp-admin/post-new.php | 3.44 ▼2.44 | 27.18 ▼60.72 |
Media Library /wp-admin/upload.php | 3.44 ▲0.22 | 24.82 ▼8.59 |
Timeline Twitter Feed /wp-admin/options-general.php?page=timeline-twitter-feed | 3.45 | 26.62 |
Server storage [IO: ▲0.14MB] [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: 18 new files
Database: no new tables, 13 new options
New WordPress options |
---|
ttf_hash_keys |
ttf_feed_approval |
ttf_advanced |
db_upgraded |
ttf_help |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_twitter_feed_widget |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Timeline Twitter Feed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 14.16 ▼0.27 | 32.05 ▲30.29 | 43.75 ▲3.90 |
Dashboard /wp-admin | 2,238 ▲50 | 5.09 ▲0.21 | 115.19 ▲11.05 | 41.03 ▼0.02 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.30 ▲0.29 | 43.62 ▲8.34 | 35.76 ▼2.77 |
Add New Post /wp-admin/post-new.php | 1,548 ▲29 | 18.38 ▼4.69 | 608.90 ▼4.23 | 33.54 ▼18.47 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.48 ▲0.28 | 98.82 ▲0.13 | 41.46 ▲0.88 |
Timeline Twitter Feed /wp-admin/options-general.php?page=timeline-twitter-feed | 1,452 | 2.28 | 35.91 | 34.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/timeline-twitter-feed/lib/class-webdevs-settings-api.php+115
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_twitter_feed_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=timeline-twitter-feed
- > Deprecated in wp-content/plugins/timeline-twitter-feed/lib/class-webdevs-settings-api.php+115
Function create_function() is deprecated
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/timeline-twitter-feed/includes/class-timeline-twitter-feed-widget.php:3
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5 in timeline-twitter-feed/assets to your readme.txt
timeline-twitter-feed/timeline-twitter-feed.php Passed 13 tests
"Timeline Twitter Feed" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
118 characters long description:
Timeline Twitter Feed let's you output your timeline feed and multiple hashtags into your WordPress site as flat HTML.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,932 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 393 | 501 | 1,607 |
PO File | 1 | 96 | 112 | 250 |
CSS | 2 | 12 | 0 | 55 |
JavaScript | 1 | 4 | 6 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 20.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 106 | |
▷ Static methods | 7 | 6.60% |
▷ Public methods | 93 | 87.74% |
▷ Protected methods | 12 | 11.32% |
▷ Private methods | 1 | 0.94% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 45 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 45 | 100.00% |
▷ Public constants | 45 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin