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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.80MB] [CPU: ▼201.34ms] Passed 4 tests
A check of server-side resources used by Plugin Name: ManyChat Widget Planner
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▲0.06 | 28.05 ▼0.45 |
Dashboard /wp-admin | 2.85 ▼0.20 | 21.35 ▼22.28 |
Posts /wp-admin/edit.php | 2.85 ▼0.25 | 19.39 ▼24.45 |
Add New Post /wp-admin/post-new.php | 2.85 ▼2.58 | 25.62 ▼744.56 |
Media Library /wp-admin/upload.php | 2.85 ▼0.15 | 20.76 ▼14.06 |
ManyChat Plugin /wp-admin/options-general.php?page=bp_manychat_fields | 2.85 | 23.72 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Name: ManyChat Widget Planner
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.82 ▲0.23 | 9.29 ▼0.00 | 48.07 ▼0.23 |
Dashboard /wp-admin | 2,994 ▲63 | 6.11 ▼0.06 | 138.49 ▼17.64 | 109.55 ▼3.73 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.01 | 61.25 ▼8.13 | 83.94 ▼5.42 |
Add New Post /wp-admin/post-new.php | 1,675 ▲177 | 18.89 ▲0.04 | 363.42 ▼20.36 | 106.06 ▼10.20 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.06 ▲0.04 | 142.38 ▼6.95 | 115.46 ▼0.37 |
ManyChat Plugin /wp-admin/options-general.php?page=bp_manychat_fields | 1,094 | 2.10 | 57.57 | 85.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/widget-inclusion-for-manychat/mc-to-wp.php+41
date_default_timezone_set(): Timezone ID 'UTC+0' is invalid
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=bp_manychat_fields
- > Notice in wp-content/plugins/widget-inclusion-for-manychat/mc-to-wp.php+41
date_default_timezone_set(): Timezone ID 'UTC+0' is invalid
- > GET request to /wp-admin/options-general.php?page=bp_manychat_fields
- > Notice in wp-content/plugins/widget-inclusion-for-manychat/mc-to-wp.php+234
Undefined index: default
- > GET request to /wp-admin/options-general.php?page=bp_manychat_fields
- > Notice in wp-content/plugins/widget-inclusion-for-manychat/mc-to-wp.php+243
Undefined index: placeholder
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bp_manychat_fields
- > Notice in wp-content/plugins/widget-inclusion-for-manychat/mc-to-wp.php+272
Undefined index: helper
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bp_manychat_fields
- > Notice in wp-content/plugins/widget-inclusion-for-manychat/mc-to-wp.php+266
Undefined offset: 0
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bp_manychat_fields
- > Notice in wp-content/plugins/widget-inclusion-for-manychat/mc-to-wp.php+275
Undefined index: supplimental
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/widget-inclusion-for-manychat/mc-to-wp.php:357
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name: ManyChat Widget Planner ===
) - Donate link: Please fix this invalid URI: ""
widget-inclusion-for-manychat/mc-to-wp.php 92% from 13 tests
This is the main PHP file of "Plugin Name: ManyChat Widget Planner" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("widget-inclusion-for-manychat.php" instead of "mc-to-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected249 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 76 | 249 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 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.11MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 88.27KB | 40.59KB | ▼ 54.01% |
assets/icon-256x256.png | 19.53KB | 8.51KB | ▼ 56.41% |