Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼1.62MB] [CPU: ▼47.02ms] Passed 4 tests
Analyzing server-side resources used by Widget Actualites Relation Client
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.37 ▼1.09 | 10.75 ▼38.32 |
Dashboard /wp-admin | 2.38 ▼0.92 | 12.38 ▼38.47 |
Posts /wp-admin/edit.php | 2.39 ▼0.97 | 13.99 ▼36.18 |
Add New Post /wp-admin/post-new.php | 2.38 ▼3.50 | 13.70 ▼75.12 |
Media Library /wp-admin/upload.php | 2.38 ▼0.84 | 12.85 ▼18.21 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Widget Actualites Relation Client
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.21 ▼1.23 | 1.95 ▼0.12 | 44.94 ▼2.61 |
Dashboard /wp-admin | 2,203 ▲18 | 4.83 ▼0.07 | 143.86 ▲29.82 | 43.40 ▲6.95 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.06 | 39.05 ▼1.06 | 35.16 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.21 ▲5.49 | 658.63 ▲69.40 | 61.19 ▲14.22 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.24 ▲0.02 | 98.64 ▲1.01 | 43.09 ▲0.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/widget-actualites-relation-client/widget-actu-relation-client.php+512
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widget-actualites-relation-client/widget-actu-relation-client.php:566
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Le "Widget Actualites Relation Client" en action dans le backoffice de WordPress.), #2 (L'option pour afficher plusieurs widgets dans votre sidebar), #3 (Un exemple pour vous présenter le plugin en action directement sur une sidebar.)
widget-actualites-relation-client/widget-actu-relation-client.php 85% from 13 tests
The main PHP script in "Widget Actualites Relation Client" version 2.0 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 239 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("widget-actualites-relation-client.php" instead of "widget-actu-relation-client.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected455 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 88 | 26 | 455 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 70.00 |
▷ Minimum class complexity | 70.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 7.90 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 17.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There were not PNG files found in your plugin