Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/ez-backup/index.php+32
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.64ms] Passed 4 tests
A check of server-side resources used by EZ Backup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.96 ▼2.35 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.65 ▼5.30 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.73 ▲5.53 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.21 ▲5.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.08 ▼0.00 |
EZ Backup /wp-admin/options-general.php?page=ez-backup-settings | 3.21 | 35.17 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
ez-backup-settings |
Browser metrics Passed 4 tests
EZ Backup: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲55 | 13.32 ▼0.95 | 1.81 ▼0.16 | 43.43 ▼0.37 |
Dashboard /wp-admin | 2,218 ▲30 | 5.93 ▲1.03 | 94.42 ▼19.90 | 39.03 ▼7.29 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.05 ▲0.08 | 40.13 ▲4.89 | 35.90 ▲1.24 |
Add New Post /wp-admin/post-new.php | 1,535 ▲11 | 22.96 ▼0.27 | 669.97 ▲10.62 | 56.57 ▼3.11 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.23 ▲0.02 | 95.02 ▼1.25 | 40.82 ▼2.01 |
EZ Backup /wp-admin/options-general.php?page=ez-backup-settings | 1,044 | 2.04 | 24.98 | 26.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- ez-backup-settings
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
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 admin_url() in wp-content/plugins/ez-backup/index.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
8 plugin tags: easy, schedule, mysql, backup, sql...
ez-backup/index.php 92% from 13 tests
The main file in "EZ Backup" v. 4.15.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ez-backup.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin567 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 32 | 567 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.86 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin