Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.02ms] Passed 4 tests
Server-side resources used by Share It for All Users on BuddyPress YR
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.77 ▲2.62 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.23 ▼0.49 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.28 ▼7.25 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 83.64 ▼8.50 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.62 ▲0.15 |
BP Sharing YR /wp-admin/options-general.php?page=yr-bpshare | 3.34 | 43.93 |
Server storage [IO: ▲0.98MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 129 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
yr_bpshare_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Share It for All Users on BuddyPress YR: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲120 | 13.64 ▼0.94 | 5.67 ▲3.73 | 42.73 ▼2.82 |
Dashboard /wp-admin | 2,212 ▲24 | 4.90 ▲0.02 | 108.08 ▲0.68 | 41.34 ▼1.65 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.03 ▲0.03 | 40.00 ▼1.98 | 33.64 ▼3.35 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 18.14 ▼5.11 | 596.66 ▼40.09 | 56.16 ▲1.47 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.29 ▲0.04 | 97.22 ▼0.85 | 41.14 ▼3.09 |
BP Sharing YR /wp-admin/options-general.php?page=yr-bpshare | 9,861 | 1.74 | 27.78 | 52.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- yr_bpshare_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buddy-share-it-allusers-fb-yr/yr-bpshare-hnd.php:202
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (35 tag instead of maximum 10)
- Screenshots: Add images for these screenshots: #1 (An initial set of buttons for a blog article.), #2 (An example of a set of buttons for a Buddypress group. Also, a button Join us on Viber is inserted.), #3 (Admin page. Settings table, screen 1. Button for instructions, button for a table of sample settings.), #4 (Admin page. Settings table, screen 2.), #5 (Admin page. Settings table, screen 3. The Facebook Like button settings are visible.), #6 (Admin page. Settings table, screen 4.), #7 (Admin page. Settings table, screen 5. Buttons for saving settings, for backup, for reset.), #8 (An example of a set of buttons for a Buddypress Activity.)
buddy-share-it-allusers-fb-yr/loader.php 85% from 13 tests
The principal PHP file in "Share It for All Users on BuddyPress YR" v. 3.4.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 673 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("buddy-share-it-allusers-fb-yr.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,386 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 219 | 288 | 1,368 |
PO File | 1 | 79 | 79 | 636 |
HTML | 3 | 6 | 0 | 256 |
CSS | 1 | 6 | 45 | 121 |
JavaScript | 1 | 3 | 9 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 22 | |
▷ Named functions | 22 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
98 PNG files occupy 0.51MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/LinkedIn16.png | 1.45KB | 0.57KB | ▼ 60.42% |
img/join_us32viol.png | 1.95KB | 1.68KB | ▼ 13.45% |
img/Twitt-r32.png | 4.18KB | 1.49KB | ▼ 64.30% |
img/Pinterest32.png | 4.31KB | 1.55KB | ▼ 63.98% |
img/Twitter-r32.png | 4.50KB | 1.67KB | ▼ 62.87% |