Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.58MB] [CPU: ▼2.33ms] 75% from 4 tests
An overview of server-side resources used by WPS Bidouille
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 989.75ms on /wp-admin/admin.php?page=wps-bidouille)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.58 | 40.25 ▼0.30 |
Dashboard /wp-admin | 3.89 ▲0.58 | 48.31 ▲1.95 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 46.68 ▼4.12 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.59 | 86.17 ▼6.85 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 38.32 ▲2.71 |
Tools /wp-admin/admin.php?page=wps-bidouille-tools | 3.75 | 37.85 |
WPS Bidouille /wp-admin/admin.php?page=wps-bidouille | 3.97 | 989.75 |
Server storage [IO: ▲5.71MB] [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: 92 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
wps_white_list |
theysaidso_admin_options |
wps_notifs_ajax |
widget_theysaidso_widget |
wps_save_settings |
widget_recent-comments |
can_compress_scripts |
wps_display |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WPS Bidouille
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲103 | 14.82 ▲0.43 | 1.82 ▼0.19 | 39.14 ▼7.84 |
Dashboard /wp-admin | 2,269 ▲117 | 5.90 ▲0.21 | 98.27 ▼11.71 | 83.47 ▲42.12 |
Posts /wp-admin/edit.php | 2,152 ▲63 | 2.04 ▲0.02 | 35.50 ▼7.09 | 34.49 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,573 ▲38 | 23.22 ▼0.04 | 686.63 ▼29.15 | 66.29 ▲7.90 |
Media Library /wp-admin/upload.php | 1,451 ▲63 | 4.17 ▼0.07 | 113.81 ▲13.94 | 45.64 ▼0.07 |
Tools /wp-admin/admin.php?page=wps-bidouille-tools | 1,157 | 4.62 | 43.00 | 101.05 |
WPS Bidouille /wp-admin/admin.php?page=wps-bidouille | 2,222 | 5.48 | 75.92 | 86.88 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_theysaidso_widget
- wps_save_settings
- widget_recent-comments
- wps_white_list
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- wps_notifs_ajax
- wps_display
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 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
- 29× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/wps-bidouille/blocks/settings_autoupdate.php
- > /wp-content/plugins/wps-bidouille/blocks/db_prefix.php
- > /wp-content/plugins/wps-bidouille/admin_page/remove_from_cache.php
- > /wp-content/plugins/wps-bidouille/blocks/ssl.php
- > /wp-content/plugins/wps-bidouille/blocks/title.php
- > /wp-content/plugins/wps-bidouille/blocks/optimisations.php
- > /wp-content/plugins/wps-bidouille/blocks/check_cache.php
- > /wp-content/plugins/wps-bidouille/admin_page/white_label.php
- > /wp-content/plugins/wps-bidouille/admin_page/plugin.php
- > /wp-content/plugins/wps-bidouille/blocks/update_traduction.php
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Trait 'WPS\\WPS_Bidouille\\Singleton' not found in wp-content/plugins/wps-bidouille/classes/helpers.php on line 5
- > PHP Fatal error
Trait 'WPS\\WPS_Bidouille\\Singleton' not found in wp-content/plugins/wps-bidouille/classes/removefromcache.php on line 5
- > PHP Warning
Use of undefined constant WPS_BIDOUILLE_DIR - assumed 'WPS_BIDOUILLE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wps-bidouille/autoload.php on line 197
- > PHP Fatal error
Trait 'WPS\\WPS_Bidouille\\Singleton' not found in wp-content/plugins/wps-bidouille/classes/plugin.php on line 5
- > PHP Fatal error
Trait 'WPS\\WPS_Bidouille\\Singleton' not found in wp-content/plugins/wps-bidouille/classes/suggest-plugins-themes.php on line 5
- > PHP Warning
Use of undefined constant WPS_BIDOUILLE_DIR - assumed 'WPS_BIDOUILLE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wps-bidouille/autoload.php on line 203
- > PHP Fatal error
Trait 'WPS\\WPS_Bidouille\\Singleton' not found in wp-content/plugins/wps-bidouille/classes/systemreport.php on line 5
- > PHP Fatal error
Trait 'WPS\\WPS_Bidouille\\Singleton' not found in wp-content/plugins/wps-bidouille/classes/tools.php on line 5
- > PHP Fatal error
Trait 'WPS\\WPS_Bidouille\\Singleton' not found in wp-content/plugins/wps-bidouille/classes/suggestions.php on line 5
- > PHP Fatal error
Trait 'WPS\\WPS_Bidouille\\Singleton' not found in wp-content/plugins/wps-bidouille/classes/whitelabel.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: wpserveur, error, transient, tools, admin...
wps-bidouille/wps-bidouille.php 85% from 13 tests
The entry point to "WPS Bidouille" version 1.29 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin15,501 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 16 | 6,410 |
PHP | 51 | 1,141 | 973 | 5,370 |
CSS | 2 | 114 | 71 | 2,288 |
PO File | 1 | 312 | 494 | 733 |
JavaScript | 7 | 84 | 44 | 669 |
JSON | 2 | 0 | 0 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 30.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 224 | |
▷ Static methods | 172 | 76.79% |
▷ Public methods | 207 | 92.41% |
▷ Protected methods | 13 | 5.80% |
▷ Private methods | 4 | 1.79% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 8 | |
▷ Global constants | 8 | 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
4 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/check-and-tools-logo-in-plugin.png | 39.55KB | 7.80KB | ▼ 80.28% |
assets/img/icone-encours.png | 7.78KB | 4.65KB | ▼ 40.19% |
assets/img/bg_title_plugin.png | 27.77KB | 12.63KB | ▼ 54.51% |
assets/img/bg_pub.png | 4.98KB | 2.63KB | ▼ 47.29% |