Benchmarks
Plugin footprint 83% 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.07MB] [CPU: ▼291.74ms] Passed 4 tests
A check of server-side resources used by Accu Auto Backup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.11 | 56.28 ▲1.86 |
Dashboard /wp-admin | 3.47 ▲0.07 | 38.94 ▲5.84 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 39.19 ▲1.06 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.03 | 105.74 ▼1,172.09 |
Media Library /wp-admin/upload.php | 3.41 ▲0.12 | 26.74 ▲2.21 |
Accu Auto Backup /wp-admin/tools.php?page=accu_auto_backup | 3.38 | 26.98 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 54 new files
Database: 1 new table, 4 new options
New tables |
---|
wp_accubackup |
New WordPress options |
---|
accu_auto_backup_sc_auto_interval |
accu_auto_backup_backup_method |
accu_auto_backup_bkp_store_limit |
accu_auto_backup_sc_auto_enabled |
Browser metrics Passed 4 tests
A check of browser resources used by Accu Auto Backup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲14 | 15.81 ▲0.19 | 5.86 ▼0.16 | 2.54 ▲0.22 |
Dashboard /wp-admin | 2,897 ▲43 | 6.18 ▼0.01 | 118.61 ▼23.96 | 155.80 ▼7.20 |
Posts /wp-admin/edit.php | 2,696 ▲11 | 3.24 ▲0.00 | 60.34 ▼6.22 | 140.34 ▲3.94 |
Add New Post /wp-admin/post-new.php | 1,714 ▼38 | 21.27 ▲0.29 | 442.33 ▼18.70 | 162.11 ▲6.73 |
Media Library /wp-admin/upload.php | 1,700 ▲2 | 5.49 ▼0.06 | 150.76 ▲6.78 | 183.93 ▼1.62 |
Accu Auto Backup /wp-admin/tools.php?page=accu_auto_backup | 1,286 | 2.84 | 59.75 | 146.57 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 4 options in the database
- accu_auto_backup_bkp_store_limit
- accu_auto_backup_sc_auto_interval
- accu_auto_backup_backup_method
- accu_auto_backup_sc_auto_enabled
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 everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/tools.php?page=accu_auto_backup
- > Network (severe)
wp-content/plugins/accu-auto-backup/admin//css/jquery.dataTables.min.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not 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
These attributes need your attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
accu-auto-backup/accu-auto-backup.php Passed 13 tests
The main PHP file in "Accu Auto Backup" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
Accu auto backup plugin takes WordPress database backup automatically with defined schedule.
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
Everything looks great! No dangerous files found in this plugin1,860 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 304 | 1,180 | 1,304 |
SVG | 1 | 0 | 0 | 229 |
JavaScript | 2 | 17 | 63 | 196 |
CSS | 2 | 30 | 4 | 131 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 26.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 150 | |
▷ Static methods | 6 | 4.00% |
▷ Public methods | 142 | 94.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 5.33% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
trunk/accu-auto-backup-logo.png | 5.57KB | 3.61KB | ▼ 35.18% |
accu-auto-backup-logo.png | 5.57KB | 3.61KB | ▼ 35.18% |
trunk/admin/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
trunk/admin/images/sort_asc.png | 0.15KB | 0.25KB | 0.00% |
admin/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |