Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.86 ▼6.18 |
Dashboard /wp-admin | 3.34 ▼0.01 | 43.75 ▼20.71 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.55 ▲3.86 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.16 ▼7.99 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.36 ▲4.17 |
Bamboo Backups /wp-admin/tools.php?page=bamboo-backups | 3.22 | 29.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 |
---|
bamboo_backups_history |
widget_recent-comments |
theysaidso_admin_options |
bamboo_backups_last_run |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
bamboo_backups_time |
Browser metrics Passed 4 tests
A check of browser resources used by Bamboo Backups
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 13.23 ▼1.14 | 1.81 ▼0.11 | 41.87 ▼1.74 |
Dashboard /wp-admin | 2,207 ▲19 | 5.78 ▼0.02 | 98.89 ▼18.56 | 37.10 ▼7.45 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.00 ▼0.02 | 41.05 ▲5.51 | 34.95 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.53 ▼5.50 | 642.96 ▼37.87 | 56.37 ▲3.15 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▼0.12 | 99.54 ▲5.54 | 44.04 ▼1.90 |
Bamboo Backups /wp-admin/tools.php?page=bamboo-backups | 840 | 2.05 | 23.37 | 29.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
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 59 | 202 |
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 code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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