Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.45ms] Passed 4 tests
A check of server-side resources used by WP DB Backup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.82 ▼5.41 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.10 ▼8.46 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.89 ▲0.05 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 99.11 ▲0.02 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.59 ▲4.86 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 14 new options
New WordPress options |
---|
gam_db_backup_schedules_options_save |
gam_db_backup_user_name |
widget_theysaidso_widget |
gam_db_backup_db_name |
widget_recent-posts |
widget_recent-comments |
gam_db_backup_start_backup |
can_compress_scripts |
theysaidso_admin_options |
gam_db_backup_host_name |
... |
Browser metrics Passed 4 tests
WP DB Backup: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.20 ▼1.18 | 1.59 ▼0.63 | 43.78 ▼1.20 |
Dashboard /wp-admin | 2,227 ▲50 | 5.85 ▲0.92 | 98.35 ▼3.36 | 39.20 ▼3.07 |
Posts /wp-admin/edit.php | 2,110 ▲18 | 2.04 ▲0.02 | 39.78 ▲2.45 | 35.14 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,552 ▲18 | 18.45 ▼4.44 | 601.17 ▼61.40 | 58.21 ▲9.60 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.22 ▲0.07 | 95.64 ▼9.07 | 40.64 ▼2.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 13 options
- gam_db_backup_schedules_options_save
- widget_theysaidso_widget
- gam_db_backup_db_name
- widget_recent-comments
- gam_db_backup_host_name
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- gam_db_backup_user_name
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
gam-db-backup/gam-db-backup.php Passed 13 tests
This is the main PHP file of "WP DB Backup" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
87 characters long description:
Help you to take instant backup. Also you can schedule daily, weekly or monthly backup.
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
Good job! No executable or dangerous file extensions detected536 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 136 | 102 | 418 |
JavaScript | 2 | 0 | 0 | 61 |
PO File | 1 | 21 | 23 | 56 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 1 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bluebnt-bg.png | 0.96KB | 0.28KB | ▼ 71.09% |