100% enquiry-woo

Code Review | Enquiry Woo

WordPress plugin Enquiry Woo scored 100% from 54 tests.

About plugin

  • Plugin page: enquiry-woo
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.8.2
  • WordPress version: 5.8.1
  • First release: Oct 11, 2017
  • Latest release: Oct 12, 2017
  • Number of updates: 7
  • Update frequency: every 0.1 days
  • Top authors: valentinogagliardi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 736 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /2.83 ▲0.0043.97 ▲9.81
Dashboard /wp-admin3.06 ▲0.0046.35 ▼1.68
Posts /wp-admin/edit.php3.11 ▲0.0044.07 ▲0.04
Add New Post /wp-admin/post-new.php5.42 ▼0.0289.62 ▼566.02
Media Library /wp-admin/upload.php3.00 ▲0.0033.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.94 ▲0.348.41 ▼1.2244.34 ▼7.30
Dashboard /wp-admin2,995 ▲646.11 ▲0.17161.89 ▲9.86110.99 ▼3.71
Posts /wp-admin/edit.php2,736 ▼32.72 ▲0.0175.11 ▲7.3482.09 ▼8.55
Add New Post /wp-admin/post-new.php1,683 ▼018.72 ▲2.51392.62 ▼11.80108.93 ▲0.86
Media Library /wp-admin/upload.php1,810 ▲35.05 ▲0.01150.24 ▼2.03116.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


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:
LanguageFilesBlank linesComment linesLines of code
PO File1141747

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 code0.15
Average class complexity3.00
▷ Minimum class complexity1.00
▷ Maximum class complexity9.00
Average method complexity1.47
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods310.00%
▷ Public methods2583.33%
▷ Protected methods00.00%
▷ Private methods516.67%
▷ Named functions4100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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