Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/backup-restore-divi-theme-options/backup-restore-divi-theme-options.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; backup_restore_divi_theme_options has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼50.95ms] Passed 4 tests
A check of server-side resources used by Backup/Restore Divi Theme Options
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.87 ▼39.64 |
Dashboard /wp-admin | 2.09 ▼1.21 | 5.63 ▼39.88 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.82 ▼37.79 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.12 ▼86.49 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.96 ▼30.67 |
Backup/Restore Theme Options /wp-admin/tools.php?page=backup-restore-divi-theme-options | 2.09 | 6.13 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Backup/Restore Divi Theme Options
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.32 ▼1.27 | 1.69 ▼0.11 | 44.35 ▼0.98 |
Dashboard /wp-admin | 2,213 ▲28 | 5.85 ▲0.00 | 97.91 ▼4.67 | 39.57 ▲0.25 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.02 | 36.40 ▲2.07 | 33.67 ▼3.61 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 23.16 ▲0.03 | 593.25 ▼53.18 | 55.48 ▼12.72 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.21 ▲0.00 | 98.85 ▼8.22 | 42.10 ▼2.25 |
Backup/Restore Theme Options /wp-admin/tools.php?page=backup-restore-divi-theme-options | 835 | 2.05 | 23.86 | 36.90 |
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
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/backup-restore-divi-theme-options/backup-restore-divi-theme-options.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; backup_restore_divi_theme_options has a deprecated constructor
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=backup-restore-divi-theme-options
- > Deprecated in wp-content/plugins/backup-restore-divi-theme-options/backup-restore-divi-theme-options.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; backup_restore_divi_theme_options has a deprecated constructor
- > GET request to /wp-admin/tools.php?page=backup-restore-divi-theme-options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/tools.php?page=backup-restore-divi-theme-options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/backup-restore-divi-theme-options/backup-restore-divi-theme-options.php:19
- > 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, but this is not an exhaustive test
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 require images: #1 (Simple and easy to install), #2 (Even more simple to use)
backup-restore-divi-theme-options/backup-restore-divi-theme-options.php Passed 13 tests
The entry point to "Backup/Restore Divi Theme Options" version 1.0.3 is a PHP file that has certain tags in its header comment area
41 characters long description:
Backup & Restore your Divi Theme Options.
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
There were no executable files found in this plugin68 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 13 | 68 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected