Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.03MB] [CPU: ▼10.78ms] Passed 4 tests
Server-side resources used by ZoneIT Backup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 6.65 ▼35.53 |
Dashboard /wp-admin | 3.76 ▲0.42 | 50.82 ▼8.96 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 49.69 ▲5.02 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 84.87 ▼3.63 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 44.33 ▲6.91 |
Cron Backup /wp-admin/admin.php?page=zoneit-cron-backup | 3.59 | 35.59 |
Backup Services /wp-admin/admin.php?page=backup-services | 3.57 | 38.97 |
Backups List /wp-admin/admin.php?page=zoneit-backups | 3.60 | 42.09 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 47 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_zoneit_backups |
wp_zoneit_backup_services |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
zoneit_backup_settings |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ZoneIT Backup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲78 | 14.21 ▼0.15 | 1.63 ▼0.16 | 41.75 ▼1.29 |
Dashboard /wp-admin | 2,248 ▲71 | 5.59 ▲0.05 | 85.06 ▼17.36 | 40.32 ▼2.84 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 1.98 ▼0.05 | 38.76 ▲3.19 | 36.00 ▲3.14 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 18.24 ▼4.86 | 618.24 ▼5.40 | 63.72 ▼2.48 |
Media Library /wp-admin/upload.php | 1,453 ▲50 | 4.23 ▲0.02 | 95.02 ▼5.99 | 43.89 ▲0.22 |
Cron Backup /wp-admin/admin.php?page=zoneit-cron-backup | 1,159 | 1.70 | 28.74 | 23.82 |
Backup Services /wp-admin/admin.php?page=backup-services | 1,104 | 1.71 | 30.06 | 30.02 |
Backups List /wp-admin/admin.php?page=zoneit-backups | 1,071 | 1.91 | 29.68 | 28.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_zoneit_backup_services
- wp_zoneit_backups
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- zoneit_backup_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=backup-services
- > Notice in wp-content/plugins/zoneit-backup/includes/services/class-backup-service-core.php+160
Trying to access array offset on value of type int
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/zoneit-backup/includes/class-rest-api.php:13
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: wp backup, wpbackup, zoneit backup, local backup, db backup...
zoneit-backup/zoneit-backup.php 92% from 13 tests
The main PHP file in "ZoneIT Backup" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected6,410 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 1,059 | 2,252 | 5,264 |
Markdown | 3 | 169 | 0 | 644 |
JSON | 4 | 0 | 0 | 208 |
JavaScript | 2 | 23 | 27 | 177 |
CSS | 2 | 0 | 4 | 117 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 19.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 142.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 4 | 11.11% |
▷ Concrete classes | 32 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 336 | |
▷ Static methods | 94 | 27.98% |
▷ Public methods | 283 | 84.23% |
▷ Protected methods | 3 | 0.89% |
▷ Private methods | 50 | 14.88% |
Functions | 9 | |
▷ Named functions | 1 | 11.11% |
▷ Anonymous functions | 8 | 88.89% |
Constants | 22 | |
▷ Global constants | 5 | 22.73% |
▷ Class constants | 17 | 77.27% |
▷ Public constants | 9 | 52.94% |
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
No PNG images were found in this plugin