Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.58ms] Passed 4 tests
This is a short check of server-side resources used by Social Profile Icons Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.80 ▼7.03 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.86 ▼6.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.54 ▲2.06 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.93 ▲5.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.38 ▼3.34 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_social-profile-icons |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Social Profile Icons Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲13 | 13.54 ▲0.22 | 1.61 ▼4.42 | 44.56 ▲0.39 |
Dashboard /wp-admin | 2,206 ▼3 | 4.86 ▲0.01 | 109.42 ▼4.97 | 39.94 ▼4.90 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 39.95 ▲4.73 | 35.58 ▲2.92 |
Add New Post /wp-admin/post-new.php | 1,519 ▲108 | 23.07 ▲5.24 | 652.72 ▲11.65 | 55.18 ▲6.75 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.01 | 94.16 ▼3.77 | 44.71 ▼0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_social-profile-icons
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/social-profile-icons/widget-view.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: social profiles, widget, social buttons, social media, social...
social-profile-icons/social-profile-icons.php 85% from 13 tests
The primary PHP file in "Social Profile Icons Widget" version 1.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path folder does not exist ("/languages")
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
Success! There were no dangerous files found in this plugin610 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 51 | 95 | 318 |
JSON | 1 | 0 | 0 | 136 |
CSS | 1 | 6 | 11 | 115 |
SVG | 1 | 20 | 0 | 32 |
JavaScript | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 41.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 58.33% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected