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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▼9.51ms] Passed 4 tests
This is a short check of server-side resources used by Customizer Social Icons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 49.41 ▲7.38 |
Dashboard /wp-admin | 3.50 ▲0.20 | 50.75 ▼13.52 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 49.08 ▼2.50 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 91.43 ▼25.59 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 40.51 ▲3.59 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Customizer Social Icons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.30 | 1.82 ▲0.06 | 43.71 ▲1.94 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▲0.06 | 91.86 ▼4.46 | 40.89 ▼1.04 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.02 ▼0.14 | 38.50 ▲2.17 | 34.83 ▲1.73 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.16 ▲0.10 | 610.54 ▼20.03 | 51.44 ▲6.34 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.20 ▲0.02 | 100.25 ▼4.45 | 41.99 ▼9.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'Customizer_Social_Icons_Configs_Interface' not found in wp-content/plugins/customizer-social-icons/includes/class-customizer-social-icons-configs.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_normalize_path() in wp-content/plugins/customizer-social-icons/customizer-social-icons.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_normalize_path() in wp-content/plugins/customizer-social-icons/includes/configs/base.config.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Screenshot #7 (**Social Icon Colors** - Colors can be changed for your social icons in the WordPress customizer controls as well.) image missing
customizer-social-icons/customizer-social-icons.php Passed 13 tests
The principal PHP file in "Customizer Social Icons" v. 0.4 is loaded by WordPress automatically on each request
92 characters long description:
Add and remove Fontawesome Social Media Icons in menus in the WordPress customizer natively!
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
Success! There were no dangerous files found in this plugin3,700 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 675 | 10 | 1,578 |
PHP | 15 | 148 | 483 | 1,236 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 2 | 35 | 83 | 201 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 5.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 62.50% |
▷ Protected methods | 1 | 2.08% |
▷ Private methods | 17 | 35.42% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin