QuizAd 1.5.4

Does QuizAd work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2Database errors
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 90.19 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/quizad/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=quizad%2FQuizAd.php&plugin_status=all&paged=1&s&_wpnonce=1c31a6bb22
Aspect after-activation
HTTP status 200
Load time 0.328 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

QuizAd

Page screenshot: QuizAd
URL /wp-admin/admin.php?page=my-submenu-ustawienia
Aspect menu-item
HTTP status 200
Load time 0.835 s
Memory usage 3.53 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at /wp-content/plugins/quizad/assets/js/registration.js?ver=2.0.0:121:20\n    at /wp-content/plugins/quizad/assets/js/registration.js?ver=2.0.0:184:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

QuizAd → Zaawansowane

Page screenshot: QuizAd → Zaawansowane
URL /wp-admin/admin.php?page=my-submenu-zaawansowane
Aspect menu-item
HTTP status 200
Load time 0.582 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.778 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.319 s-0.025 s3.47 MiB3.56 MiB+ 84.48 KiB
/wp-admin/edit.php0.213 s0.197 s-0.016 s3.54 MiB3.62 MiB+ 83.02 KiB
/wp-admin/post-new.php0.803 s0.626 s-0.177 s5.75 MiB5.84 MiB+ 88.01 KiB
/wp-admin/upload.php0.666 s0.537 s-0.129 s3.49 MiB3.55 MiB+ 65.61 KiB
/wp-admin/options-writing.php0.201 s0.222 s+0.021 s3.41 MiB3.54 MiB+ 128.41 KiB
/wp-admin/media-new.php0.248 s0.252 s+0.004 s3.4 MiB3.53 MiB+ 141.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.204 s+0.014 s3.47 MiB3.56 MiB+ 88.48 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.586 s-0.032 s5.75 MiB5.83 MiB+ 83.59 KiB
/wp-admin/options-discussion.php0.242 s0.333 s+0.091 s3.41 MiB3.53 MiB+ 130.1 KiB
/wp-admin/edit-comments.php0.236 s0.232 s-0.004 s3.49 MiB3.55 MiB+ 65.6 KiB
/0.315 s0.640 s+0.325 s3.45 MiB3.49 MiB+ 32.97 KiB
Average 0.371 s0.377 s+0.007 s3.87 MiB3.96 MiB+ 90.19 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP83.7%5,3071,719131
JavaScript9.5%605807
CSS6.8%432301
Total 6,344 1,829 139

PHP Code Analysis | More results »

Lines of code 4,087
Total complexity 568
Median class complexity 4.0
Median method complexity 1.0
Most complex class QuizAd\Service\Wordpress\PageService
Most complex function QuizAd\Service\Registration\CredentialsApiClient::loginApp()
Classes 106
Methods 348
Functions 0

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 4

PHP Error Log 2 lines

[24-Oct-2024 09:12:49 UTC] WordPress database error Cannot truncate a table referenced in a foreign key constraint (`wordpress`.`quizAd_froc_placements_positions`, CONSTRAINT `quizAd_froc_placements_positions_ibfk_2` FOREIGN KEY (`placement_id`) REFERENCES `wordpress`.`quizAd_froc_placements) for query TRUNCATE TABLE quizAd_froc_placements made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/twentyseventeen/index.php'), get_template_part, locate_template, load_template, require('/themes/twentyseventeen/template-parts/post/content.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, QuizAd\Service\Wordpress\PageService->quizAd_insertPlacement, QuizAd\Service\Placements\PlacementsService->getPlacements, QuizAd\Service\Placements\PlacementsService->fetchAllPlacement, QuizAd\Database\PlacementsRepository->removeAllPlacements, QuizAd\Database\AbstractDatabaseRepository->query
[24-Oct-2024 09:12:59 UTC] WordPress database error Cannot truncate a table referenced in a foreign key constraint (`wordpress`.`quizAd_froc_placements_positions`, CONSTRAINT `quizAd_froc_placements_positions_ibfk_2` FOREIGN KEY (`placement_id`) REFERENCES `wordpress`.`quizAd_froc_placements) for query TRUNCATE TABLE quizAd_froc_placements made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/twentyseventeen/index.php'), get_template_part, locate_template, load_template, require('/themes/twentyseventeen/template-parts/post/content.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, QuizAd\Service\Wordpress\PageService->quizAd_insertPlacement, QuizAd\Service\Placements\PlacementsService->getPlacements, QuizAd\Service\Placements\PlacementsService->fetchAllPlacement, QuizAd\Database\PlacementsRepository->removeAllPlacements, QuizAd\Database\AbstractDatabaseRepository->query
See also: All tests for this plugin, How to Hide QuizAd Admin Menus