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
Installer ran successfully
Server metrics [RAM: ▼0.22MB] [CPU: ▼17.17ms] Passed 4 tests
This is a short check of server-side resources used by Clip Path Maker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.41 ▼1.50 |
Dashboard /wp-admin | 3.08 ▼0.23 | 26.32 ▼26.19 |
Posts /wp-admin/edit.php | 3.22 ▼0.14 | 35.11 ▼14.89 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.43 | 71.75 ▼20.52 |
Media Library /wp-admin/upload.php | 3.16 ▼0.07 | 27.95 ▼7.06 |
Clip Path Maker /wp-admin/admin.php?page=clippathmaker | 3.06 | 24.90 |
More /wp-admin/admin.php?page=clippathmaker-more | 3.06 | 24.36 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Clip Path Maker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.26 ▼0.01 | 1.90 ▲0.13 | 37.71 ▼3.72 |
Dashboard /wp-admin | 2,222 ▲45 | 5.58 ▼0.09 | 90.91 ▲5.16 | 38.36 ▼2.69 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.01 ▲0.07 | 38.80 ▼1.00 | 35.49 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,551 ▲16 | 23.36 ▲5.34 | 647.83 ▼11.25 | 51.89 ▼16.74 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.24 ▲0.10 | 98.46 ▼5.96 | 40.99 ▼8.08 |
Clip Path Maker /wp-admin/admin.php?page=clippathmaker | 1,780 | 2.79 | 61.18 | 43.80 |
More /wp-admin/admin.php?page=clippathmaker-more | 869 | 1.96 | 25.17 | 30.07 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clippathmaker-more
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
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 take a closer look at the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/clip-path-maker/uninstall.php
- > /wp-content/plugins/clip-path-maker/inc/clippathmaker-cmsoon.php
- > /wp-content/plugins/clip-path-maker/clippathmaker.php
- > /wp-content/plugins/clip-path-maker/inc/db.php
- > /wp-content/plugins/clip-path-maker/inc/clippathmaker-structure.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant VFCPM_PLUGIN_URL - assumed 'VFCPM_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/clip-path-maker/inc/clippathmaker-structure.php on line 397
- > PHP Warning
Use of undefined constant VFCPM_PLUGIN_URL - assumed 'VFCPM_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/clip-path-maker/inc/clippathmaker-structure.php on line 396
- > PHP Warning
Use of undefined constant VFCPM_PLUGIN_URL - assumed 'VFCPM_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/clip-path-maker/inc/clippathmaker-structure.php on line 390
- > PHP Warning
Use of undefined constant VFCPM_PLUGIN_URL - assumed 'VFCPM_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/clip-path-maker/inc/clippathmaker-structure.php on line 398
- > PHP Warning
Use of undefined constant VFCPM_PLUGIN_URL - assumed 'VFCPM_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/clip-path-maker/inc/clippathmaker-structure.php on line 399
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Contributors: Plugin contributors not specified
- Screenshots: Please a description for screenshot #5 in clip-path-maker/assets to your readme.txt
clip-path-maker/clippathmaker.php 85% from 13 tests
The main PHP script in "Clip Path Maker" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("clip-path-maker.php" instead of "clippathmaker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin4,077 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 264 | 4 | 2,171 |
JavaScript | 3 | 240 | 182 | 1,404 |
PHP | 6 | 26 | 22 | 502 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin