Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/cdyne-call-me/cdyne_call_me.php+228
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼64.80ms] Passed 4 tests
Analyzing server-side resources used by CDYNE Call Me Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.56 ▼40.99 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.67 ▼78.28 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 4.98 ▼45.29 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.21 ▼94.64 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.90 ▼31.11 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_cdynecallme |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CDYNE Call Me Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.21 ▼1.03 | 1.90 ▲0.16 | 48.18 ▲1.96 |
Dashboard /wp-admin | 2,221 ▲18 | 4.86 ▼0.01 | 101.48 ▼10.21 | 35.88 ▼5.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▼0.01 | 39.03 ▲1.73 | 35.24 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,544 ▼1 | 22.03 ▼1.14 | 611.45 ▼50.79 | 45.13 ▼48.13 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.25 ▲0.01 | 106.79 ▼0.15 | 46.27 ▼2.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/cdyne-call-me/cdyne_call_me.php+228
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_cdynecallme
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 86% from 29 tests
readme.txt 81% 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 need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== cdyne-call-me ===
) - Tags: You are using too many tags: 23 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Widget Configuration), #2 (Sidebar Widget)
cdyne-call-me/cdyne_call_me.php 92% from 13 tests
The main PHP script in "CDYNE Call Me Widget" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cdyne-call-me.php" instead of "cdyne_call_me.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
No dangerous file extensions were detected195 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 23 | 195 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 34.16KB | 19.07KB | ▼ 44.17% |
screenshot-2.png | 17.65KB | 9.82KB | ▼ 44.36% |