100% bamboo-slides

Code Review | Bamboo Slides

WordPress plugin Bamboo Slides scored 100% from 54 tests.

About plugin

  • Plugin page: bamboo-slides
  • Plugin version: 1.9.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.0
  • WordPress version: 5.8.1
  • First release: Aug 13, 2014
  • Latest release: Mar 2, 2018
  • Number of updates: 35
  • Update frequency: every 37.1 days
  • Top authors: bamboosolutions (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active / 7,683 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.06MB] [CPU: ▼187.04ms] Passed 4 tests

A check of server-side resources used by Bamboo Slides
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.91 ▲0.0724.09 ▲0.67
Dashboard /wp-admin3.13 ▲0.0639.83 ▲3.98
Posts /wp-admin/edit.php3.18 ▲0.0730.92 ▼22.27
Add New Post /wp-admin/post-new.php5.49 ▲0.0570.29 ▼726.28
Media Library /wp-admin/upload.php3.07 ▲0.0623.23 ▼0.26
All Slides /wp-admin/edit.php?post_type=bamboo_slide3.1122.14
Slide Groups /wp-admin/edit-tags.php?taxonomy=bamboo_slide_group&post_type=bamboo_slide3.0720.97
Add New /wp-admin/post-new.php?post_type=bamboo_slide3.1736.05

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Bamboo Slides
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,883 ▲28216.23 ▲0.5610.15 ▲5.1277.38 ▲2.57
Dashboard /wp-admin2,969 ▲766.10 ▼0.06114.78 ▼18.60170.36 ▲1.96
Posts /wp-admin/edit.php2,781 ▲413.24 ▲0.0366.35 ▲0.49147.41 ▲4.48
Add New Post /wp-admin/post-new.php3,725 ▼9017.59 ▼1.39468.89 ▲22.47163.41 ▲1.76
Media Library /wp-admin/upload.php1,784 ▲325.49 ▼0.01145.71 ▲5.42185.93 ▲5.35
All Slides /wp-admin/edit.php?post_type=bamboo_slide1,4732.8261.15113.79
Slide Groups /wp-admin/edit-tags.php?taxonomy=bamboo_slide_group&post_type=bamboo_slide1,7952.7757.16128.70
Add New /wp-admin/post-new.php?post_type=bamboo_slide3,23210.03194.62237.16

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
This plugin's uninstaller ran successfully

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: banners, slideshows, shortcodes, slides, sliders

bamboo-slides/bamboo-slides.php 92% from 13 tests

The main PHP file in "Bamboo Slides" ver. 1.9.8 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 172 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin802 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.32
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 functions8100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected