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.58MB] [CPU: ▼24.13ms] Passed 4 tests
A check of server-side resources used by With Melty Support
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 43.46 ▼2.01 |
Dashboard /wp-admin | 3.35 ▲0.04 | 31.87 ▼14.98 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 38.00 ▼15.15 |
Add New Post /wp-admin/post-new.php | 3.33 ▼2.56 | 39.45 ▼59.15 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 28.66 ▼7.24 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for With Melty Support
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 13.79 ▼0.82 | 1.73 ▼0.17 | 42.67 ▲0.23 |
Dashboard /wp-admin | 2,329 ▲141 | 5.05 ▲0.14 | 107.43 ▼19.41 | 40.15 ▼1.19 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.26 ▲0.24 | 40.94 ▼3.43 | 31.73 ▼6.97 |
Add New Post /wp-admin/post-new.php | 6,301 ▲4,773 | 21.75 ▼1.43 | 860.48 ▲178.10 | 38.92 ▼14.82 |
Media Library /wp-admin/upload.php | 1,414 ▲32 | 4.37 ▲0.12 | 103.83 ▲3.97 | 43.67 ▲1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/with-melty-support/includes/control/control.php:101
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/with-melty-support/includes/wms-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/with-melty-support/admin/php/admin-post.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/with-melty-support/includes/wms-box.php:93
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/with-melty-support/with-melty-support.php on line 17
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/with-melty-support/with-melty-support.php on line 18
- > PHP Fatal error
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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Image in the dashboard. All posts tab.), #2 (Image in the dashboard. Control tab.), #3 (Image in the edit page of post. Custom fields tab.)
with-melty-support/with-melty-support.php Passed 13 tests
The entry point to "With Melty Support" version 1.0.1 is a PHP file that has certain tags in its header comment area
80 characters long description:
Support WordPress and You. Make list of All posts, Support to use Custom fields.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected2,494 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 298 | 215 | 1,414 |
JavaScript | 6 | 154 | 122 | 885 |
CSS | 4 | 5 | 12 | 149 |
HTML | 2 | 0 | 0 | 46 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 49 | |
▷ Named functions | 49 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 24.95KB | 12.82KB | ▼ 48.62% |
screenshot-3.png | 39.74KB | 19.58KB | ▼ 50.73% |
screenshot-2.png | 28.76KB | 14.17KB | ▼ 50.73% |