Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.36ms] Passed 4 tests
An overview of server-side resources used by Saragna - Social Stream WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.44 ▼0.69 |
Dashboard /wp-admin | 3.35 ▼0.00 | 52.12 ▼13.51 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 52.82 ▼4.59 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.39 ▼18.63 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 43.66 ▲7.32 |
General Shortcode /wp-admin/admin.php?page=social-fb-you-vimeo-twit-insta | 3.29 | 43.03 |
Social Setting /wp-admin/admin.php?page=fb-you-vimeo-twit-insta-social-setting | 3.29 | 37.16 |
Server storage [IO: ▲2.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 57 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wp_fb_you_vimeo |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Saragna - Social Stream WordPress: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲205 | 14.36 ▼0.04 | 22.69 ▲21.11 | 41.51 ▼2.09 |
Dashboard /wp-admin | 2,259 ▲53 | 4.85 ▼0.08 | 103.60 ▼1.61 | 76.37 ▲29.83 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.06 ▲0.05 | 39.17 ▼1.60 | 38.52 ▲3.76 |
Add New Post /wp-admin/post-new.php | 1,588 ▲62 | 23.28 ▲5.71 | 774.39 ▲96.33 | 54.21 ▲2.85 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.21 ▼0.04 | 102.80 ▼2.57 | 83.35 ▲39.21 |
General Shortcode /wp-admin/admin.php?page=social-fb-you-vimeo-twit-insta | 842 | 1.87 | 33.61 | 31.94 |
Social Setting /wp-admin/admin.php?page=fb-you-vimeo-twit-insta-social-setting | 1,094 | 2.05 | 27.20 | 38.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_wp_fb_you_vimeo
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/saragna-social-stream/admin/setting.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/saragna-social-stream/inc/get_tweets.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/saragna-social-stream/admin/main.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fb-you-vimeo-twit-insta-social-setting
- > Javascript (severe) in unknown
/wp-content/plugins/saragna-social-stream/assets/js/admin.js?ver=1.0 30:22 Uncaught TypeError: $(...).wpColorPicker is not a function
Optimizations
Plugin configuration 96% from 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: facebook feed, youtube feed, instagram feed, social stream, twitter feed
saragna-social-stream/saragna-social-stream.php 92% from 13 tests
Analyzing the main PHP file in "Saragna - Social Stream WordPress" version 1.0
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin7,199 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 132 | 102 | 3,554 |
PHP | 12 | 106 | 70 | 1,634 |
JavaScript | 11 | 95 | 150 | 1,147 |
SVG | 1 | 0 | 0 | 565 |
PO File | 1 | 93 | 104 | 225 |
HTML | 1 | 3 | 0 | 74 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 11 | 61.11% |
▷ Protected methods | 4 | 22.22% |
▷ Private methods | 3 | 16.67% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.68MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/l6.png | 101.76KB | 33.47KB | ▼ 67.11% |
assets/css/yplay.png | 2.95KB | 1.71KB | ▼ 41.95% |
assets/image/l4.png | 101.79KB | 33.74KB | ▼ 66.85% |
assets/image/l1.png | 101.76KB | 33.24KB | ▼ 67.33% |
assets/image/l7.png | 74.19KB | 24.77KB | ▼ 66.62% |