90% bamboo-enquiries

Code Review | Bamboo Enquiries

WordPress plugin Bamboo Enquiries scored90%from 54 tests.

About plugin

  • Plugin page: bamboo-enquiries
  • Plugin version: 1.9.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.0
  • WordPress version: 6.3.1
  • First release: Aug 12, 2014
  • Latest release: Mar 2, 2018
  • Number of updates: 34
  • Update frequency: every 38.2 days
  • Top authors: bamboosolutions (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /2,101 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼5.25ms] Passed 4 tests

A check of server-side resources used by Bamboo Enquiries
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0446.51 ▲4.85
Dashboard /wp-admin3.34 ▲0.0352.14 ▼2.29
Posts /wp-admin/edit.php3.39 ▲0.0346.62 ▼5.53
Add New Post /wp-admin/post-new.php5.92 ▲0.0393.82 ▼13.32
Media Library /wp-admin/upload.php3.26 ▲0.0338.99 ▲0.16

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Bamboo Enquiries
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,901 ▲11513.45 ▼0.9611.93 ▲9.9242.22 ▼5.20
Dashboard /wp-admin2,195 ▲185.53 ▼0.0785.67 ▼6.9446.23 ▲4.25
Posts /wp-admin/edit.php2,100 ▼32.00 ▲0.0034.96 ▼3.9837.42 ▼0.80
Add New Post /wp-admin/post-new.php1,527 ▲122.76 ▼0.68653.33 ▼45.1456.88 ▼5.79
Media Library /wp-admin/upload.php1,400 ▼04.22 ▲0.0695.64 ▼19.2047.15 ▼0.57

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: shortcodes, contact form, enquiries

bamboo-enquiries/bamboo-enquiries.php Passed 13 tests

Analyzing the main PHP file in "Bamboo Enquiries" version 1.9.3
116 characters long description:
Turn any web form into a flexible enquiry form, enabling you to have multiple enquiry forms throughout your website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected356 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity22.50
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity6.38
▷ Minimum method complexity1.00
▷ Maximum method complexity32.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods562.50%
▷ Protected methods00.00%
▷ Private methods337.50%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin