Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/uninterrupted-backup/defines.inc.php+9
define(): Declaration of case-insensitive constants is deprecated
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.46ms] Passed 4 tests
Analyzing server-side resources used by Uninterrupted Backup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.37 ▼0.64 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.23 ▼13.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.39 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.62 ▼24.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.51 ▲1.21 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Uninterrupted Backup
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.21 ▼1.09 | 4.46 ▲2.41 | 40.32 ▼2.80 |
Dashboard /wp-admin | 2,209 ▲18 | 4.87 ▼1.02 | 100.34 ▼5.34 | 39.82 ▼5.96 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▲0.06 | 38.53 ▼2.35 | 35.91 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.18 ▲4.61 | 654.69 ▼25.58 | 60.00 ▼8.83 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▲0.02 | 102.78 ▼6.01 | 48.36 ▼0.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
- 14× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/uninterrupted-backup/model/error/error.php
- > /wp-content/plugins/uninterrupted-backup/uninterrupted-backup.php
- > /wp-content/plugins/uninterrupted-backup/controller/setup/setup.php
- > /wp-content/plugins/uninterrupted-backup/accesspoint/backup/backup.php
- > /wp-content/plugins/uninterrupted-backup/accesspoint/error/error.php
- > /wp-content/plugins/uninterrupted-backup/lib/response/response.php
- > /wp-content/plugins/uninterrupted-backup/controller/backup/backup.php
- > /wp-content/plugins/uninterrupted-backup/lib/mvc/controller/controller.php
- > /wp-content/plugins/uninterrupted-backup/defines.inc.php
- > /wp-content/plugins/uninterrupted-backup/lib/request/request.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/lib/request/request.php on line 7
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/defines.inc.php on line 12
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/lib/response/response.php on line 7
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/controller/error/error.php on line 7
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/accesspoint/setup/setup.php on line 7
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/lib/mvc/controller/controller.php on line 7
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/model/error/error.php on line 7
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/defines.inc.php on line 12
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/accesspoint/backup/backup.php on line 7
- > PHP Warning
Use of undefined constant NO_DIRECT_ACCESS_MSG - assumed 'NO_DIRECT_ACCESS_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/uninterrupted-backup/lib/classloader/classloader.php on line 8
- > PHP Warning
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Contributors: Contributors not specified
uninterrupted-backup/uninterrupted-backup.php Passed 13 tests
The entry point to "Uninterrupted Backup" version 0.1.2 is a PHP file that has certain tags in its header comment area
135 characters long description:
Detect fatal errors that might be produced by the installed active Plugins, provide secure backdoor for deactivating the target Plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected416 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 102 | 719 | 416 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.54 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 5 | 11.63% |
▷ Public methods | 42 | 97.67% |
▷ Protected methods | 1 | 2.33% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.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
There were not PNG files found in your plugin