Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.66ms] Passed 4 tests
Server-side resources used by DBC Backup 2
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.26 ▼6.08 |
Dashboard /wp-admin | 3.38 ▲0.07 | 44.15 ▼3.25 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.51 ▲0.20 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.45 ▼11.96 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 32.71 ▼5.35 |
DBC Backup /wp-admin/tools.php?page=dbc_backup_admin | 3.35 | 37.80 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
dbcbackup_options |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by DBC Backup 2
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.62 ▼0.76 | 1.77 ▼0.01 | 37.28 ▼2.32 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.01 | 96.01 ▼10.12 | 37.86 ▼0.69 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.03 ▲0.06 | 34.17 ▼0.38 | 34.99 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 18.47 ▲0.76 | 589.30 ▼107.37 | 56.89 ▲1.07 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.03 | 92.74 ▼17.06 | 42.42 ▼4.99 |
DBC Backup /wp-admin/tools.php?page=dbc_backup_admin | 2,575 | 3.27 | 65.19 | 37.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dbc-backup-2/inc/backup_run.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dbc-backup-2/inc/admin_functions.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
- Screenshots: Please add an image for screenshot #1 (Configuration settings and guidance notes)
dbc-backup-2/dbcbackup.php 92% from 13 tests
The primary PHP file in "DBC Backup 2" version 2.3.25 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dbc-backup-2.php" instead of "dbcbackup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected749 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 146 | 233 | 749 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
There are no PNG files in this plugin