Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▲2.62ms] Passed 4 tests
Analyzing server-side resources used by dial voyants
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 47.45 ▲10.93 |
Dashboard /wp-admin | 3.61 ▲0.26 | 59.40 ▼5.10 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 58.20 ▲9.83 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 93.98 ▼1.64 |
Media Library /wp-admin/upload.php | 3.45 ▲0.21 | 44.68 ▲7.37 |
Voyants Avis /wp-admin/admin.php?page=voyants-info | 3.43 | 324.64 |
style /wp-admin/admin.php?page=style | 3.44 | 45.00 |
Dial Voyants /wp-admin/admin.php?page=dialvoyants | 3.44 | 42.71 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 47 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_voyants_info |
New WordPress options |
---|
theysaidso_admin_options |
dv_settings_style |
dialv_plugin_version |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
dv_settings |
widget_theysaidso_widget |
my_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for dial voyants
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲226 | 14.71 ▲0.08 | 1.69 ▲0.11 | 43.62 ▼0.37 |
Dashboard /wp-admin | 2,381 ▲211 | 6.39 ▲0.73 | 109.13 ▲3.88 | 43.00 ▲1.06 |
Posts /wp-admin/edit.php | 2,303 ▲203 | 3.52 ▲1.53 | 52.49 ▲11.83 | 34.22 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,721 ▲195 | 22.08 ▼1.45 | 651.16 ▼44.79 | 39.17 ▼25.25 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.34 ▲0.16 | 84.08 ▼17.38 | 43.93 ▼0.30 |
Voyants Avis /wp-admin/admin.php?page=voyants-info | 1,134 | 3.23 | 43.00 | 24.32 |
style /wp-admin/admin.php?page=style | 1,407 | 3.70 | 77.37 | 28.85 |
Dial Voyants /wp-admin/admin.php?page=dialvoyants | 1,214 | 3.38 | 39.91 | 25.93 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- dialv_plugin_version
- widget_theysaidso_widget
- theysaidso_admin_options
- my_db_version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=voyants-info
- > Warning in wp-content/plugins/dial-voyants/core/dial-voyants-admin.php+388
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/dial-voyants/templates/full-voyants.php:1
- > PHP Warning
require_once(DIALV_PLUGIN_DIR/core/DialVoyantsAvis.php): failed to open stream: No such file or directory in wp-content/plugins/dial-voyants/core/dial-voyants-admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/dial-voyants/templates/col-audio-voyants.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/dial-voyants/templates/sidebar-voyants.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dial-voyants/templates/page-voyant.php:2
- > PHP Fatal error
require_once(): Failed opening required 'DIALV_PLUGIN_DIR/core/DialVoyantsAvis.php' (include_path='.:/usr/share/php') in wp-content/plugins/dial-voyants/core/dial-voyants-admin.php on line 2
- > PHP Notice
Undefined variable: avis in wp-content/plugins/dial-voyants/templates/voyant-detail.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dial-voyants/core/inline-css.php:2
- > PHP Warning
Use of undefined constant DIALV_PLUGIN_DIR - assumed 'DIALV_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/dial-voyants/core/dial-voyants-admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/dial-voyants/templates/col-voyants.php:1
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
There were not plugin tags detected
dial-voyants/dial-voyants.php 85% from 13 tests
Analyzing the main PHP file in "dial voyants" version 2.9.7
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.3" instead of "5.2")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "7.3")
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
Good job! No executable or dangerous file extensions detected2,728 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 373 | 29 | 1,845 |
CSS | 4 | 58 | 25 | 515 |
JavaScript | 4 | 76 | 10 | 368 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 17 | 51.52% |
▷ Public methods | 25 | 75.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 24.24% |
Functions | 25 | |
▷ Named functions | 14 | 56.00% |
▷ Anonymous functions | 11 | 44.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
19 PNG files occupy 0.48MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/num-belg.png | 3.95KB | 1.96KB | ▼ 50.37% |
assets/images/num-canada.png | 4.92KB | 3.72KB | ▼ 24.50% |
assets/images/forfait.png | 2.17KB | 1.11KB | ▼ 48.74% |
assets/images/Saphir.png | 76.16KB | 41.46KB | ▼ 45.56% |
assets/images/tel.png | 2.09KB | 1.07KB | ▼ 48.90% |