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.22MB] [CPU: ▼4.91ms] Passed 4 tests
Server-side resources used by Quizy
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 39.61 ▼0.19 |
Dashboard /wp-admin | 3.53 ▲0.22 | 47.36 ▼3.20 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 47.62 ▼3.24 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 86.86 ▼12.63 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 34.12 ▼0.58 |
All Quizzes /wp-admin/edit.php?post_type=qzy_quiz | 3.49 | 35.82 |
Quizy /wp-admin/options-general.php?page=quizy_settings | 3.41 | 31.08 |
Add New /wp-admin/post-new.php?post_type=qzy_quiz | 3.58 | 56.80 |
Add New /wp-admin/post-new.php?post_type=qzy_question | 3.65 | 56.96 |
Categories /wp-admin/edit-tags.php?taxonomy=quiz_cat&post_type=qzy_quiz | 3.44 | 34.61 |
All Questions /wp-admin/edit.php?post_type=qzy_question | 3.49 | 39.06 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 9 new options
New WordPress options |
---|
qzy_default_questions |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
qzy_default_duration |
qzy_default_quiz_type |
Browser metrics Passed 4 tests
A check of browser resources used by Quizy
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,976 ▲230 | 13.95 ▼0.70 | 8.78 ▲7.08 | 39.63 ▼0.65 |
Dashboard /wp-admin | 2,268 ▲79 | 4.84 ▼1.05 | 107.69 ▲3.30 | 40.98 ▼0.50 |
Posts /wp-admin/edit.php | 2,151 ▲59 | 2.02 ▼0.04 | 36.04 ▼8.80 | 34.93 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,585 ▲66 | 23.65 ▲0.46 | 642.42 ▲8.17 | 55.99 ▼6.65 |
Media Library /wp-admin/upload.php | 1,450 ▲59 | 4.25 ▼0.08 | 95.11 ▼4.52 | 44.04 ▼1.62 |
All Quizzes /wp-admin/edit.php?post_type=qzy_quiz | 1,131 | 1.94 | 30.90 | 28.16 |
Quizy /wp-admin/options-general.php?page=quizy_settings | 898 | 2.07 | 25.07 | 27.42 |
Add New /wp-admin/post-new.php?post_type=qzy_quiz | 2,399 | 7.62 | 168.11 | 64.20 |
Add New /wp-admin/post-new.php?post_type=qzy_question | 2,335 | 7.68 | 163.97 | 60.41 |
Categories /wp-admin/edit-tags.php?taxonomy=quiz_cat&post_type=qzy_quiz | 1,324 | 2.14 | 26.87 | 29.81 |
All Questions /wp-admin/edit.php?post_type=qzy_question | 1,167 | 1.98 | 34.89 | 29.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- qzy_default_questions
- qzy_default_duration
- widget_recent-posts
- qzy_default_quiz_type
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/quizy/index.php
- > /wp-content/plugins/quizy/includes/index.php
- > /wp-content/plugins/quizy/admin/index.php
- > /wp-content/plugins/quizy/assets/index.php
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 Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: quizzes, evaluation, extensible, tests, shortcode
quizy/quizy.php Passed 13 tests
"Quizy" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
54 characters long description:
Quizy enable you to create awesome Quizzes and tests..
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
Success! There were no dangerous files found in this plugin1,254 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 287 | 154 | 1,115 |
JavaScript | 3 | 25 | 13 | 79 |
CSS | 2 | 12 | 3 | 60 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 43.33 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 3.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 51 | |
▷ Static methods | 5 | 9.80% |
▷ Public methods | 51 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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