Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.62MB] [CPU: ▲2.62ms] Passed 4 tests
Server-side resources used by Ero Website Backups
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.07 ▲0.60 | 53.53 ▲11.65 |
Dashboard /wp-admin | 3.97 ▲0.67 | 50.24 ▲0.62 |
Posts /wp-admin/edit.php | 4.03 ▲0.67 | 53.48 ▲6.54 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.62 | 89.68 ▼1.96 |
Media Library /wp-admin/upload.php | 3.83 ▲0.60 | 39.29 ▲5.27 |
Server storage [IO: ▲1.67MB] [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: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ero Website Backups
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲41 | 13.26 ▼1.03 | 1.66 ▼0.41 | 38.99 ▼5.41 |
Dashboard /wp-admin | 2,221 ▲36 | 4.85 ▼0.99 | 108.51 ▼6.82 | 38.87 ▼2.51 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.04 ▲0.04 | 41.84 ▲5.87 | 35.71 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.35 ▲0.15 | 660.64 ▼12.28 | 62.19 ▼9.50 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.21 ▼0.02 | 95.04 ▲0.12 | 40.22 ▼2.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: website backups, backup, wordpress, database, full
website-backups/website-backups.php Passed 13 tests
Analyzing the main PHP file in "Ero Website Backups" version 1.0
70 characters long description:
This is a plugin for downloading the website file and database backups
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
There were no executable files found in this plugin23,202 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 5,041 | 15,634 | 17,308 |
PHP | 9 | 1,014 | 1,978 | 3,507 |
CSS | 16 | 72 | 168 | 2,387 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 103.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 554.00 |
Average method complexity | 8.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 1 | 1.27% |
▷ Public methods | 77 | 97.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.53% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 62 | |
▷ Global constants | 62 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/plugins/datatables/DataTables-1.10.18/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/plugins/datatables/DataTables-1.10.18/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/plugins/datatables/DataTables-1.10.18/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/plugins/datatables/DataTables-1.10.18/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/plugins/datatables/DataTables-1.10.18/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |