Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.37ms] Passed 4 tests
Server-side resources used by JK Twitter Feeds
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 44.98 ▼7.86 |
Dashboard /wp-admin | 3.36 ▲0.06 | 56.78 ▼0.17 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 59.43 ▲3.34 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 104.86 ▼12.64 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 42.29 ▲3.19 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_jk_twitter_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for JK Twitter Feeds
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.72 ▲0.09 | 1.59 ▼0.28 | 42.64 ▼2.85 |
Dashboard /wp-admin | 2,211 ▲31 | 5.61 ▼0.05 | 93.96 ▼1.02 | 43.30 ▲3.24 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.00 ▲0.06 | 39.47 ▼2.29 | 36.84 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,539 ▲1 | 23.65 ▲0.41 | 647.41 ▼41.03 | 49.32 ▼0.07 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.15 ▼0.07 | 102.90 ▼0.36 | 50.12 ▲6.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_jk_twitter_widget
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jk-twitter-feeds/libraries/Twitter/index.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined index: text in wp-content/plugins/jk-twitter-feeds/libraries/Twitter/index.php on line 28
- > PHP Fatal error
Uncaught Error: Class 'Abraham\\TwitterOAuth\\SignatureMethod' not found in wp-content/plugins/jk-twitter-feeds/libraries/Twitter/HmacSha1.php:15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: wordpress, plugin, api, feeds, twitter
jk-twitter-feeds/jk-twitter-feeds.php Passed 13 tests
Analyzing the main PHP file in "JK Twitter Feeds" version 1.0.0
14 characters long description:
Twitter Feeds.
Code Analysis 5% from 3 tests
File types 0% from 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
Please fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/jk-twitter-feeds/libraries/Twitter/ca-bundle.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 293 | 675 | 1,298 |
JavaScript | 1 | 8 | 3 | 32 |
CSS | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 3 | 13.04% |
▷ Concrete classes | 20 | 86.96% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 17 | 13.60% |
▷ Public methods | 114 | 91.20% |
▷ Protected methods | 2 | 1.60% |
▷ Private methods | 9 | 7.20% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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