Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/backuppressgenius/PHPSecLib/Crypt/Base.php+121
Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Base has a deprecated constructor
Server metrics [RAM: ▼1.15MB] [CPU: ▼54.04ms] Passed 4 tests
Server-side resources used by BackupPress GENIUS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▼0.63 | 9.30 ▼32.17 |
Dashboard /wp-admin | 2.85 ▼0.45 | 11.15 ▼46.72 |
Posts /wp-admin/edit.php | 2.85 ▼0.50 | 9.21 ▼44.94 |
Add New Post /wp-admin/post-new.php | 2.85 ▼3.03 | 9.45 ▼92.33 |
Media Library /wp-admin/upload.php | 2.85 ▼0.38 | 10.87 ▼26.93 |
BackupPress GENIUS /wp-admin/options-general.php?page=bpg_plugin_options | 2.85 | 9.17 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BackupPress GENIUS
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.67 ▲0.12 | 1.98 ▲0.24 | 43.01 ▼1.57 |
Dashboard /wp-admin | 2,204 ▲30 | 5.61 ▲0.03 | 91.55 ▼1.88 | 32.69 ▼7.34 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.96 ▼0.05 | 34.09 ▼2.49 | 30.01 ▼6.28 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 23.22 ▲0.20 | 629.45 ▼104.44 | 66.53 ▲12.72 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.21 ▲0.02 | 105.54 ▼0.66 | 41.01 ▼4.20 |
BackupPress GENIUS /wp-admin/options-general.php?page=bpg_plugin_options | 892 | 1.99 | 24.76 | 28.10 |
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
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/backuppressgenius/PHPSecLib/Crypt/Base.php+121
Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Base has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=bpg_plugin_options
- > Deprecated in wp-content/plugins/backuppressgenius/PHPSecLib/Crypt/Base.php+121
Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Base has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=bpg_plugin_options
- > Deprecated in wp-content/plugins/backuppressgenius/BackuppressGenius.php+1031
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=bpg_plugin_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/options-general.php?page=bpg_plugin_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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/backuppressgenius/BackuppressGenius.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: datensicherheit, backup, rcksicherung, sicherung, datensicherung...
backuppressgenius/BackuppressGenius.php 85% from 13 tests
This is the main PHP file of "BackupPress GENIUS" version 0.96, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: It is recommended to name the main PHP file as the plugin slug ("backuppressgenius.php" instead of "BackuppressGenius.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected18,623 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 3,427 | 12,038 | 18,584 |
CSS | 1 | 1 | 0 | 39 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 168)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 130.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 549.00 |
Average method complexity | 6.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 168.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 562 | |
▷ Static methods | 1 | 0.18% |
▷ Public methods | 562 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 232 | |
▷ Global constants | 232 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
PlugInTitelV1.png | 4.34KB | 2.18KB | ▼ 49.88% |