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.03MB] [CPU: ▼6.20ms] Passed 4 tests
An overview of server-side resources used by One Click Complete Backups By Maida Themes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.00 ▼4.16 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.94 ▼2.61 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.62 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.52 ▼18.95 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.15 ▲0.94 |
ONE CLICK Backups /wp-admin/admin.php?page=oneclickcompletebackups | 3.23 | 30.86 |
ONE CLICK Restore /wp-admin/admin.php?page=sub-page | 3.23 | 33.58 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by One Click Complete Backups By Maida Themes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.32 ▲0.06 | 1.78 ▼0.21 | 45.49 ▼2.05 |
Dashboard /wp-admin | 2,215 ▲41 | 5.66 ▼0.01 | 87.56 ▼12.52 | 40.13 ▼5.46 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 1.98 ▲0.04 | 33.39 ▼3.09 | 34.74 ▼8.12 |
Add New Post /wp-admin/post-new.php | 1,423 ▼103 | 17.71 ▼5.46 | 545.17 ▼133.42 | 54.01 ▲1.68 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.18 ▼0.06 | 94.73 ▼8.59 | 47.88 ▲6.83 |
ONE CLICK Backups /wp-admin/admin.php?page=oneclickcompletebackups | 850 | 2.04 | 26.43 | 41.70 |
ONE CLICK Restore /wp-admin/admin.php?page=sub-page | 791 | 2.00 | 22.63 | 22.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
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 50% from 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
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/techopialabs-backups/restoreform.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/techopialabs-backups/backupform.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/techopialabs-backups/one-click-complete-backups.php:132
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
4 plugin tags: wordpress backup click, 12345adnan backups, maida backups, one click backups
techopialabs-backups/one-click-complete-backups.php 92% from 13 tests
The main PHP file in "One Click Complete Backups By Maida Themes" ver. 2.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("techopialabs-backups.php" instead of "one-click-complete-backups.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin487 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 119 | 60 | 487 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 7.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 1 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 50.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin