Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.29MB] [CPU: ▲5.46ms] Passed 4 tests
Analyzing server-side resources used by WPUpper Share Buttons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.48 ▲1.03 | 47.35 ▲9.09 |
Dashboard /wp-admin | 4.69 ▲1.38 | 52.02 ▲6.34 |
Posts /wp-admin/edit.php | 4.80 ▲1.44 | 56.74 ▲9.52 |
Add New Post /wp-admin/post-new.php | 7.27 ▲1.39 | 100.28 ▼0.79 |
Media Library /wp-admin/upload.php | 4.61 ▲1.38 | 43.31 ▲7.20 |
Use options /wp-admin/admin.php?page=wpusb-faq | 4.72 | 45.17 |
Custom CSS /wp-admin/admin.php?page=wpusb-custom-css | 4.73 | 48.85 |
Sharing Report /wp-admin/admin.php?page=wpusb-sharing-report | 4.72 | 49.68 |
WPUpper Share /wp-admin/admin.php?page=wpusb | 4.72 | 47.83 |
Extra Settings /wp-admin/admin.php?page=wpusb-extra-settings | 4.72 | 44.07 |
Server storage [IO: ▲2.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 161 new files
Database: 2 new tables, 13 new options
New tables |
---|
wp_wpusb_report |
wp_wpusb_url_shortener |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
wpusb_social_media |
wpusb_settings |
widget_widget-wpusb |
wpusb_extra_settings |
widget_recent-comments |
widget_widget-wpusb-follow |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WPUpper Share Buttons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲104 | 13.20 ▼1.15 | 1.67 ▼0.10 | 38.92 ▼7.14 |
Dashboard /wp-admin | 2,245 ▲63 | 4.87 ▼1.02 | 96.03 ▼11.87 | 39.65 ▼0.74 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 1.97 ▼0.02 | 40.57 ▼0.02 | 35.46 ▼0.58 |
Add New Post /wp-admin/post-new.php | 6,321 ▲4,807 | 19.62 ▲2.07 | 854.21 ▲239.32 | 56.70 ▲7.58 |
Media Library /wp-admin/upload.php | 1,427 ▲45 | 4.25 ▲0.02 | 96.99 ▼0.23 | 42.83 ▼2.78 |
Use options /wp-admin/admin.php?page=wpusb-faq | 2,498 | 2.90 | 46.34 | 57.55 |
Custom CSS /wp-admin/admin.php?page=wpusb-custom-css | 1,707 | 3.23 | 52.87 | 70.67 |
Sharing Report /wp-admin/admin.php?page=wpusb-sharing-report | 1,668 | 2.65 | 33.96 | 33.49 |
WPUpper Share /wp-admin/admin.php?page=wpusb | 3,011 | 3.43 | 71.94 | 52.81 |
Extra Settings /wp-admin/admin.php?page=wpusb-extra-settings | 1,968 | 2.74 | 48.33 | 44.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_widget-wpusb-follow
- db_upgraded
- widget_widget-wpusb
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- wpusb_plugin_version
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wpupper-share-buttons/assets/svg/icons.php
- > /wp-content/plugins/wpupper-share-buttons/assets/svg/icons-follow.php
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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Requires php: Invalid version format
wpupper-share-buttons/wpupper-share-buttons.php Passed 13 tests
This is the main PHP file of "WPUpper Share Buttons" version 3.43, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
78 characters long description:
The social share buttons. The buttons are inserted automatically, beautifully.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin37,342 lines of code in 96 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 38 | 8,981 | 10,612 | 20,528 |
JavaScript | 14 | 1,091 | 974 | 9,133 |
PHP | 38 | 1,659 | 3,931 | 7,275 |
CSS | 6 | 57 | 29 | 406 |
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.24 |
Average class complexity | 19.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 2 | 6.06% |
▷ Concrete classes | 31 | 93.94% |
▷ Final classes | 2 | 6.45% |
Methods | 479 | |
▷ Static methods | 322 | 67.22% |
▷ Public methods | 382 | 79.75% |
▷ Protected methods | 34 | 7.10% |
▷ Private methods | 63 | 13.15% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 2 | 9.52% |
▷ Class constants | 19 | 90.48% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin