Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/appreplica-social-icons/appreplica-social-icons.php+217
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼64.17ms] Passed 4 tests
Server-side resources used by Appreplica Social Icons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.44 ▼37.11 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.93 ▼38.40 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.31 ▼70.89 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.15 ▼110.29 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.92 ▼27.66 |
Server storage [IO: ▲1.73MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 73 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_appreplica_social_icons |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_appreplicaicons_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Appreplica Social Icons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,055 ▲298 | 15.26 ▲0.85 | 5.69 ▲3.31 | 45.39 ▼4.36 |
Dashboard /wp-admin | 2,373 ▲185 | 6.73 ▲0.83 | 135.54 ▲15.09 | 41.91 ▼1.54 |
Posts /wp-admin/edit.php | 2,273 ▲184 | 3.62 ▲1.55 | 48.27 ▼26.43 | 35.33 ▼30.66 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.60 ▲5.28 | 652.53 ▲20.85 | 37.42 ▼13.66 |
Media Library /wp-admin/upload.php | 1,412 ▲30 | 4.36 ▲0.18 | 100.81 ▼0.90 | 49.51 ▼0.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the appreplicaicons-font-awesome handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie tables detected upon uninstall: 1 table
- wp_appreplica_social_icons
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_appreplicaicons_widget
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/appreplica-social-icons/appreplica-social-icons.php
- > /wp-content/plugins/appreplica-social-icons/appreplica-social-icons-list.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
appreplica-social-icons/appreplica-social-icons.php Passed 13 tests
The primary PHP file in "Appreplica Social Icons" version 1.2 is used by WordPress to initiate all plugin functionality
62 characters long description:
Appreplica Social Icons - add your favorite social media links
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected940 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 225 | 59 | 940 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
70 PNG files occupy 1.69MB with 1.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/1/linkedin.png | 17.27KB | 6.89KB | ▼ 60.12% |
icons/2/podcast.png | 32.42KB | 11.49KB | ▼ 64.57% |
icons/3/linkedin.png | 18.85KB | 7.32KB | ▼ 61.15% |
icons/3/500px.png | 26.54KB | 9.98KB | ▼ 62.40% |
icons/1/instagram.png | 23.95KB | 9.58KB | ▼ 59.98% |