Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼14.05ms] Passed 4 tests
This is a short check of server-side resources used by myRepono WordPress Backup Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.96 ▼1.51 |
Dashboard /wp-admin | 3.62 ▲0.32 | 39.60 ▼12.49 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 43.26 ▼10.13 |
Add New Post /wp-admin/post-new.php | 5.74 ▼0.15 | 80.59 ▼31.87 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 38.66 ▼1.72 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by myRepono WordPress Backup Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲64 | 14.32 ▼0.17 | 1.63 ▲0.20 | 43.00 ▲2.73 |
Dashboard /wp-admin | 2,214 ▲34 | 5.51 ▼0.11 | 87.18 ▼12.51 | 41.55 ▲1.43 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.02 ▲0.04 | 40.01 ▼1.32 | 38.86 ▼2.51 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 18.27 ▼2.91 | 624.34 ▼93.07 | 83.12 ▲28.60 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.27 ▲0.11 | 99.73 ▼4.49 | 46.30 ▲3.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 fix the following items
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_settings.php
- > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_account.php
- > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_databases.php
- > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_functions.php
- > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_begin.php
- > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_plugin.php
- > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_home.php
- > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_files.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/myrepono-wordpress-backup-plugin/api/libcurlemu/libcurlnative.inc.php on line 205
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 26 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (Automate your WordPress, website & database backups using the myRepono remote website backup service.), #2 (Manage your backup file/directory selections and file exclusion rules.), #3 (Manage your backup profiles each with different settings and schedules.)
myrepono-wordpress-backup-plugin/myrepono_plugin.php 85% from 13 tests
This is the main PHP file of "myRepono WordPress Backup Plugin" version 2.0.12, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("myrepono-wordpress-backup-plugin.php" instead of "myrepono_plugin.php")
- Description: The description should be shorter than 140 characters (currently 315 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected5,845 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 2,675 | 740 | 5,840 |
CSS | 4 | 0 | 0 | 4 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 169.00 |
▷ Minimum class complexity | 169.00 |
▷ Maximum class complexity | 169.00 |
Average method complexity | 6.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 74 | |
▷ Named functions | 74 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 242 | |
▷ Global constants | 242 | 100.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
48 compressed PNG files occupy 0.22MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/flags/gf.png | 0.53KB | 0.63KB | 0.00% |
img/icons/accept.png | 0.76KB | 0.81KB | 0.00% |
img/flags/at.png | 0.39KB | 0.61KB | 0.00% |
img/flags/ie.png | 0.47KB | 0.64KB | 0.00% |
img/icons/control_pause.png | 0.58KB | 0.62KB | 0.00% |