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.02MB] [CPU: ▼0.31ms] Passed 4 tests
Analyzing server-side resources used by Social Icons Sticky
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.93 ▲1.93 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.75 ▼3.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.20 ▲0.31 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.22 ▲2.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.06 ▼0.32 |
Social Share /wp-admin/options-general.php?page=stssm_settings | 3.31 | 34.10 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Icons Sticky
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲143 | 14.30 ▼0.31 | 2.86 ▲0.96 | 59.53 ▲13.71 |
Dashboard /wp-admin | 2,199 ▲19 | 5.64 ▼0.01 | 95.39 ▼0.68 | 39.96 ▼2.40 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.06 | 39.30 ▲5.79 | 35.75 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.30 ▲4.93 | 633.00 ▼10.99 | 48.55 ▼14.05 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.20 ▲0.04 | 95.81 ▼4.25 | 42.04 ▼0.97 |
Social Share /wp-admin/options-general.php?page=stssm_settings | 1,672 | 1.90 | 26.30 | 48.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: share, social, icons, media, social icon...
share-social-media/share-social-media.php Passed 13 tests
The main PHP file in "Social Icons Sticky" ver. 1.5.5 adds more information about the plugin and also serves as the entry point for this plugin
140 characters long description:
Add social sharing icons to a post or page of your WordPress website and allow visitors to share your content on various social media sites.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected3,061 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 304 | 8 | 1,412 |
PHP | 15 | 167 | 22 | 1,110 |
JavaScript | 3 | 32 | 3 | 363 |
PO File | 1 | 76 | 98 | 176 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 17.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 37 | |
▷ Static methods | 34 | 91.89% |
▷ Public methods | 34 | 91.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin