Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.74ms] Passed 4 tests
Server-side resources used by Contact Me Icon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.05 ▼3.22 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.17 ▼6.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.99 ▼6.51 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.68 ▼15.05 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.61 ▼2.83 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Me Icon
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.37 ▼1.28 | 9.21 ▲7.46 | 49.97 ▲5.93 |
Dashboard /wp-admin | 2,215 ▲27 | 5.85 ▼0.03 | 102.78 ▼10.77 | 40.97 ▼4.12 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.01 ▼0.04 | 33.56 ▼6.79 | 35.29 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.37 ▲4.98 | 682.42 ▲40.55 | 52.61 ▲0.95 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.37 ▲0.12 | 93.58 ▼5.48 | 39.97 ▼1.97 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-me-icon/contactmeicon.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: whatsapp business, contact me icon, whatsapp plugin, click to chat, whatsapp chat...
contact-me-icon/contactmeicon.php 85% from 13 tests
Analyzing the main PHP file in "Contact Me Icon" version 1.0.0
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("5.2" instead of "5.6")
- Main file name: The principal plugin file should be the same as the plugin slug ("contact-me-icon.php" instead of "contactmeicon.php")
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
There were no executable files found in this plugin117 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 20 | 78 |
CSS | 1 | 4 | 0 | 39 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png.png | 6.44KB | 2.50KB | ▼ 61.16% |
assets/icon-128x128.png | 2.97KB | 1.04KB | ▼ 65.03% |
assets/banner-772x250.png | 55.83KB | 20.44KB | ▼ 63.38% |
assets/banner-772x250-rtl.png | 55.83KB | 20.44KB | ▼ 63.38% |