Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▲8.98ms] Passed 4 tests
Analyzing server-side resources used by WP Social Stream Designer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.82 | 55.37 ▲16.18 |
Dashboard /wp-admin | 3.99 ▲0.68 | 60.91 ▲9.87 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 57.93 ▲4.68 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.62 | 99.29 ▲7.77 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 50.20 ▲13.59 |
Social Feeds /wp-admin/admin.php?page=social-stream-designer-social-feed-layouts | 3.86 | 50.46 |
Social Authentication /wp-admin/admin.php?page=social-stream-designer-settings | 3.91 | 50.73 |
Add New Layout /wp-admin/admin.php?page=social-stream-designer-add-layouts | 3.83 | 44.72 |
Add Social Feed /wp-admin/admin.php?page=social-stream-designer-social-feed | 4.07 | 51.66 |
Layouts /wp-admin/admin.php?page=social-stream-designer-layouts | 3.83 | 42.87 |
Server storage [IO: ▲3.56MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 93 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_ssd_feeds |
wp_ssd_shortcodes |
wp_ssd_feed_posts |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
ssd_version |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP Social Stream Designer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,021 ▲260 | 13.82 ▼0.55 | 17.67 ▲16.06 | 80.87 ▲33.31 |
Dashboard /wp-admin | 2,248 ▲68 | 5.66 ▼0.02 | 87.90 ▼7.44 | 40.03 ▼0.22 |
Posts /wp-admin/edit.php | 2,147 ▲44 | 1.98 ▲0.00 | 36.87 ▲1.08 | 34.45 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,567 ▲41 | 23.69 ▲0.31 | 674.30 ▼28.60 | 52.24 ▼6.24 |
Media Library /wp-admin/upload.php | 1,447 ▲50 | 4.18 ▼0.06 | 99.34 ▼1.96 | 45.85 ▲1.40 |
Social Feeds /wp-admin/admin.php?page=social-stream-designer-social-feed-layouts | 1,248 | 3.55 | 75.02 | 28.25 |
Social Authentication /wp-admin/admin.php?page=social-stream-designer-settings | 1,527 | 3.59 | 71.79 | 90.15 |
Add New Layout /wp-admin/admin.php?page=social-stream-designer-add-layouts | 9,069 | 6.05 | 311.61 | 108.06 |
Add Social Feed /wp-admin/admin.php?page=social-stream-designer-social-feed | 1,861 | 4.25 | 68.47 | 39.08 |
Layouts /wp-admin/admin.php?page=social-stream-designer-layouts | 1,239 | 3.93 | 48.35 | 28.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_ssd_feeds
- wp_ssd_feed_posts
- wp_ssd_shortcodes
- Zombie WordPress options detected upon uninstall: 7 options
- ssd_version
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- 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
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=social-stream-designer-layouts
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
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
Almost there! Just fix the following items
- 85× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to get property 'post_status' of non-object in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 11
- > PHP Notice
Undefined variable: feeds in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 30
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/social-stream-design/admin/assets/social-stream-add-social-feed.php:10
- > PHP Notice
Undefined variable: feeds in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 27
- > PHP Notice
Trying to get property 'post_user_screen_name' of non-object in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 25
- > PHP Notice
Undefined variable: feeds in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 21
- > PHP Notice
Undefined variable: feeds in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 36
- > PHP Notice
Undefined variable: feeds in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 29
- > PHP Notice
Undefined variable: feeds in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 31
- > PHP Notice
Trying to get property 'post_plays_count' of non-object in wp-content/plugins/social-stream-design/include/social-stream-layout.php on line 33
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7, #8 in social-stream-design/assets to your readme.txt
social-stream-design/social-stream-design.php Passed 13 tests
"WP Social Stream Designer" version 1.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
80 characters long description:
To create and design social streams in more pretty, attractive and colorful way.
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
Everything looks great! No dangerous files found in this plugin16,706 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 206 | 1,343 | 7,626 |
SVG | 3 | 0 | 0 | 3,825 |
CSS | 5 | 657 | 0 | 3,439 |
JavaScript | 9 | 68 | 15 | 1,816 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 67.62 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 218.00 |
Average method complexity | 9.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 99.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 14 | 13.59% |
▷ Public methods | 93 | 90.29% |
▷ Protected methods | 8 | 7.77% |
▷ Private methods | 2 | 1.94% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
19 PNG files occupy 0.26MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/No_available_image.png | 27.59KB | 16.32KB | ▼ 40.84% |
admin/css/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
images/close-icon.png | 46.32KB | 0.13KB | ▼ 99.73% |
images/style-3.png | 14.79KB | 8.55KB | ▼ 42.15% |
admin/css/images/ui-icons_777620_256x240.png | 4.52KB | 4.18KB | ▼ 7.58% |