Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.80ms] 75% from 4 tests
An overview of server-side resources used by CM Curated List Manager
It is recommended to improve the following
- CPU: You should keep total CPU usage under 500.00ms (currently 975.73ms on /wp-admin/admin.php?page=cmlm-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 41.60 ▼2.97 |
Dashboard /wp-admin | 3.54 ▲0.24 | 54.96 ▲2.00 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 51.89 ▼0.76 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 90.12 ▼9.45 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.32 ▲6.26 |
Options /wp-admin/admin.php?page=cmlm-options | 3.65 | 975.73 |
Upgrade ➤ /wp-admin/admin.php?page=cmlm_pro | 3.43 | 36.66 |
Categories /wp-admin/edit-tags.php?taxonomy=cmlm_category | 3.40 | 41.94 |
User Guide /wp-admin/admin.php?page=cmlm_about | 3.54 | 425.44 |
Links /wp-admin/edit-tags.php?taxonomy=cmlm_link | 3.44 | 41.50 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 82 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for CM Curated List Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲69 | 13.18 ▼1.50 | 1.89 ▼0.36 | 45.91 ▼0.25 |
Dashboard /wp-admin | 2,264 ▲64 | 5.85 ▲0.00 | 114.87 ▼8.81 | 44.65 ▼2.26 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 2.01 ▲0.01 | 38.49 ▲3.85 | 42.14 ▲8.80 |
Add New Post /wp-admin/post-new.php | 1,577 ▲32 | 23.24 ▲0.09 | 681.26 ▲40.63 | 60.78 ▼4.25 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.21 ▲0.00 | 105.15 ▼1.57 | 45.95 ▼3.26 |
Options /wp-admin/admin.php?page=cmlm-options | 2,317 | 8.22 | 69.56 | 83.97 |
Upgrade ➤ /wp-admin/admin.php?page=cmlm_pro | 1,867 | 2.09 | 36.65 | 95.51 |
Categories /wp-admin/edit-tags.php?taxonomy=cmlm_category | 1,263 | 2.07 | 46.54 | 34.52 |
User Guide /wp-admin/admin.php?page=cmlm_about | 3,994 | 17.89 | 378.05 | 172.30 |
Links /wp-admin/edit-tags.php?taxonomy=cmlm_link | 1,305 | 2.32 | 37.06 | 31.88 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cm-curated-list-manager/views/backend/taxonomies/common/quick_edit_custom_box.php
- > /wp-content/plugins/cm-curated-list-manager/views/backend/options/nav.php
- > /wp-content/plugins/cm-curated-list-manager/views/backend/taxonomies/common/quick_edit_custom_box_raw.php
- 23× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/cm-curated-list-manager/package/views/plugin_compare_table.php:51
- > PHP Notice
Undefined variable: type in wp-content/plugins/cm-curated-list-manager/views/backend/taxonomies/common/quick_edit_custom_box.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/cm-curated-list-manager/views/backend/options/options.php:10
- > PHP Notice
Undefined variable: input_html in wp-content/plugins/cm-curated-list-manager/views/backend/taxonomies/common/quick_edit_custom_box_raw.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\listmanager\\plugin\\taxonomies\\TaxonomyAbstract' not found in wp-content/plugins/cm-curated-list-manager/plugin/taxonomies/LinkTaxonomy.php:11
- > PHP Notice
Undefined variable: title in wp-content/plugins/cm-curated-list-manager/views/backend/taxonomies/common/quick_edit_custom_box_raw.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cm-curated-list-manager/package/cminds-plugin-config.php:3
- > PHP Fatal error
Uncaught Error: Class 'Walker_Category' not found in wp-content/plugins/cm-curated-list-manager/plugin/frontend/walkers/LinkWalker.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cm-curated-list-manager/package/cminds-plugin-config.php:3
- > PHP Notice
Undefined variable: name in wp-content/plugins/cm-curated-list-manager/views/backend/taxonomies/common/quick_edit_custom_box.php on line 6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=cmlm_about
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=cmlm_about
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=cmlm_about
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/y7/r/kOkd6HZtIYJ.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=cmlm_about
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/y7/r/kOkd6HZtIYJ.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in cm-curated-list-manager/assets to your readme.txt
cm-curated-list-manager/cm-list-manager.php 85% from 13 tests
"CM Curated List Manager" version 1.1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 179 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("cm-curated-list-manager.php" instead of "cm-list-manager.php")
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
There were no executable files found in this plugin6,175 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 853 | 378 | 5,285 |
CSS | 4 | 93 | 8 | 717 |
JavaScript | 7 | 23 | 18 | 173 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 254.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 2 | 12.50% |
▷ Concrete classes | 14 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 21 | 13.12% |
▷ Public methods | 139 | 86.88% |
▷ Protected methods | 15 | 9.38% |
▷ Private methods | 6 | 3.75% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 23 | |
▷ Global constants | 1 | 4.35% |
▷ Class constants | 22 | 95.65% |
▷ Public constants | 22 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
37 PNG files occupy 0.53MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
package/css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
package/CMWPPluginssuite.png | 33.88KB | 12.59KB | ▼ 62.83% |
package/css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
package/views/banner_yearly-membership_220px.png | 31.34KB | 10.91KB | ▼ 65.19% |
package/css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |