Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.68MB] [CPU: ▼289.92ms] 75% from 4 tests
Analyzing server-side resources used by CM Curated List Manager
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 1,390.32ms on /wp-admin/admin.php?page=cmlm-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.72 | 58.54 ▲1.37 |
Dashboard /wp-admin | 4.09 ▲0.68 | 36.55 ▲1.35 |
Posts /wp-admin/edit.php | 4.32 ▲0.67 | 44.25 ▲3.94 |
Add New Post /wp-admin/post-new.php | 7.62 ▲0.64 | 97.72 ▼1,165.08 |
Media Library /wp-admin/upload.php | 4.04 ▲0.74 | 27.80 ▲2.70 |
Options /wp-admin/admin.php?page=cmlm-options | 4.21 | 1,390.32 |
Upgrade ➤ /wp-admin/admin.php?page=cmlm_pro | 4.02 | 26.33 |
Categories /wp-admin/edit-tags.php?taxonomy=cmlm_category | 4.04 | 28.04 |
Links /wp-admin/edit-tags.php?taxonomy=cmlm_link | 4.05 | 29.38 |
User Guide /wp-admin/admin.php?page=cmlm_about | 4.15 | 25.37 |
Server storage [IO: ▲0.89MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 80 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for CM Curated List Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,846 ▲124 | 16.19 ▲0.48 | 7.25 ▲1.38 | 2.14 ▼0.12 |
Dashboard /wp-admin | 2,945 ▲87 | 6.08 ▼0.16 | 116.70 ▼24.90 | 173.02 ▲6.57 |
Posts /wp-admin/edit.php | 2,741 ▲47 | 3.24 ▲0.01 | 63.94 ▲1.22 | 148.12 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,693 ▲19 | 16.14 ▼6.28 | 403.89 ▼36.41 | 151.97 ▼9.43 |
Media Library /wp-admin/upload.php | 1,751 ▲53 | 5.51 ▲0.10 | 144.29 ▲7.82 | 197.89 ▲9.34 |
Options /wp-admin/admin.php?page=cmlm-options | 3,200 | 6.00 | 137.25 | 280.89 |
Upgrade ➤ /wp-admin/admin.php?page=cmlm_pro | 1,535 | 3.45 | 63.73 | 171.18 |
Categories /wp-admin/edit-tags.php?taxonomy=cmlm_category | 1,654 | 3.17 | 68.33 | 130.92 |
Links /wp-admin/edit-tags.php?taxonomy=cmlm_link | 1,708 | 2.91 | 67.58 | 128.30 |
User Guide /wp-admin/admin.php?page=cmlm_about | 5,588 | 13.76 | 361.16 | 253.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 0% 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/admin.php?page=cmlm_about
- > Warning in wp-content/plugins/cm-curated-list-manager/bundle/licensing/cminds-free.php+2989
mysqli_get_server_info() expects exactly 1 parameter, 0 given
SRP 0% 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
- 3× GET requests to PHP files return non-empty strings:
- > /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
- > /wp-content/plugins/cm-curated-list-manager/views/backend/taxonomies/common/quick_edit_custom_box.php
- 22× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\listmanager\\App' not found in wp-content/plugins/cm-curated-list-manager/views/backend/taxonomies/link/edit_form_fields.php:11
- > 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
Uncaught Error: Class 'com\\cminds\\listmanager\\plugin\\taxonomies\\TaxonomyAbstract' not found in wp-content/plugins/cm-curated-list-manager/plugin/taxonomies/LinkTaxonomy.php:12
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\listmanager\\App' not found in wp-content/plugins/cm-curated-list-manager/views/backend/options/template.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function com\\cminds\\listmanager\\plugin_dir_path() in wp-content/plugins/cm-curated-list-manager/cm-list-manager.php:20
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\listmanager\\App' not found in wp-content/plugins/cm-curated-list-manager/views/frontend/shortcodes/error.php:6
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\listmanager\\App' not found in wp-content/plugins/cm-curated-list-manager/bundle/licensing/cminds-plugin-config.php:6
- > 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 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 Notice
Undefined variable: submenus in wp-content/plugins/cm-curated-list-manager/views/backend/options/nav.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-options
- > Other (warning) in unknown
/wp-admin/admin.php?page=cmlm-options 869 Allow attribute will take precedence over 'allowfullscreen'.
- > GET request to /wp-admin/admin.php?page=cmlm_about
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yK/r/0vXAIXjdJnT.js?_nc_x=Ij3Wp8lg5Kz 57:562 "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
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #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
The primary PHP file in "CM Curated List Manager" version 1.1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("cm-curated-list-manager.php" instead of "cm-list-manager.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected5,737 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 848 | 375 | 4,847 |
CSS | 4 | 93 | 8 | 717 |
JavaScript | 7 | 23 | 18 | 173 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 22.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 248.00 |
Average method complexity | 3.15 |
▷ 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
PNG files should be compressed to save space and minimize bandwidth usage
36 PNG files occupy 0.50MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bundle/licensing/views/img/Vector.png | 0.54KB | 0.43KB | ▼ 19.31% |
bundle/licensing/css/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
bundle/licensing/css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |
bundle/licensing/views/WPmembership.png | 35.89KB | 11.14KB | ▼ 68.95% |
bundle/licensing/views/img/v2.png | 0.38KB | 0.37KB | ▼ 1.79% |