Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼6.57ms] Passed 4 tests
Server-side resources used by Database Backup and check Tables Automated With Scheduler 2024
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.91 ▼9.44 |
Dashboard /wp-admin | 3.47 ▲0.16 | 45.44 ▼4.68 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 47.97 ▲0.54 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 81.53 ▼12.71 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.09 ▲1.79 |
Database Backup /wp-admin/admin.php?page=database_backup_admin_page | 3.37 | 33.91 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
bill_show_warnings |
can_compress_scripts |
db_upgraded |
database_backup_was_activated |
Browser metrics Passed 4 tests
Checking browser requirements for Database Backup and check Tables Automated With Scheduler 2024
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲106 | 14.56 ▲0.22 | 1.75 ▼0.05 | 40.88 ▼6.39 |
Dashboard /wp-admin | 2,271 ▲91 | 5.91 ▲0.25 | 108.12 ▲7.34 | 41.76 ▼0.86 |
Posts /wp-admin/edit.php | 2,176 ▲76 | 2.53 ▲0.53 | 55.06 ▲17.32 | 34.20 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 23.94 ▲0.83 | 663.47 ▲14.94 | 36.21 ▼31.36 |
Media Library /wp-admin/upload.php | 1,479 ▲79 | 4.95 ▲0.76 | 110.71 ▲10.45 | 42.85 ▲2.44 |
Database Backup /wp-admin/admin.php?page=database_backup_admin_page | 926 | 2.00 | 42.98 | 39.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- database_backup_was_activated
- bill_show_warnings
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 18× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/database-backup/functions/restorebackup.php
- > /wp-content/plugins/database-backup/dashboard/dashboard_more.php
- > /wp-content/plugins/database-backup/dashboard/dashboard-settings.php
- > /wp-content/plugins/database-backup/functions/dorestore-shell.php
- > /wp-content/plugins/database-backup/functions/download.php
- > /wp-content/plugins/database-backup/includes/checkup/bill_class_diagnose.php
- > /wp-content/plugins/database-backup/dashboard/backup.php
- > /wp-content/plugins/database-backup/database-backup.php
- > /wp-content/plugins/database-backup/functions/docopy.php
- > /wp-content/plugins/database-backup/functions/dorestore.php
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
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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Dashboard), #2 (Run a Backup), #3 (Backup Table)
database-backup/database-backup.php Passed 13 tests
"Database Backup and check Tables Automated With Scheduler 2024" version 2.22's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
51 characters long description:
Smart Database Backup and check tables Made Simple.
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 detected3,525 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 374 | 438 | 2,497 |
JavaScript | 3 | 120 | 121 | 686 |
CSS | 4 | 43 | 17 | 342 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.53% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.46MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 126.04KB | 41.13KB | ▼ 67.37% |
screenshot-3.png | 149.46KB | 49.87KB | ▼ 66.63% |
includes/checkup/bell.png | 1.07KB | 0.27KB | ▼ 74.45% |
screenshot-1.png | 186.92KB | 60.56KB | ▼ 67.60% |
assets/images/logo.png | 12.20KB | 6.49KB | ▼ 46.83% |