Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/awesome-social-media-icons/awesome-social-media-icons.php+158
Undefined variable: table_nam
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.29ms] Passed 4 tests
Server-side resources used by Awesome Social Media Icons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.70 ▲3.09 |
Dashboard /wp-admin | 3.34 ▲0.03 | 41.34 ▼9.93 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.07 ▲1.69 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 95.90 ▲4.30 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.57 ▼0.00 |
Add Icons /wp-admin/admin.php?page=social-icon | 3.24 | 30.90 |
View All /wp-admin/admin.php?page=View-all | 3.21 | 29.84 |
Server storage [IO: ▲4.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 38 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_s_icon |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Awesome Social Media Icons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.40 ▼0.98 | 1.82 ▲0.04 | 41.59 ▼2.29 |
Dashboard /wp-admin | 2,239 ▲51 | 5.12 ▼0.69 | 112.22 ▼2.50 | 45.64 ▼0.82 |
Posts /wp-admin/edit.php | 2,125 ▲39 | 2.35 ▲0.29 | 40.12 ▲5.78 | 37.54 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 18.99 ▼4.22 | 613.47 ▼49.12 | 57.74 ▼1.42 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.50 ▲0.33 | 100.36 ▲2.48 | 42.94 ▲0.96 |
Add Icons /wp-admin/admin.php?page=social-icon | 1,040 | 1.91 | 28.53 | 62.23 |
View All /wp-admin/admin.php?page=View-all | 848 | 1.90 | 28.17 | 36.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=social-icon
- > Notice in wp-content/plugins/awesome-social-media-icons/addicons.php+37
Undefined variable: image_url
- > GET request to /wp-admin/admin.php?page=View-all
- > Notice in wp-content/plugins/awesome-social-media-icons/awesome-social-media-icons.php+135
Undefined index: check_list
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
Looking good! No server-side errors or output 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 96% 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
8 plugin tags: icons, media, awesome icons, social icons, media icons...
awesome-social-media-icons/awesome-social-media-icons.php 92% from 13 tests
The main PHP script in "Awesome Social Media Icons" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin22,201 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 1,191 | 54 | 12,473 |
JavaScript | 4 | 1,782 | 1,705 | 6,755 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 5 | 39 | 26 | 302 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 12.81KB | 6.44KB | ▼ 49.74% |