Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.47MB] [CPU: ▼43.66ms] Passed 4 tests
This is a short check of server-side resources used by Backup release ovh
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.52 ▼0.94 | 10.77 ▼29.53 |
Dashboard /wp-admin | 2.54 ▼0.76 | 13.05 ▼35.81 |
Posts /wp-admin/edit.php | 2.55 ▼0.81 | 15.81 ▼31.41 |
Add New Post /wp-admin/post-new.php | 2.54 ▼3.35 | 14.44 ▼77.89 |
Media Library /wp-admin/upload.php | 2.55 ▼0.68 | 14.50 ▼18.86 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 57 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_eobu__history |
wp_eobu__domain |
wp_eobu__calendar |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
eobu_db_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Backup release ovh
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲134 | 13.59 ▼1.03 | 1.77 ▼0.11 | 38.29 ▼5.01 |
Dashboard /wp-admin | 2,278 ▲107 | 5.64 ▲0.70 | 116.86 ▼1.49 | 43.69 ▼5.07 |
Posts /wp-admin/edit.php | 2,160 ▲71 | 2.59 ▲0.58 | 47.01 ▲9.23 | 40.55 ▲5.54 |
Add New Post /wp-admin/post-new.php | 1,563 ▲29 | 23.69 ▲0.50 | 670.40 ▼16.13 | 36.84 ▼14.90 |
Media Library /wp-admin/upload.php | 1,457 ▲72 | 4.80 ▲0.60 | 105.42 ▲1.98 | 44.45 ▼1.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method eobu_init::plugin_load() should not be called statically
- The uninstall procedure failed, leaving 3 tables in the database
- wp_eobu__history
- wp_eobu__calendar
- wp_eobu__domain
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- eobu_db_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4095× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
readdir() expects parameter 1 to be resource, bool given in wp-content/plugins/backup-release-ovh/include/config.php on line 35
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Page de configuration du plugin (Partie 1 / 3)), #2 (Page de configuration du plugin (Partie 2 / 3)), #3 (Page de configuration du plugin (Partie 3 / 3)), #4 (Page de présentation des domaines présents sur le serveur avec l'url vers le site et le type de site (uniquement wordpress et magento en version 0.1)), #5 (Interface pour la configuration des domaines), #6 (Interface d'édition de la configuration pour un domaine spécifique), #7 (Interface de listing des sauvegardes effectuées pour le domaine sélectionné), #8 (Interface de listing des restaurations effectuées pour le domaine sélectionné), #9 (Résumé des sauvegardes effectuées le jour même)
backup-release-ovh/backup_release_ovh.php 92% from 13 tests
The principal PHP file in "Backup release ovh" v. 0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("backup-release-ovh.php" instead of "backup_release_ovh.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin4,446 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 405 | 848 | 2,691 |
JavaScript | 3 | 20 | 26 | 586 |
PO File | 1 | 246 | 359 | 497 |
CSS | 2 | 54 | 50 | 427 |
Bourne Shell | 2 | 52 | 29 | 245 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 52.86 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 6.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 69 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
25 compressed PNG files occupy 0.49MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
medias/jquery_pics/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
medias/jquery_pics/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
medias/jquery_pics/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
medias/jquery_pics/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
medias/jquery_pics/ui-bg_glass_55_fbf9ee_1x400.png | 0.14KB | 0.14KB | 0.00% |