Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.80ms] Passed 4 tests
Server-side resources used by WP DPE-GES
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.65 ▼4.27 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.03 ▼3.62 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.98 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.94 ▼1.06 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.68 ▲0.52 |
DPE / GES /wp-admin/options-general.php?page=wpdpeges | 3.21 | 32.92 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP DPE-GES
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.23 ▼0.39 | 1.74 ▼0.32 | 44.04 ▲2.47 |
Dashboard /wp-admin | 2,201 ▲24 | 5.63 ▲0.03 | 89.68 ▲1.71 | 37.57 ▼6.16 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.95 ▼0.04 | 41.38 ▲4.95 | 35.98 ▼1.17 |
Add New Post /wp-admin/post-new.php | 6,371 ▲4,842 | 27.75 ▲4.96 | 822.93 ▲198.48 | 55.79 ▲5.37 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.39 ▲0.25 | 99.00 ▼4.79 | 44.34 ▼1.64 |
DPE / GES /wp-admin/options-general.php?page=wpdpeges | 888 | 1.98 | 21.98 | 26.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-dpe-ges/shortcode/dpeges-template.php
- 19× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dpe-ges/TinyMCE/tiny-mce-locale.php on line 5
- > PHP Notice
Undefined variable: displayGES in wp-content/plugins/wp-dpe-ges/shortcode/dpeges-template.php on line 71
- > PHP Notice
Undefined variable: ges_value in wp-content/plugins/wp-dpe-ges/shortcode/newdpeges-template.php on line 3
- > PHP Notice
Undefined variable: ges_value in wp-content/plugins/wp-dpe-ges/shortcode/newdpeges-template.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dpe-ges/wp-dpe-ges.php:32
- > PHP Warning
require(ABSPATHWPINC/class-wp-editor.php): failed to open stream: No such file or directory in wp-content/plugins/wp-dpe-ges/TinyMCE/tiny-mce-locale.php on line 5
- > PHP Notice
Undefined variable: dpe_value in wp-content/plugins/wp-dpe-ges/shortcode/newdpeges-template.php on line 7
- > PHP Notice
Undefined variable: shortcode in wp-content/plugins/wp-dpe-ges/shortcode/dpeges-template.php on line 13
- > PHP Notice
Undefined variable: displayDPE in wp-content/plugins/wp-dpe-ges/shortcode/dpeges-template.php on line 18
- > PHP Notice
Undefined variable: displayInline in wp-content/plugins/wp-dpe-ges/shortcode/dpeges-template.php on line 5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #6 (Une valeur vide affichera un DPE ou GES vierge) image not found
wp-dpe-ges/wp-dpe-ges.php 92% from 13 tests
The main PHP file in "WP DPE-GES" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin2,032 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 2 | 16 | 0 | 902 |
JavaScript | 8 | 41 | 96 | 527 |
PHP | 8 | 24 | 76 | 411 |
PO File | 1 | 64 | 124 | 145 |
JSON | 7 | 0 | 0 | 46 |
CSS | 2 | 1 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
TinyMCE/images/tinymce-dpeges.png | 4.55KB | 2.64KB | ▼ 41.88% |
TinyMCE/images/tinymce-ges.png | 3.32KB | 2.17KB | ▼ 34.71% |
TinyMCE/images/tinymce-dpe.png | 2.39KB | 1.95KB | ▼ 18.65% |