Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.01ms] Passed 4 tests
An overview of server-side resources used by WP Social Stream
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.50 ▼2.57 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.13 ▼3.39 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.40 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.67 ▼17.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.72 ▲0.07 |
WP Social Stream /wp-admin/options-general.php?page=wp-social-stream | 3.21 | 31.35 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
wpss_styles |
widget_recent-comments |
can_compress_scripts |
lifestream_data |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Social Stream
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲178 | 13.65 ▼0.70 | 8.87 ▲7.04 | 45.02 ▲4.99 |
Dashboard /wp-admin | 2,233 ▲65 | 5.83 ▲0.24 | 86.85 ▼0.05 | 40.33 ▼4.77 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.31 ▲0.29 | 34.13 ▼1.29 | 31.08 ▼4.26 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.27 ▼0.26 | 672.71 ▼2.57 | 36.24 ▼18.01 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.51 ▲0.32 | 95.11 ▼6.96 | 41.57 ▼3.85 |
WP Social Stream /wp-admin/options-general.php?page=wp-social-stream | 1,741 | 2.08 | 26.87 | 29.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- wpss_styles
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- lifestream_data
- widget_recent-comments
- 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-social-stream
- > Notice in wp-content/plugins/wp-social-stream/admin.php+142
Undefined index: tab
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-social-stream/wp-social-stream.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-social-stream/admin.php:68
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (Check out [the demo](http://magnigenie.com/wp-social-stream-show-stream-online-activity/) for more screenshots and demo .) image not found
wp-social-stream/wp-social-stream.php Passed 13 tests
This is the main PHP file of "WP Social Stream" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
115 characters long description:
By using this plugin you can easily get your online activity from lots of different sites and display on your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin391 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 13 | 88 | 224 |
JavaScript | 4 | 3 | 24 | 84 |
CSS | 2 | 0 | 0 | 83 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 57.36KB | 22.39KB | ▼ 60.97% |