Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.69ms] Passed 4 tests
Server-side resources used by Social Share Buttons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.48 ▼6.36 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.62 ▼4.87 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.76 ▲6.57 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 94.91 ▼3.99 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.28 ▲0.48 |
Social Share Buttons /wp-admin/options-general.php?page=rcktcld-social | 3.23 | 33.96 |
Server storage [IO: ▲1.15MB] [DB: ▲0.89MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Share Buttons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.75 ▼0.68 | 2.36 ▲0.51 | 38.68 ▼3.91 |
Dashboard /wp-admin | 2,215 ▲80 | 5.84 ▲0.30 | 104.61 ▲4.51 | 40.62 ▲5.46 |
Posts /wp-admin/edit.php | 2,101 ▲26 | 2.06 ▲0.03 | 41.42 ▲1.13 | 34.21 ▼4.71 |
Add New Post /wp-admin/post-new.php | 1,520 ▼11 | 17.92 ▼5.38 | 600.28 ▼56.23 | 43.89 ▼1.60 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.21 ▲0.03 | 95.93 ▼6.74 | 41.71 ▼0.03 |
Social Share Buttons /wp-admin/options-general.php?page=rcktcld-social | 1,052 | 1.86 | 26.56 | 26.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.89MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 take a closer look at 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_filter() in wp-content/plugins/rocketcloud-social-share/rcktcld-social.php:373
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: social sharing, social media icon, social media, floating social media, share
rocketcloud-social-share/rcktcld-social.php 92% from 13 tests
Analyzing the main PHP file in "Social Share Buttons" version 3.2.0
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("rocketcloud-social-share.php" instead of "rcktcld-social.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
No dangerous file extensions were detected5,377 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 17 | 17 | 2,402 |
PHP | 1 | 80 | 43 | 287 |
JavaScript | 2 | 7 | 21 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 28 | |
▷ Named functions | 28 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin