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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.72ms] Passed 4 tests
A check of server-side resources used by Fixed Chat Icons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 41.29 ▲0.71 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.85 ▲3.58 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.76 ▼3.66 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 83.59 ▼11.52 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 43.57 ▲9.22 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Fixed Chat Icons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 13.48 ▼0.89 | 9.32 ▲7.37 | 39.75 ▼0.18 |
Dashboard /wp-admin | 2,213 ▲36 | 5.62 ▲0.06 | 89.49 ▼2.18 | 96.52 ▲58.29 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.03 ▲0.07 | 40.52 ▲3.07 | 30.34 ▼7.75 |
Add New Post /wp-admin/post-new.php | 1,706 ▲170 | 24.46 ▲1.26 | 613.20 ▲4.63 | 80.96 ▲7.95 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.17 ▼0.03 | 100.81 ▼5.59 | 86.12 ▲42.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% 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 0% 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 items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/fixed-chat-icons/public/partials/fixed-chat-icons-public-display.php
- > /wp-content/plugins/fixed-chat-icons/admin/partials/fixed-chat-icons-admin-display.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/fixed-chat-icons/admin/partials/fixed-chat-icons-admin-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/fixed-chat-icons/admin/partials/fixed-chat-icons-admin-footer.php:3
- > PHP Fatal error
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 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #5 (Mobile with only WhatsApp) image required
- Donate link: Please fix this invalid URI: "berkaydemir.com"
fixed-chat-icons/fixed-chat-icons.php Passed 13 tests
Analyzing the main PHP file in "Fixed Chat Icons" version 2.0
63 characters long description:
Wordpress Social Media Contact Plugin (WhatsApp, Telegram, ...)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin958 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 170 | 498 | 579 |
JavaScript | 2 | 52 | 27 | 274 |
CSS | 4 | 0 | 6 | 105 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 1.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 33 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.16% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.44MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/instagram.png | 250.19KB | 134.72KB | ▼ 46.15% |
admin/img/messenger.png | 42.54KB | 17.57KB | ▼ 58.71% |
admin/img/chat.png | 27.45KB | 8.40KB | ▼ 69.39% |
admin/img/phone.png | 20.79KB | 7.62KB | ▼ 63.35% |
admin/img/male.png | 17.40KB | 6.65KB | ▼ 61.78% |