90% bamboo-slides

Code Review | Bamboo Slides

WordPress plugin Bamboo Slides scored 90% 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: 6.3.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

80+ active / 8,024 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

Server-side resources used by Bamboo Slides
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0437.56 ▼2.00
Dashboard /wp-admin3.34 ▲0.0348.07 ▲3.03
Posts /wp-admin/edit.php3.39 ▲0.0349.33 ▲0.98
Add New Post /wp-admin/post-new.php5.92 ▲0.0386.78 ▼9.22
Media Library /wp-admin/upload.php3.26 ▲0.0334.31 ▼0.77
Add New /wp-admin/post-new.php?post_type=bamboo_slide3.3952.01
All Slides /wp-admin/edit.php?post_type=bamboo_slide3.3037.34
Slide Groups /wp-admin/edit-tags.php?taxonomy=bamboo_slide_group&post_type=bamboo_slide3.2535.09

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Bamboo Slides
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,982 ▲19313.75 ▲0.466.94 ▲5.3738.65 ▼1.82
Dashboard /wp-admin2,240 ▲375.85 ▲0.0698.89 ▲3.6842.23 ▲0.75
Posts /wp-admin/edit.php2,117 ▲282.03 ▼0.0137.12 ▼2.9937.48 ▲1.10
Add New Post /wp-admin/post-new.php1,560 ▲1823.07 ▲4.81604.25 ▼21.2062.35 ▲12.37
Media Library /wp-admin/upload.php1,419 ▲284.21 ▲0.0392.70 ▼7.6944.38 ▲0.65
Add New /wp-admin/post-new.php?post_type=bamboo_slide2,4437.70173.8180.95
All Slides /wp-admin/edit.php?post_type=bamboo_slide1,1011.9330.6530.06
Slide Groups /wp-admin/edit-tags.php?taxonomy=bamboo_slide_group&post_type=bamboo_slide1,2892.1327.5528.24

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

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 everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found


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: shortcodes, banners, sliders, slides, slideshows

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

This is the main PHP file of "Bamboo Slides" version 1.9.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 172 characters long)

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 plugin802 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin