Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.57ms] Passed 4 tests
An overview of server-side resources used by Custom Post Type List Field For Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 46.26 ▲1.65 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.90 ▼6.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.15 ▲0.34 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.72 ▼1.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.00 ▼2.81 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 66 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Post Type List Field For Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.35 ▼0.08 | 1.84 ▼0.04 | 41.52 ▼4.04 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▲0.01 | 85.41 ▼22.38 | 39.75 ▼4.53 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.03 | 39.95 ▲3.63 | 35.50 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.28 ▲0.16 | 644.62 ▲5.20 | 65.17 ▲8.66 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.06 | 96.79 ▼14.84 | 41.56 ▼6.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/custom-post-type-list-field-for-contact-form-7/custom-post-type-list-field-cf7.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-post-type-list-field-for-contact-form-7/main/resources/cptlfcf7-language.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-post-type-list-field-for-contact-form-7/main/resources/cptlfcf7-load-js-css.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-post-type-list-field-for-contact-form-7/main/resources/cptlfcf7-installation-require.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Contributors: Contributors not specified
custom-post-type-list-field-for-contact-form-7/custom-post-type-list-field-cf7.php 92% from 13 tests
The entry point to "Custom Post Type List Field For Contact Form 7" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("custom-post-type-list-field-for-contact-form-7.php" instead of "custom-post-type-list-field-cf7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected10,299 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 53 | 2,444 | 651 | 9,320 |
CSS | 4 | 59 | 0 | 516 |
PHP | 6 | 73 | 26 | 463 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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 were not PNG files found in your plugin