Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲6.86MB] [CPU: ▼272.37ms] 50% from 4 tests
Server-side resources used by Clean Social Icons
The following require your attention
- RAM: Total memory usage must be kept under 10MB (currently 10.48MB on /wp-admin/admin.php?page=freemius)
- Extra RAM: Try to keep extra memory usage under 5MB (currently 6.86MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.19 ▲6.67 | 85.22 ▲36.02 |
Dashboard /wp-admin | 10.37 ▲6.96 | 72.57 ▲37.80 |
Posts /wp-admin/edit.php | 10.59 ▲6.95 | 74.89 ▲35.90 |
Add New Post /wp-admin/post-new.php | 13.84 ▲6.87 | 129.90 ▼1,198.02 |
Media Library /wp-admin/upload.php | 10.26 ▲6.96 | 60.99 ▲36.64 |
Freemius Debug [v.2.4.0.1] /wp-admin/admin.php?page=freemius | 10.48 | 61.82 |
Server storage [IO: ▲12.88MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 439 new files
Database: no new tables, 5 new options
New WordPress options |
---|
fs_accounts |
fs_active_plugins |
fs_gdpr |
acf_version |
fs_debug_mode |
Browser metrics Passed 4 tests
An overview of browser requirements for Clean Social Icons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,994 ▲250 | 17.54 ▲1.48 | 9.59 ▲3.56 | 2.28 ▼0.18 |
Dashboard /wp-admin | 3,010 ▲159 | 7.76 ▲1.60 | 135.19 ▼3.58 | 174.61 ▲8.96 |
Posts /wp-admin/edit.php | 2,808 ▲114 | 4.26 ▲1.03 | 94.65 ▲30.33 | 158.21 ▲13.56 |
Add New Post /wp-admin/post-new.php | 1,677 ▲16 | 21.95 ▲6.43 | 452.22 ▲18.06 | 167.45 ▲14.65 |
Media Library /wp-admin/upload.php | 1,827 ▲129 | 6.03 ▲0.49 | 143.65 ▲5.60 | 204.85 ▲20.39 |
Freemius Debug [v.2.4.0.1] /wp-admin/admin.php?page=freemius | 1,526 | 3.61 | 69.26 | 112.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/clean-social-icons/freemius/includes/class-freemius.php+8536
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 5 options in the database
- fs_debug_mode
- fs_accounts
- acf_version
- fs_gdpr
- fs_active_plugins
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/clean-social-icons/freemius/templates/ajax-loader.php
- 87× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/clean-social-icons/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clean-social-icons/vendor/acf/includes/upgrades.php:450
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/clean-social-icons/vendor/acf/includes/fields/class-acf-field-link.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_get_location_rule_types() in wp-content/plugins/clean-social-icons/vendor/acf/includes/admin/views/html-location-rule.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/clean-social-icons/vendor/acf/includes/admin/views/html-admin-page-upgrade.php:26
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/clean-social-icons/vendor/acf/includes/fields/class-acf-field-textarea.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/clean-social-icons/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: field in wp-content/plugins/clean-social-icons/vendor/acf/includes/admin/views/field-group-field.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/clean-social-icons/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/clean-social-icons/vendor/acf/includes/admin/views/html-admin-page-upgrade-network.php:24
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in clean-social-icons/assets to your readme.txt
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
clean-social-icons/clean-social-icons.php Passed 13 tests
The main PHP file in "Clean Social Icons" ver. 0.9.11 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Adds clean and elegant social icons to your website
Code Analysis 97% from 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
There were no executable files found in this plugin132,579 lines of code in 331 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 31 | 23,342 | 38,615 | 49,060 |
PHP | 252 | 17,858 | 33,952 | 46,687 |
JavaScript | 17 | 6,744 | 6,701 | 22,481 |
SVG | 4 | 18 | 12 | 9,329 |
CSS | 26 | 1,727 | 88 | 4,898 |
JSON | 1 | 0 | 0 | 124 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,885)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 33.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,885.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 156 | |
▷ Abstract classes | 2 | 1.28% |
▷ Concrete classes | 154 | 98.72% |
▷ Final classes | 0 | 0.00% |
Methods | 1,813 | |
▷ Static methods | 176 | 9.71% |
▷ Public methods | 1,466 | 80.86% |
▷ Protected methods | 15 | 0.83% |
▷ Private methods | 332 | 18.31% |
Functions | 517 | |
▷ Named functions | 517 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 138 | |
▷ Global constants | 113 | 81.88% |
▷ Class constants | 25 | 18.12% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/acf/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
vendor/acf/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
vendor/acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
vendor/acf/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |