90% bamboo-testimonials

Code Review | Bamboo Testimonails

WordPress plugin Bamboo Testimonails scored90%from 54 tests.

About plugin

  • Plugin page: bamboo-testimonials
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.0
  • WordPress version: 6.3.1
  • First release: Oct 2, 2014
  • Latest release: Mar 2, 2018
  • Number of updates: 25
  • Update frequency: every 49.9 days
  • Top authors: bamboosolutions (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /939 total downloads


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.03MB] [CPU: ▼3.27ms] Passed 4 tests

Analyzing server-side resources used by Bamboo Testimonails
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0342.94 ▼6.73
Dashboard /wp-admin3.34 ▲0.0351.12 ▲1.60
Posts /wp-admin/edit.php3.39 ▲0.0352.05 ▼4.49
Add New Post /wp-admin/post-new.php5.92 ▲0.0393.66 ▼3.46
Media Library /wp-admin/upload.php3.26 ▲0.0340.00 ▲5.09
All Testimonials /wp-admin/edit.php?post_type=bamboo_testimonial3.3037.85
Add New /wp-admin/post-new.php?post_type=bamboo_testimonial3.3852.18

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Bamboo Testimonails
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5814.67 ▲0.391.66 ▼0.0242.91 ▲2.18
Dashboard /wp-admin2,216 ▲395.55 ▼0.0690.34 ▼1.1139.93 ▼3.69
Posts /wp-admin/edit.php2,124 ▲211.95 ▼0.0635.70 ▼4.6636.90 ▼3.19
Add New Post /wp-admin/post-new.php1,558 ▲3223.02 ▼0.59669.96 ▲14.4651.83 ▼3.41
Media Library /wp-admin/upload.php1,430 ▲304.18 ▲0.0099.12 ▼4.7648.52 ▲5.28
All Testimonials /wp-admin/edit.php?post_type=bamboo_testimonial1,0911.9630.6833.35
Add New /wp-admin/post-new.php?post_type=bamboo_testimonial2,1757.55173.9562.86

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
The SRP test was a success

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: shortcodes, testimonials, custom post type

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

"Bamboo Testimonails" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
68 characters long description:
Easily manage testimonials and display them throughout your website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin77 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions6100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin