Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.74MB] [CPU: ▲3.17ms] Passed 4 tests
An overview of server-side resources used by Grow Social
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.16 ▲1.70 | 54.40 ▲10.81 |
Dashboard /wp-admin | 5.07 ▲1.73 | 61.19 ▼6.27 |
Posts /wp-admin/edit.php | 5.16 ▲1.80 | 60.99 ▲7.79 |
Add New Post /wp-admin/post-new.php | 7.63 ▲1.75 | 98.01 ▲0.34 |
Media Library /wp-admin/upload.php | 4.99 ▲1.77 | 55.26 ▲16.34 |
Extensions /wp-admin/admin.php?page=dpsp-extensions | 4.97 | 46.50 |
Toolkit /wp-admin/admin.php?page=dpsp-toolkit | 4.97 | 47.50 |
Settings /wp-admin/admin.php?page=dpsp-settings | 4.97 | 52.71 |
Server storage [IO: ▲2.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 296 new files
Database: no new tables, 14 new options
New WordPress options |
---|
can_compress_scripts |
dpsp_first_activation |
dpsp_product_serial_status |
theysaidso_admin_options |
dpsp_settings |
dpsp_location_content |
dpsp_location_sidebar |
widget_dpsp_top_shared_posts |
dpsp_version |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Grow Social: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲174 | 13.53 ▼0.87 | 2.06 ▲0.32 | 30.71 ▼13.39 |
Dashboard /wp-admin | 2,322 ▲134 | 5.37 ▼0.53 | 110.14 ▼3.24 | 49.92 ▲7.67 |
Posts /wp-admin/edit.php | 2,209 ▲120 | 2.72 ▲0.70 | 41.60 ▲3.54 | 40.16 ▲2.86 |
Add New Post /wp-admin/post-new.php | 1,552 ▲32 | 23.60 ▲0.57 | 680.61 ▼7.08 | 37.78 ▼13.30 |
Media Library /wp-admin/upload.php | 1,506 ▲115 | 4.57 ▲0.29 | 108.44 ▲3.80 | 49.22 ▲3.74 |
Extensions /wp-admin/admin.php?page=dpsp-extensions | 1,101 | 2.78 | 40.17 | 80.67 |
Toolkit /wp-admin/admin.php?page=dpsp-toolkit | 1,115 | 2.77 | 39.65 | 46.89 |
Settings /wp-admin/admin.php?page=dpsp-settings | 1,231 | 2.73 | 46.04 | 46.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 14 options in the database
- db_upgraded
- dpsp_version
- dpsp_location_sidebar
- widget_theysaidso_widget
- dpsp_location_content
- can_compress_scripts
- widget_recent-posts
- widget_dpsp_top_shared_posts
- widget_recent-comments
- dpsp_run_setup_info_nag
- ...
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/social-pug/inc/feature-flags.php
- > /wp-content/plugins/social-pug/index.php
- 55× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p10_Factory' not found in wp-content/plugins/social-pug/vendor/kernl/kernl-update-checker/Puc/v4/Factory.php:4
- > PHP Fatal error
Uncaught Error: Class 'Social_Pug' not found in wp-content/plugins/social-pug/inc/class-settings.php:4
- > PHP Warning
Use of undefined constant DPSP_VERSION - assumed 'DPSP_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/social-pug/inc/admin/views/view-submenu-page-debugger.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'Mediavine\\Grow\\Settings' not found in wp-content/plugins/social-pug/inc/tools/share-floating-sidebar/views/view-submenu-page-sidebar.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Mediavine\\Grow\\Has_Settings_API' not found in wp-content/plugins/social-pug/inc/tools/class-tool.php:7
- > PHP Fatal error
Uncaught Error: Class 'Social_Pug' not found in wp-content/plugins/social-pug/inc/admin/views/view-submenu-page-toolkit.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugins() in wp-content/plugins/social-pug/inc/admin/views/view-submenu-page-debugger.php:18
- > PHP Fatal error
Uncaught Error: Class 'Mediavine\\Grow\\Settings' not found in wp-content/plugins/social-pug/inc/tools/share-sticky-bar/views/view-submenu-page-sticky-bar.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/social-pug/inc/class-status-api-controller.php:16
- > PHP Fatal error
Uncaught Error: Class 'Mediavine\\Grow\\Integrations\\Container' not found in wp-content/plugins/social-pug/inc/integrations/class-integration.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: social share icon, social share buttons, social sharing, social share counts, social sharing icon...
social-pug/index.php 85% from 13 tests
The main file in "Grow Social" v. 1.20.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("social-pug.php" instead of "index.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin19,775 lines of code in 188 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 144 | 3,984 | 6,417 | 15,370 |
Sass | 21 | 469 | 4 | 3,887 |
JavaScript | 10 | 74 | 78 | 223 |
JSON | 3 | 8 | 0 | 107 |
CSS | 7 | 36 | 11 | 105 |
SVG | 1 | 31 | 0 | 43 |
HTML | 1 | 1 | 0 | 33 |
Markdown | 1 | 3 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 20.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 80 | |
▷ Abstract classes | 7 | 8.75% |
▷ Concrete classes | 73 | 91.25% |
▷ Final classes | 0 | 0.00% |
Methods | 794 | |
▷ Static methods | 153 | 19.27% |
▷ Public methods | 574 | 72.29% |
▷ Protected methods | 165 | 20.78% |
▷ Private methods | 55 | 6.93% |
Functions | 194 | |
▷ Named functions | 168 | 86.60% |
▷ Anonymous functions | 26 | 13.40% |
Constants | 35 | |
▷ Global constants | 7 | 20.00% |
▷ Class constants | 28 | 80.00% |
▷ Public constants | 20 | 71.43% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
39 PNG files occupy 0.69MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/social-pug-upgrade.1.20.3.png | 52.42KB | 26.15KB | ▼ 50.12% |
assets/dist/extension-ctt.1.20.3.png | 72.65KB | 35.66KB | ▼ 50.92% |
assets/dist/tool-content.1.20.3.png | 17.39KB | 9.61KB | ▼ 44.72% |
assets/dist/tool-pop-up.1.20.3.png | 17.49KB | 9.81KB | ▼ 43.93% |
assets/src/img/custom-social-media-image.png | 4.84KB | 1.64KB | ▼ 66.03% |