Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.11ms] Passed 4 tests
This is a short check of server-side resources used by SX Social Icons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.85 ▲1.33 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.65 ▼5.66 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.28 ▼0.94 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 95.26 ▼5.36 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 35.71 ▼0.49 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_redweb_sx_social_icons |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for SX Social Icons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.34 ▼0.31 | 1.62 ▲0.07 | 43.72 ▲4.95 |
Dashboard /wp-admin | 2,197 ▲17 | 5.65 ▲0.04 | 96.51 ▼3.07 | 49.63 ▲6.26 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.99 ▲0.00 | 33.47 ▼1.83 | 32.59 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 18.54 ▼4.61 | 615.44 ▼48.83 | 64.63 ▼2.78 |
Media Library /wp-admin/upload.php | 1,399 ▲5 | 4.25 ▲0.08 | 95.43 ▼0.92 | 40.06 ▼1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_redweb_sx_social_icons
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/sx-social-icons/includes/abstract/abstract-sx-social-icons-widget.php:12
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
sx-social-icons/sx-social-icons.php 92% from 13 tests
The main file in "SX Social Icons" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 192 characters long)
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 detected1,651 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 3 | 269 | 0 | 1,010 |
PHP | 3 | 100 | 219 | 422 |
SVG | 1 | 1 | 0 | 122 |
JavaScript | 2 | 16 | 12 | 95 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview 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.34 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 19 | 82.61% |
▷ Protected methods | 2 | 8.70% |
▷ Private methods | 2 | 8.70% |
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
There are no PNG files in this plugin