Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.82MB] [CPU: ▼60.05ms] Passed 4 tests
A check of server-side resources used by Orthotypo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 42.30 ▼0.32 |
Dashboard /wp-admin | 2.13 ▼1.21 | 6.10 ▼60.64 |
Posts /wp-admin/edit.php | 2.13 ▼1.23 | 5.98 ▼50.19 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.76 | 5.84 ▼94.49 |
Media Library /wp-admin/upload.php | 2.13 ▼1.10 | 6.25 ▼34.88 |
Orthotypo /wp-admin/options-general.php?page=orthotypo | 2.13 | 6.15 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 21 new options
New WordPress options |
---|
debug_options-replace_space_by_underscore |
rules-number_e |
rules-pleasantries_mlle |
theysaidso_admin_options |
rules-pleasantries_dr |
db_upgraded |
rules-pleasantries_pr |
global-is_init |
rules-quotation_marks |
rules-number_er |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Orthotypo
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.27 ▼0.46 | 1.95 ▲0.22 | 46.58 ▲2.64 |
Dashboard /wp-admin | 2,203 ▲26 | 5.70 ▲0.03 | 87.18 ▼18.17 | 38.20 ▼5.98 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.02 ▲0.02 | 39.38 ▼1.25 | 37.73 ▲4.25 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 23.44 ▲0.14 | 694.16 ▲59.71 | 52.18 ▼7.37 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.21 ▲0.03 | 105.53 ▲4.94 | 47.83 ▲4.80 |
Orthotypo /wp-admin/options-general.php?page=orthotypo | 1,280 | 2.05 | 28.16 | 39.77 |
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
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the orthotypo handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 21 options in the database
- debug_options-replace_space_by_underscore
- global-is_init
- global-filters
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- debug_options-use_red_color
- rules-number_nd
- rules-pleasantries_pr
- rules-percentage
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=orthotypo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the orthotypo handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=orthotypo
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the orthotypo handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/orthotypo-orthotypographie-automatique/includes/admin/main.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Contributors: Contributors not specified
- Screenshots: Please a description for screenshot #1 in orthotypo-orthotypographie-automatique/assets to your readme.txt
orthotypo-orthotypographie-automatique/orthotypo.php 92% from 13 tests
The main PHP script in "Orthotypo" version 1.0.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("orthotypo-orthotypographie-automatique.php" instead of "orthotypo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected515 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 116 | 112 | 430 |
CSS | 2 | 13 | 8 | 61 |
JavaScript | 1 | 5 | 4 | 18 |
Markdown | 1 | 6 | 0 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin