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
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼141.50ms] Passed 4 tests
Analyzing server-side resources used by Enquiry Woo
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.00 | 43.97 ▲9.81 |
Dashboard /wp-admin | 3.06 ▲0.00 | 46.35 ▼1.68 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 44.07 ▲0.04 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 89.62 ▼566.02 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 33.27 ▲1.65 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Enquiry Woo: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.94 ▲0.34 | 8.41 ▼1.22 | 44.34 ▼7.30 |
Dashboard /wp-admin | 2,995 ▲64 | 6.11 ▲0.17 | 161.89 ▲9.86 | 110.99 ▼3.71 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.72 ▲0.01 | 75.11 ▲7.34 | 82.09 ▼8.55 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.72 ▲2.51 | 392.62 ▼11.80 | 108.93 ▲0.86 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.05 ▲0.01 | 150.24 ▼2.03 | 116.78 ▼1.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
4 plugin tags: enquiry form woocommerce, product enquiry woocommerce, enquiry plugin woocommerce, enquiry form
enquiry-woo/enquiry-woo.php Passed 13 tests
The primary PHP file in "Enquiry Woo" version 1.1 is used by WordPress to initiate all plugin functionality
60 characters long description:
Enquiry Woo adds a contact form to every Woocommerce product
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin352 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 127 | 452 | 305 |
PO File | 1 | 14 | 17 | 47 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
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