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: ▲0.10MB] [CPU: ▲0.84ms] Passed 4 tests
Analyzing server-side resources used by Sticky Social Link
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.41 ▲3.26 |
Dashboard /wp-admin | 3.40 ▲0.09 | 44.24 ▼6.38 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 50.64 ▲4.18 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 89.62 ▲2.28 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.18 ▲4.21 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Sticky Social Link
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲73 | 13.22 ▼1.15 | 1.92 ▼0.12 | 42.42 ▼8.18 |
Dashboard /wp-admin | 2,220 ▲35 | 5.00 ▼0.85 | 100.10 ▼17.29 | 78.57 ▲28.33 |
Posts /wp-admin/edit.php | 2,109 ▲23 | 2.07 ▲0.05 | 39.62 ▲2.37 | 35.84 ▲0.99 |
Add New Post /wp-admin/post-new.php | 1,422 ▼112 | 17.88 ▼5.42 | 764.88 ▲36.24 | 30.98 ▼27.74 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.29 ▲0.05 | 111.90 ▲9.82 | 74.25 ▲27.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sticky-social-link/frontend/sslink-frontend.php
- > /wp-content/plugins/sticky-social-link/sticky-social-link.php
- > /wp-content/plugins/sticky-social-link/dashboard/sslink-admin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add images for these screenshots: #1 (Screenshot-1.png), #2 (Screenshot-2.png), #3 (Screenshot-3.png), #4 (Screenshot-4.png), #5 (Screenshot-5.png), #6 (Screenshot-6.png), #7 (Screenshot-7.png), #8 (Screenshot-8.png), #9 (Screenshot-9.png), #10 (Screenshot-10.png)
sticky-social-link/sticky-social-link.php 85% from 13 tests
This is the main PHP file of "Sticky Social Link" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 185 characters long)
- Git Repository: A Git repository was detected inside this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin804 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 11 | 14 | 468 |
PHP | 4 | 33 | 60 | 330 |
JavaScript | 1 | 2 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
22 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/sslink-email.png | 1.08KB | 1.03KB | ▼ 4.51% |
img/sslink-whatsapp.png | 1.87KB | 1.79KB | ▼ 4.13% |
img/sslink-instagram.png | 3.41KB | 1.95KB | ▼ 42.91% |
img/sslink-linkedin.png | 0.83KB | 0.78KB | ▼ 5.80% |
img/sslink-behance.png | 0.71KB | 0.65KB | ▼ 8.56% |