Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼1.87ms] Passed 4 tests
Server-side resources used by Accu Auto Backup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 40.54 ▼1.73 |
Dashboard /wp-admin | 3.64 ▲0.33 | 46.10 ▼0.89 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 52.75 ▲5.95 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 84.73 ▼4.79 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 38.19 ▼0.06 |
Accu Auto Backup /wp-admin/tools.php?page=accu_auto_backup | 3.48 | 32.37 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 54 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_accubackup |
New WordPress options |
---|
accu_auto_backup_sc_auto_enabled |
can_compress_scripts |
widget_theysaidso_widget |
accu_auto_backup_sc_auto_interval |
accu_auto_backup_backup_method |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
accu_auto_backup_bkp_store_limit |
Browser metrics Passed 4 tests
An overview of browser requirements for Accu Auto Backup
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.49 ▲0.48 | 1.66 ▼0.08 | 38.18 ▼2.53 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.96 | 113.41 ▼1.80 | 41.59 ▼2.19 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.03 ▲0.02 | 36.18 ▼1.94 | 34.63 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.19 ▲0.16 | 687.44 ▲69.97 | 59.94 ▲9.81 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.22 ▼0.07 | 95.86 ▼5.46 | 40.75 ▼4.03 |
Accu Auto Backup /wp-admin/tools.php?page=accu_auto_backup | 1,031 | 2.09 | 34.32 | 33.20 |
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
- Zombie WordPress options detected upon uninstall: 10 options
- accu_auto_backup_bkp_store_limit
- db_upgraded
- accu_auto_backup_sc_auto_interval
- accu_auto_backup_sc_auto_enabled
- accu_auto_backup_backup_method
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > 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=6.3.1 - 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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
accu-auto-backup/accu-auto-backup.php Passed 13 tests
This is the main PHP file of "Accu Auto Backup" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 | An overview of files in this plugin; executable files are not allowed
There were no executable 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 is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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% |
trunk/admin/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
trunk/admin/images/sort_asc.png | 0.15KB | 0.25KB | 0.00% |
admin/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
trunk/admin/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |