Benchmarks
Plugin footprint 65% 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.58MB] [CPU: ▼29.06ms] Passed 4 tests
Server-side resources used by Customizing - Post Types, Taxonomies & Fields
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.96 ▼3.85 |
Dashboard /wp-admin | 3.41 ▲0.10 | 29.59 ▼19.09 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 29.42 ▼18.47 |
Add New Post /wp-admin/post-new.php | 3.41 ▼2.48 | 28.32 ▼73.78 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 27.84 ▼4.90 |
Customizing Settings /wp-admin/admin.php?page=customizing-settings | 3.41 | 27.51 |
All Custom Boxes /wp-admin/edit.php?post_type=cff-custom-box | 3.41 | 26.39 |
All Custom Taxonomies /wp-admin/edit.php?post_type=cff-custom-taxonomy | 3.41 | 26.82 |
All Custom Types /wp-admin/edit.php?post_type=cff-custom-type | 3.41 | 26.57 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 10 new options
New WordPress options |
---|
cff-custom-user-boxes |
cff-custom-boxes |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
cff-custom-types |
cff-custom-taxonomies |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Customizing - Post Types, Taxonomies & Fields
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 13.16 ▼1.52 | 1.69 ▼0.20 | 44.77 ▼4.32 |
Dashboard /wp-admin | 2,249 ▲61 | 4.89 ▼0.15 | 98.94 ▼10.35 | 41.08 ▼3.65 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.23 ▲0.26 | 36.26 ▼5.23 | 34.06 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 23.20 ▲4.77 | 580.74 ▼86.96 | 33.88 ▼15.51 |
Media Library /wp-admin/upload.php | 1,428 ▲46 | 4.17 ▼0.02 | 101.84 ▲2.93 | 42.90 ▲0.20 |
Customizing Settings /wp-admin/admin.php?page=customizing-settings | 902 | 1.81 | 24.39 | 27.39 |
All Custom Boxes /wp-admin/edit.php?post_type=cff-custom-box | 1,097 | 2.16 | 29.30 | 28.62 |
All Custom Taxonomies /wp-admin/edit.php?post_type=cff-custom-taxonomy | 1,103 | 2.17 | 32.34 | 27.09 |
All Custom Types /wp-admin/edit.php?post_type=cff-custom-type | 1,097 | 2.17 | 32.98 | 30.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/customizing/includes/custom-settings.php+53
Undefined index: menu
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=cff-custom-type
- > Notice in wp-content/plugins/customizing/includes/custom-settings.php+53
Undefined index: menu
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=cff-custom-type
- > Notice in wp-content/plugins/customizing/includes/custom-settings.php+69
Undefined index: icon
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=cff-custom-type
- > Notice in wp-content/plugins/customizing/includes/custom-settings.php+70
Undefined index: position
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/custom-settings.php+104
Undefined index: slabel
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/fields-functions.php+33
Undefined index: classes
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/fields-functions.php+45
Undefined index: span
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/fields-functions.php+54
Undefined index: label
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/fields-functions.php+191
Undefined index: repeatable
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+57
Undefined index: group
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+61
Undefined index: index
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+153
Undefined index: multiple
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+153
Undefined index: readonly
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+153
Undefined index: required
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+153
Undefined index: disabled
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+153
Undefined index: autofocus
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+159
Undefined index: placeholder
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+159
Undefined index: pattern
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+159
Undefined index: min
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+159
Undefined index: max
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+159
Undefined index: step
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+162
Undefined index: autocomplete
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: onblur
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: onchange
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: oncontextmenu
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: onfocus
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: oninput
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: oninvalid
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: onreset
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: onsearch
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: onselect
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=customizing-settings
- > Notice in wp-content/plugins/customizing/includes/functions.php+178
Undefined index: onsubmit
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=cff-custom-type
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/customizing/includes/custom-types.php+277
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/customizing/includes/custom-taxonomies.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/customizing/includes/custom-types.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customizing/includes/meta-boxes.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customizing/includes/fields-functions.php:72
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customizing/includes/user-meta-boxes.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customizing/includes/custom-settings.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/customizing/includes/custom-user-boxes.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function cff_add_custom_field() in wp-content/plugins/customizing/includes/custom-fields.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/customizing/includes/custom-boxes.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: type, field, post, taxonomy, custom
customizing/customizing.php Passed 13 tests
"Customizing - Post Types, Taxonomies & Fields" version 2.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
55 characters long description:
Custom post types, taxonomies and fields for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected2,186 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 134 | 491 | 2,004 |
CSS | 1 | 4 | 6 | 143 |
JavaScript | 1 | 7 | 0 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 70 | |
▷ Named functions | 69 | 98.57% |
▷ Anonymous functions | 1 | 1.43% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin