Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼143.94ms] Passed 4 tests
This is a short check of server-side resources used by Product And Custom Post type Dropdown CF7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 41.53 ▲21.20 |
Dashboard /wp-admin | 3.06 ▲0.00 | 40.50 ▲1.30 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 44.09 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 86.47 ▼567.19 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 24.87 ▼8.86 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 65 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Product And Custom Post type Dropdown CF7: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,696 ▲100 | 16.35 ▲0.48 | 8.13 ▼2.89 | 48.58 ▲3.23 |
Dashboard /wp-admin | 2,970 ▲33 | 6.07 ▼0.12 | 134.54 ▼6.52 | 100.40 ▼15.30 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.69 ▼0.00 | 63.76 ▼4.17 | 85.11 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,615 ▼57 | 21.49 ▲2.65 | 271.35 ▼106.29 | 95.52 ▼16.38 |
Media Library /wp-admin/upload.php | 1,807 ▼18 | 5.02 ▲0.02 | 155.72 ▲25.41 | 121.76 ▼1.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woo-product-and-custom-post-type-dropdown-cf7/woo-product-and-custom-post-type-dropdown-cf7.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in woo-product-and-custom-post-type-dropdown-cf7/assets to your readme.txt
- Contributors: Plugin contributors not specified
woo-product-and-custom-post-type-dropdown-cf7/woo-product-and-custom-post-type-dropdown-cf7.php Passed 13 tests
This is the main PHP file of "Product And Custom Post type Dropdown CF7" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
64 characters long description:
Create post List and woocommerce product list in contact form 7.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin10,814 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 53 | 2,451 | 651 | 9,401 |
PHP | 5 | 159 | 25 | 909 |
CSS | 4 | 57 | 0 | 504 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 26.20 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 5 | 18.52% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/star.png | 39.75KB | 10.35KB | ▼ 73.95% |