84% bamboo-backups

Code Review | Bamboo Backups

WordPress plugin Bamboo Backups scored84%from 54 tests.

About plugin

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

Code review

54 tests

User reviews

2 reviews

Install metrics

20+ active /2,461 total downloads


Plugin footprint 82% from 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.02MB] [CPU: ▼7.76ms] Passed 4 tests

A check of server-side resources used by Bamboo Backups
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0335.86 ▼6.18
Dashboard /wp-admin3.34 ▼0.0143.75 ▼20.71
Posts /wp-admin/edit.php3.39 ▲0.0347.55 ▲3.86
Add New Post /wp-admin/post-new.php5.92 ▲0.0380.16 ▼7.99
Media Library /wp-admin/upload.php3.26 ▲0.0340.36 ▲4.17
Bamboo Backups /wp-admin/tools.php?page=bamboo-backups3.2229.22

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests

A short overview of filesystem and database impact
Please fix the following
  • You have illegally modified 2 files (270.81KB) outside of "wp-content/plugins/bamboo-backups/" and "wp-content/uploads/"
    • (new file) wp-content/backups/.htaccess
    • (new file) wp-content/backups/2023-10-09-21-45-50.zip
Filesystem: 2 new files
Database: no new tables, 9 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Bamboo Backups
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲5813.23 ▼1.141.81 ▼0.1141.87 ▼1.74
Dashboard /wp-admin2,207 ▲195.78 ▼0.0298.89 ▼18.5637.10 ▼7.45
Posts /wp-admin/edit.php2,093 ▲72.00 ▼0.0241.05 ▲5.5134.95 ▲1.00
Add New Post /wp-admin/post-new.php1,517 ▼1617.53 ▼5.50642.96 ▼37.8756.37 ▲3.15
Media Library /wp-admin/upload.php1,392 ▲14.21 ▼0.1299.54 ▲5.5444.04 ▼1.90
Bamboo Backups /wp-admin/tools.php?page=bamboo-backups8402.0523.3729.88

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 9 options
    • bamboo_backups_time
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • bamboo_backups_last_run
    • widget_recent-posts
    • bamboo_backups_history

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bamboo-backups/bamboo-backups.php:16

User-side errors Passed 1 test

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: backups, database

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

This is the main PHP file of "Bamboo Backups" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
55 characters long description:
Automatically create backups of your WordPress database

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin202 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
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 functions5100.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 are no PNG files in this plugin