Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.55ms] Passed 4 tests
Server-side resources used by ThemeDiv Social Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 48.32 ▲5.85 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.74 ▼10.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.53 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.94 ▼5.16 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.04 ▼0.33 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_wp_theme_widget_social_links |
widget_themediv_register_widget_google_plus |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for ThemeDiv Social Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲100 | 14.89 ▲0.47 | 81.27 ▲79.23 | 51.93 ▲7.31 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▲0.11 | 85.56 ▼5.85 | 46.55 ▲4.01 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.03 | 40.97 ▼1.15 | 34.92 ▼7.16 |
Add New Post /wp-admin/post-new.php | 1,525 ▼1 | 23.14 ▼0.45 | 654.40 ▼40.23 | 61.85 ▲0.35 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.29 ▲0.11 | 103.80 ▲1.41 | 41.80 ▼3.63 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_wp_theme_widget_social_links
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_themediv_register_widget_google_plus
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 ('Plugin' screenshot.), #2 (Widget options.), #3 (Facebook Screensot.), #4 (Google Plus Screenshot)
- Tags: Please delete some tags, you are using 78 tag instead of maximum 10
themediv-social-widget/themediv-social-widget.php Passed 13 tests
The primary PHP file in "ThemeDiv Social Widget" version 1.0 is used by WordPress to initiate all plugin functionality
38 characters long description:
Facebook Like Box Widget And Shortcode
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected297 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 14 | 271 |
JavaScript | 1 | 6 | 0 | 26 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.28MB with 0.16MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 18.67KB | 8.98KB | ▼ 51.87% |
screenshot-3.png | 236.40KB | 54.98KB | ▼ 76.74% |
screenshot-2.png | 13.72KB | 6.62KB | ▼ 51.78% |
screenshot-4.png | 15.91KB | 7.25KB | ▼ 54.40% |