Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼296.83ms] Passed 4 tests
This is a short check of server-side resources used by AccessPress Social Icons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.19 | 58.46 ▲2.00 |
Dashboard /wp-admin | 3.58 ▲0.16 | 42.35 ▲3.09 |
Posts /wp-admin/edit.php | 3.81 ▲0.16 | 48.71 ▲5.06 |
Add New Post /wp-admin/post-new.php | 7.02 ▲0.05 | 101.04 ▼1,195.12 |
Media Library /wp-admin/upload.php | 3.44 ▲0.14 | 30.88 ▲2.72 |
About /wp-admin/admin.php?page=aps-about | 3.46 | 29.41 |
Add New Set /wp-admin/admin.php?page=aps-social-add | 3.50 | 31.57 |
How to use /wp-admin/admin.php?page=aps-social-how-to-use | 3.45 | 32.18 |
Social Icons /wp-admin/admin.php?page=aps-social | 3.46 | 32.04 |
Check Premium Version /wp-admin/admin.php?page=aps-premium | 3.24 | 20.37 |
Documentation /wp-admin/admin.php?page=aps-doclinks | 3.24 | 28.56 |
Server storage [IO: ▲4.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 312 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_aps_social_icons |
New WordPress options |
---|
widget_apsi_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for AccessPress Social Icons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,158 ▲414 | 17.84 ▲2.20 | 9.61 ▲3.56 | 2.72 ▲0.44 |
Dashboard /wp-admin | 3,145 ▲287 | 8.05 ▲1.85 | 139.12 ▼1.39 | 173.63 ▲7.89 |
Posts /wp-admin/edit.php | 2,970 ▲282 | 5.12 ▲1.76 | 77.32 ▲12.77 | 158.78 ▲14.35 |
Add New Post /wp-admin/post-new.php | 1,704 ▲15 | 20.42 ▼1.03 | 385.58 ▼56.08 | 211.38 ▲45.40 |
Media Library /wp-admin/upload.php | 1,758 ▲60 | 5.51 ▲0.04 | 117.63 ▼19.41 | 209.65 ▲16.48 |
About /wp-admin/admin.php?page=aps-about | 1,889 | 10.71 | 211.22 | 178.88 |
Add New Set /wp-admin/admin.php?page=aps-social-add | 3,820 | 7.43 | 159.74 | 124.66 |
How to use /wp-admin/admin.php?page=aps-social-how-to-use | 1,624 | 6.27 | 108.17 | 129.76 |
Social Icons /wp-admin/admin.php?page=aps-social | 1,643 | 6.17 | 106.47 | 128.78 |
Check Premium Version /wp-admin/admin.php?page=aps-premium | 2,852 | 14.57 | 558.44 | 274.19 |
Documentation /wp-admin/admin.php?page=aps-doclinks | 1,430 | 8.38 | 329.15 | 212.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_aps_social_icons
- The uninstall procedure has failed, leaving 1 option in the database
- widget_apsi_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 18× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/accesspress-social-icons/inc/backend/theme-icon-set.php
- > /wp-content/plugins/accesspress-social-icons/inc/backend/how-to-use.php
- > /wp-content/plugins/accesspress-social-icons/inc/backend/main-page.php
- > /wp-content/plugins/accesspress-social-icons/inc/backend/activation.php
- > /wp-content/plugins/accesspress-social-icons/inc/backend/icon-adder.php
- > /wp-content/plugins/accesspress-social-icons/inc/backend/delete-icon-set.php
- > /wp-content/plugins/accesspress-social-icons/inc/backend/edit-icon-set.php
- > /wp-content/plugins/accesspress-social-icons/inc/frontend/icon-group-list.php
- > /wp-content/plugins/accesspress-social-icons/inc/backend/panel-head.php
- > /wp-content/plugins/accesspress-social-icons/inc/backend/save-set.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/accesspress-social-icons/inc/backend/promobar.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=aps-premium
- > Javascript (severe) in unknown
https://accesspressthemes.com/wordpress-plugins/accesspress-social-icons-pro/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aps-doclinks
- > Network (severe)
https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=aps-doclinks
- > Javascript (severe) in unknown
https://accesspressthemes.com/documentation/accesspress-social-icons/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
accesspress-social-icons/accesspress-social-icons.php Passed 13 tests
The main PHP file in "AccessPress Social Icons" ver. 1.8.4 adds more information about the plugin and also serves as the entry point for this plugin
110 characters long description:
A plugin to add social icons in your site wherever you want dynamically with handful of configurable settings.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin6,048 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 508 | 22 | 3,398 |
PHP | 20 | 80 | 119 | 1,827 |
JavaScript | 2 | 64 | 32 | 635 |
PO File | 1 | 85 | 97 | 188 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
268 PNG files occupy 3.64MB with 2.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-sets/png/set12/reddit.png | 23.58KB | 5.00KB | ▼ 78.80% |
icon-sets/png/set7/askfm.png | 3.61KB | 2.11KB | ▼ 41.52% |
icon-sets/png/set6/meetup.png | 16.33KB | 1.70KB | ▼ 89.59% |
icon-sets/png/set5/flickr.png | 15.95KB | 1.93KB | ▼ 87.89% |
icon-sets/png/set2/meetup.png | 6.68KB | 3.76KB | ▼ 43.70% |