Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲3.64MB] [CPU: ▲21.13ms] 75% from 4 tests
A check of server-side resources used by Quiz Maker
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 3,340.44ms on /wp-admin/admin.php?page=quiz-maker-featured-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.02 ▲3.55 | 62.10 ▲20.68 |
Dashboard /wp-admin | 6.96 ▲3.62 | 77.95 ▲16.34 |
Posts /wp-admin/edit.php | 7.06 ▲3.70 | 80.94 ▲30.73 |
Add New Post /wp-admin/post-new.php | 9.67 ▲3.79 | 113.94 ▲16.75 |
Media Library /wp-admin/upload.php | 6.92 ▲3.69 | 71.35 ▲37.71 |
/wp-admin/admin.php?page=quiz-maker-all-reviews | 7.00 | 69.79 |
How to use /wp-admin/admin.php?page=quiz-maker-dashboard | 7.01 | 74.55 |
Quizzes /wp-admin/admin.php?page=quiz-maker | 7.01 | 88.80 |
PRO Features /wp-admin/admin.php?page=quiz-maker-quiz-features | 7.07 | 86.66 |
Questions /wp-admin/admin.php?page=quiz-maker-questions | 7.00 | 68.99 |
Integrations /wp-admin/admin.php?page=quiz-maker-integrations | 7.09 | 69.11 |
Results /wp-admin/admin.php?page=quiz-maker-results | 7.00 | 70.64 |
General Settings /wp-admin/admin.php?page=quiz-maker-settings | 8.54 | 77.80 |
Our products /wp-admin/admin.php?page=quiz-maker-featured-plugins | 7.27 | 3,340.44 |
Question Categories /wp-admin/admin.php?page=quiz-maker-question-categories | 6.98 | 72.70 |
Server storage [IO: ▲9.28MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 260 new files
Database: 9 new tables, 11 new options
New tables |
---|
wp_aysquiz_themes |
wp_aysquiz_categories |
wp_aysquiz_rates |
wp_aysquiz_reports |
wp_aysquiz_questions |
wp_aysquiz_quizes |
wp_aysquiz_quizcategories |
wp_aysquiz_settings |
wp_aysquiz_answers |
New WordPress options |
---|
widget_recent-posts |
ays_quiz_sale_btn |
ays_quiz_sale_btn_for_two_months |
can_compress_scripts |
widget_recent-comments |
ays_quiz_rate_state |
widget_theysaidso_widget |
db_upgraded |
ays_quiz_db_version |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Quiz Maker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲207 | 14.16 ▼0.55 | 1.67 ▼0.11 | 19.07 ▼25.80 |
Dashboard /wp-admin | 2,360 ▲183 | 5.70 ▲0.07 | 94.42 ▲0.15 | 77.33 ▲30.80 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 1.97 ▲0.02 | 38.77 ▼0.76 | 39.09 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 20.61 ▼2.63 | 768.88 ▲119.00 | 38.40 ▼11.36 |
Media Library /wp-admin/upload.php | 1,469 ▲75 | 4.21 ▲0.04 | 106.03 ▲8.94 | 72.43 ▲29.76 |
/wp-admin/admin.php?page=quiz-maker-all-reviews | 2,530 | 5.59 | 128.09 | 174.63 |
How to use /wp-admin/admin.php?page=quiz-maker-dashboard | 2,815 | 11.59 | 344.61 | 184.22 |
Quizzes /wp-admin/admin.php?page=quiz-maker | 3,151 | 12.23 | 335.63 | 180.47 |
PRO Features /wp-admin/admin.php?page=quiz-maker-quiz-features | 3,394 | 5.38 | 81.51 | 151.64 |
Questions /wp-admin/admin.php?page=quiz-maker-questions | 2,625 | 5.54 | 86.24 | 145.31 |
Integrations /wp-admin/admin.php?page=quiz-maker-integrations | 2,888 | 5.51 | 83.90 | 149.65 |
Results /wp-admin/admin.php?page=quiz-maker-results | 2,553 | 5.48 | 85.42 | 112.40 |
General Settings /wp-admin/admin.php?page=quiz-maker-settings | 10,811 | 6.96 | 223.13 | 133.49 |
Our products /wp-admin/admin.php?page=quiz-maker-featured-plugins | 1,799 | 5.49 | 79.33 | 121.52 |
Question Categories /wp-admin/admin.php?page=quiz-maker-question-categories | 2,159 | 5.38 | 84.70 | 139.52 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- ays_quiz_mega_bundle_banner_time
- ays_quiz_sale_btn_for_two_months
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- ays_quiz_sale_btn
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- ays_quiz_rate_state
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/quiz-maker/public/partials/quiz-maker-public-display.php
- > /wp-content/plugins/quiz-maker/admin/partials/subscribe/quiz-maker-subscribe-email-display.php
- 39× 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 __() in wp-content/plugins/quiz-maker/admin/partials/features/quiz-maker-features-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/quiz-maker/admin/partials/quizes/actions/quiz-maker-quizes-actions.php:13
- > PHP Warning
Use of undefined constant AYS_QUIZ_ADMIN_URL - assumed 'AYS_QUIZ_ADMIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/quiz-maker/admin/partials/questions/quiz-maker-question-categories-display.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'Quiz_Maker_Public' not found in wp-content/plugins/quiz-maker/public/partials/class-quiz-theme-rect-light.php:31
- > PHP Warning
Use of undefined constant AYS_QUIZ_ADMIN_URL - assumed 'AYS_QUIZ_ADMIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/quiz-maker/admin/partials/quizes/quiz-maker-quiz-categories-display.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/quiz-maker/includes/lists/class-quiz-maker-results-list-table.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/quiz-maker/includes/lists/class-quiz-maker-quizes-list-table.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader-skin.php' (include_path='.:/usr/share/php') in wp-content/plugins/quiz-maker/includes/admin/class-quiz-maker-install-skin.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Quiz_Maker_Public' not found in wp-content/plugins/quiz-maker/public/partials/class-quiz-theme-elegant-dark.php:31
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/quiz-maker/admin/partials/results/quiz-maker-all-reviews-display.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: exam, questionnaire, quiz, test, education...
quiz-maker/quiz-maker.php Passed 13 tests
This is the main PHP file of "Quiz Maker" version 6.4.9.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
55 characters long description:
This plugin allows you make unlimited number of quizes.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected82,545 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 5,027 | 3,641 | 34,329 |
PO File | 9 | 9,516 | 16,843 | 22,511 |
JavaScript | 24 | 1,284 | 835 | 11,606 |
CSS | 23 | 1,773 | 2,311 | 11,091 |
SVG | 38 | 0 | 1 | 2,867 |
JSON | 2 | 0 | 0 | 141 |
PHP code 0% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 1,520)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 698)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 142.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,520.00 |
Average method complexity | 8.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 698.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 553 | |
▷ Static methods | 88 | 15.91% |
▷ Public methods | 500 | 90.42% |
▷ Protected methods | 46 | 8.32% |
▷ Private methods | 7 | 1.27% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
69 compressed PNG files occupy 0.50MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/correct-style-6.png | 1.47KB | 1.46KB | 0.07% |
admin/images/integrations/zapier_logo.png | 0.57KB | 0.57KB | 0.00% |
admin/images/icons/user2.png | 0.52KB | 0.52KB | 0.19% |
public/images/wrong-style-2.png | 0.46KB | 0.46KB | 0.00% |
public/images/wrong-style-10.png | 2.00KB | 1.93KB | ▼ 3.90% |