Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼139.71ms] Passed 4 tests
This is a short check of server-side resources used by VE Social Share Buttons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 50.53 ▲29.16 |
Dashboard /wp-admin | 3.08 ▲0.02 | 52.89 ▲4.65 |
Posts /wp-admin/edit.php | 3.13 ▲0.01 | 48.74 ▼11.17 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 94.60 ▼554.53 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 41.94 ▲2.23 |
VE Social Share Buttons /wp-admin/options-general.php?page=ve-social-share-buttons | 2.97 | 33.78 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for VE Social Share Buttons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲47 | 15.80 ▼0.23 | 10.47 ▼5.73 | 54.07 ▼0.96 |
Dashboard /wp-admin | 2,972 ▲41 | 5.92 ▼0.12 | 161.49 ▼14.34 | 119.62 ▲3.83 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 81.50 ▲4.96 | 85.78 ▼11.90 |
Add New Post /wp-admin/post-new.php | 1,597 ▲120 | 18.56 ▲0.19 | 421.06 ▼21.63 | 127.78 ▲7.18 |
Media Library /wp-admin/upload.php | 1,812 ▲64 | 5.02 ▲0.03 | 180.80 ▲17.76 | 125.20 ▼6.17 |
VE Social Share Buttons /wp-admin/options-general.php?page=ve-social-share-buttons | 1,172 | 2.08 | 76.74 | 83.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ve-social-share-buttons
- > Warning in wp-content/plugins/ve-social-share-buttons/ve-social-share-buttons.php+87
in_array() expects parameter 2 to be array, bool given
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ve-social-share-buttons/lib/class.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
ve-social-share-buttons/ve-social-share-buttons.php 92% from 13 tests
"VE Social Share Buttons" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected219 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 29 | 52 | 157 |
CSS | 1 | 1 | 2 | 44 |
SVG | 1 | 6 | 0 | 18 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin