Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/juiz-social-post-sharer/inc/admin/register-settings.php+28
Undefined variable: default_settings
Server metrics [RAM: ▲0.57MB] [CPU: ▲3.26ms] Passed 4 tests
Analyzing server-side resources used by Nobs • Share Buttons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 44.66 ▲2.34 |
Dashboard /wp-admin | 4.00 ▲0.69 | 56.03 ▲7.30 |
Posts /wp-admin/edit.php | 4.05 ▲0.69 | 54.87 ▲1.00 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.63 | 94.36 ▲2.40 |
Media Library /wp-admin/upload.php | 3.85 ▲0.63 | 52.37 ▲16.91 |
Nobs Share Buttons /wp-admin/options-general.php?page=juiz-social-post-sharer | 4.02 | 48.79 |
Social Post Sharer /wp-admin/admin.php?page=juiz-social-post-sharer-welcome | 3.82 | 39.20 |
Server storage [IO: ▲1.72MB] [DB: ▲0.03MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/juiz-social-post-sharer/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 88 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
juiz_SPS_settings |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Nobs • Share Buttons: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,173 ▲412 | 13.28 ▼0.94 | 2.12 ▲0.53 | 28.91 ▼18.90 |
Dashboard /wp-admin | 2,557 ▲351 | 5.90 ▲1.00 | 120.67 ▲4.80 | 94.50 ▲53.22 |
Posts /wp-admin/edit.php | 2,461 ▲358 | 2.06 ▲0.09 | 37.92 ▼6.56 | 93.46 ▲56.08 |
Add New Post /wp-admin/post-new.php | 6,743 ▲5,198 | 27.57 ▲4.29 | 969.07 ▲283.71 | 37.45 ▼15.02 |
Media Library /wp-admin/upload.php | 1,742 ▲342 | 4.24 ▼0.01 | 118.88 ▲12.95 | 87.89 ▲42.53 |
Nobs Share Buttons /wp-admin/options-general.php?page=juiz-social-post-sharer | 3,638 | 2.10 | 41.88 | 154.09 |
Social Post Sharer /wp-admin/admin.php?page=juiz-social-post-sharer-welcome | 1,761 | 1.72 | 29.44 | 46.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 21× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/juiz-social-post-sharer/inc/admin/settings.php
- > /wp-content/plugins/juiz-social-post-sharer/inc/options.php
- > /wp-content/plugins/juiz-social-post-sharer/inc/front/buttons.php
- > /wp-content/plugins/juiz-social-post-sharer/inc/admin/metaboxes.php
- > /wp-content/plugins/juiz-social-post-sharer/inc/admin/upgrade-notice.php
- > /wp-content/plugins/juiz-social-post-sharer/inc/register-network.php
- > /wp-content/plugins/juiz-social-post-sharer/inc/admin/partials/promo-form.php
- > /wp-content/plugins/juiz-social-post-sharer/inc/register-skin.php
- > /wp-content/plugins/juiz-social-post-sharer/juiz-social-post-sharer.php
- > /wp-content/plugins/juiz-social-post-sharer/inc/front/third-parties/wp-job-manager.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (25 tag instead of maximum 10)
- Screenshots: These screenshots do not have images: #1 (Default Themes available), #2 (After a post), #3 (The new 1.3.0 Black theme and sharings counter), #4 (The metabox to hide buttons on a post), #5 (New themes: Brands Colors & Material Design), #6 (New admin panel for Nobs.), #7 (New networks panel you can now order with drag n' drop.), #8 (Gutenberg's block in action)
juiz-social-post-sharer/juiz-social-post-sharer.php 92% from 13 tests
The main file in "Nobs • Share Buttons" v. 2.3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 309 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected8,594 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 19 | 813 | 202 | 4,531 |
PHP | 24 | 775 | 1,686 | 3,182 |
JavaScript | 5 | 140 | 137 | 728 |
SVG | 5 | 0 | 0 | 94 |
HTML | 1 | 7 | 0 | 49 |
XML | 1 | 0 | 0 | 9 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 2 | 11.11% |
▷ Private methods | 3 | 16.67% |
Functions | 94 | |
▷ Named functions | 94 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
26 PNG files occupy 0.48MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skins/7/demo@2x.png | 11.53KB | 6.98KB | ▼ 39.49% |
screenshot-4.png | 5.36KB | 5.68KB | 0.00% |
skins/1/demo@2x.png | 14.63KB | 8.33KB | ▼ 43.03% |
skins/7/demo.png | 9.83KB | 5.13KB | ▼ 47.80% |
skins/1/demo.png | 7.77KB | 4.88KB | ▼ 37.21% |