Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.28ms] Passed 4 tests
A check of server-side resources used by Database Backup for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 41.09 ▲1.25 |
Dashboard /wp-admin | 3.55 ▲0.25 | 50.09 ▼2.50 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 53.69 ▼2.13 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 98.38 ▼8.15 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 38.31 ▼0.32 |
Backup /wp-admin/tools.php?page=wp-db-backup | 3.44 | 38.97 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Database Backup for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 13.26 ▼1.07 | 1.87 ▲0.15 | 45.26 ▲1.67 |
Dashboard /wp-admin | 2,225 ▲19 | 4.83 ▼1.07 | 109.67 ▲9.61 | 46.43 ▲0.99 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▼0.02 | 40.97 ▲1.49 | 34.30 ▼7.11 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 17.75 ▼5.55 | 669.44 ▲42.06 | 62.43 ▲11.04 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.00 | 98.16 ▼47.62 | 42.82 ▼20.51 |
Backup /wp-admin/tools.php?page=wp-db-backup | 1,205 | 1.72 | 24.74 | 45.25 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
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)
Good news, no errors were detected
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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-db-backup/wp-db-backup.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #2, #3 in wp-db-backup/assets to your readme.txt
wp-db-backup/wp-db-backup.php Passed 13 tests
The main PHP file in "Database Backup for WordPress" ver. 2.5.2 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
On-demand backup of your WordPress database. Navigate to Tools → Backup to get started.
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
There were no executable files found in this plugin5,582 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 16 | 1,354 | 1,611 | 3,461 |
PHP | 1 | 233 | 187 | 1,406 |
CSS | 1 | 90 | 24 | 445 |
Markdown | 1 | 44 | 0 | 153 |
SVG | 3 | 0 | 0 | 90 |
JavaScript | 1 | 6 | 0 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 223.00 |
▷ Minimum class complexity | 223.00 |
▷ Maximum class complexity | 223.00 |
Average method complexity | 6.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG images were found in this plugin