Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.59ms] Passed 4 tests
Analyzing server-side resources used by WP Sticky Social
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.36 ▼3.86 |
Dashboard /wp-admin | 3.43 ▲0.13 | 45.61 ▼4.76 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 48.43 ▼0.93 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 84.12 ▼10.88 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 31.33 ▼6.84 |
Sticky Social /wp-admin/options-general.php?page=wp-sticky-social | 3.31 | 37.95 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
wp-sticky-social |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Sticky Social: 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,038 ▲281 | 14.74 ▲0.38 | 1.73 ▼0.39 | 52.63 ▲9.82 |
Dashboard /wp-admin | 2,207 ▲19 | 5.82 ▲0.94 | 96.08 ▼7.90 | 40.67 ▼5.73 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.01 | 41.68 ▲1.05 | 38.13 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,517 ▼26 | 17.63 ▼0.67 | 676.08 ▲61.52 | 49.72 ▼5.77 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.20 ▼0.03 | 95.88 ▼3.51 | 42.69 ▼2.71 |
Sticky Social /wp-admin/options-general.php?page=wp-sticky-social | 1,582 | 1.85 | 27.40 | 33.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-sticky-social/public/views/public.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-sticky-social/admin/views/admin.php:66
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wp-sticky-social
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).wpColorPicker is not a function" "TypeError: jQuery(...).wpColorPicker is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wp-sticky-social/admin/assets/js/admin.js?ver=1.0.2:6:45)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=wp-sticky-social
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).wpColorPicker is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
wp-sticky-social/wp-sticky-social.php Passed 13 tests
"WP Sticky Social" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
32 characters long description:
Add sticky bar with social icons
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
Everything looks great! No dangerous files found in this plugin1,068 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 115 | 277 | 444 |
CSS | 4 | 68 | 37 | 299 |
PO File | 2 | 75 | 81 | 184 |
Sass | 3 | 8 | 0 | 113 |
SVG | 1 | 0 | 0 | 15 |
JavaScript | 2 | 8 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 7 | 35.00% |
▷ Public methods | 15 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin