Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.19ms] Passed 4 tests
An overview of server-side resources used by Le Quiz
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.46 ▼2.88 |
Dashboard /wp-admin | 3.47 ▲0.16 | 48.79 ▼2.99 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 59.50 ▲14.21 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 91.57 ▼13.57 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.82 ▲2.70 |
Le Quiz /wp-admin/options-general.php?page=lequiz_sub_level_settings_page | 3.37 | 42.02 |
Server storage [IO: ▲0.19MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wp_calendar_block_has_published_posts |
widget_theysaidso_widget |
widget_recent-posts |
category_children |
can_compress_scripts |
lequiz_prem |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Le Quiz
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲122 | 13.39 ▼1.25 | 1.70 ▼0.14 | 39.66 ▼5.48 |
Dashboard /wp-admin | 2,228 ▲37 | 5.91 ▲0.01 | 102.53 ▼9.73 | 39.77 ▼1.24 |
Posts /wp-admin/edit.php | 2,254 ▲165 | 1.99 ▼0.06 | 38.91 ▼1.89 | 33.68 ▼2.42 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 23.17 ▲0.01 | 665.23 ▼10.39 | 56.41 ▲5.39 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.17 ▼0.00 | 97.36 ▼4.53 | 43.18 ▲0.35 |
Le Quiz /wp-admin/options-general.php?page=lequiz_sub_level_settings_page | 1,294 | 2.05 | 27.29 | 29.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- lequiz_prem
- can_compress_scripts
- category_children
- db_upgraded
- wp_calendar_block_has_published_posts
- widget_recent-comments
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/lequiz/inc/aide.php
- 2× 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/lequiz/inc/admin-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/lequiz/lequiz.php:14
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: Plugin contributors not specified
lequiz/lequiz.php 92% from 13 tests
The principal PHP file in "Le Quiz" v. 1.6.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,687 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 45 | 68 | 1,548 |
PHP | 4 | 85 | 73 | 919 |
CSS | 1 | 3 | 0 | 220 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 35 | |
▷ Named functions | 35 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/outils.png | 1.70KB | 1.41KB | ▼ 16.88% |