Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.10ms] Passed 4 tests
Server-side resources used by EasyBackup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.52 ▼3.43 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.66 ▼5.04 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.45 ▼3.21 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.90 ▼0.70 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.15 ▲6.12 |
EasyBackup /wp-admin/admin.php?page=easybackup | 3.23 | 30.12 |
Credits /wp-admin/admin.php?page=easybackup-credits | 3.23 | 30.04 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
EasyBackup: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.22 ▼1.05 | 1.62 ▼0.15 | 43.56 ▲0.06 |
Dashboard /wp-admin | 2,235 ▲47 | 4.93 ▼0.97 | 95.53 ▼17.40 | 74.96 ▲31.78 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.01 ▼0.05 | 38.44 ▲3.27 | 33.43 ▼0.62 |
Add New Post /wp-admin/post-new.php | 1,699 ▲167 | 24.60 ▲1.51 | 681.82 ▲11.74 | 58.14 ▲1.32 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.10 ▼0.09 | 103.73 ▲2.46 | 91.02 ▲47.39 |
EasyBackup /wp-admin/admin.php?page=easybackup | 952 | 1.94 | 30.96 | 35.84 |
Credits /wp-admin/admin.php?page=easybackup-credits | 840 | 2.01 | 24.09 | 38.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easybackup/admin/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easybackup/admin/includes/ajax/ajax.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easybackup/admin/includes/ajax/ajax.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/easybackup/admin/includes/dashboard.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/easybackup/admin/includes/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/easybackup/admin/includes/credits.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=easybackup
- > Network (severe)
https://www.paypalobjects.com/en_MX/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please a description for screenshot #0 in easybackup/assets to your readme.txt
- Tags: There are too many tags (20 tag instead of maximum 10)
easybackup/easybackup.php 92% from 13 tests
The main PHP file in "EasyBackup" ver. 1.9 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin693 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 155 | 32 | 352 |
CSS | 3 | 84 | 4 | 300 |
JavaScript | 2 | 15 | 0 | 40 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/includes/images/how_2.png | 2.41KB | 1.60KB | ▼ 33.69% |
admin/includes/images/how_1.png | 2.11KB | 1.44KB | ▼ 31.84% |
admin/includes/images/icon_bck.png | 0.40KB | 0.33KB | ▼ 18.73% |
admin/includes/images/logoeb1.png | 52.61KB | 18.48KB | ▼ 64.87% |
admin/includes/images/logoeb.png | 2.89KB | 1.46KB | ▼ 49.51% |