Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼4.73ms] Passed 4 tests
An overview of server-side resources used by ARI Stream Quiz - WordPress Quizzes Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 42.58 ▲7.76 |
Dashboard /wp-admin | 3.77 ▲0.42 | 50.46 ▼13.49 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 47.23 ▼3.34 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.42 | 95.26 ▼7.60 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 36.85 ▲5.51 |
/wp-admin/admin.php?page=ari-stream-quiz-quiz | 3.68 | 34.59 |
Quizzes /wp-admin/admin.php?page=ari-stream-quiz-quizzes | 3.81 | 38.87 |
Settings /wp-admin/admin.php?page=ari-stream-quiz-settings | 3.73 | 32.61 |
Server storage [IO: ▲1.47MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 335 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_asq_answers |
wp_asq_questions |
wp_asq_result_templates |
wp_asq_quizzes |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
ari_stream_quiz_version |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ARI Stream Quiz - WordPress Quizzes Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲80 | 14.34 ▲0.11 | 2.02 ▲0.50 | 43.35 ▲6.30 |
Dashboard /wp-admin | 2,225 ▲44 | 5.59 ▼0.12 | 84.10 ▼20.82 | 36.80 ▼1.03 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.96 ▼0.06 | 39.39 ▼0.04 | 37.35 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.72 ▲0.50 | 682.68 ▲10.48 | 53.74 ▼0.59 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.19 ▼0.12 | 101.47 ▼14.64 | 41.86 ▼6.30 |
/wp-admin/admin.php?page=ari-stream-quiz-quiz | 1,141 | 2.29 | 43.06 | 42.31 |
Quizzes /wp-admin/admin.php?page=ari-stream-quiz-quizzes | 1,144 | 2.28 | 41.69 | 28.68 |
Settings /wp-admin/admin.php?page=ari-stream-quiz-settings | 1,885 | 2.70 | 49.04 | 26.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 4 tables
- wp_asq_questions
- wp_asq_quizzes
- wp_asq_answers
- wp_asq_result_templates
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- ari_stream_quiz_version
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ari-stream-quiz/ari-stream-quiz.php
- > /wp-content/plugins/ari-stream-quiz/loader.php
- > /wp-content/plugins/ari-stream-quiz/includes/views/quiz-session/tmpl/image.php
- 191× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Http\\Message\\Encoding\\FilteredStream' not found in wp-content/plugins/ari-stream-quiz/libraries/vendor/vendor/php-http/message/src/Encoding/DeflateStream.php:12
- > PHP Fatal error
Uncaught Error: Class 'Ari_Stream_Quiz_Themes\\Loader' not found in wp-content/plugins/ari-stream-quiz/themes/standard/class-loader.php:6
- > PHP Fatal error
Uncaught Error: Class 'Http\\Discovery\\Exception\\StrategyUnavailableException' not found in wp-content/plugins/ari-stream-quiz/libraries/vendor/vendor/php-http/discovery/src/Exception/PuliUnavailableException.php:10
- > PHP Fatal error
Uncaught Error: Class 'Ari_Stream_Quiz\\Views\\Site_Base' not found in wp-content/plugins/ari-stream-quiz/includes/views/quiz-session/class-html.php:9
- > PHP Fatal error
Uncaught Error: Class 'Ari\\Controllers\\Ajax' not found in wp-content/plugins/ari-stream-quiz/includes/controllers/quiz-session/class-ajax-collect-data.php:8
- > PHP Notice
Undefined variable: data in wp-content/plugins/ari-stream-quiz/includes/views/quiz-session/tmpl/default.php on line 8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/ari-stream-quiz/libraries/vendor/vendor/guzzlehttp/psr7/src/CachingStream.php:10
- > PHP Fatal error
Uncaught Error: Class 'Ari\\Controllers\\Controller' not found in wp-content/plugins/ari-stream-quiz/libraries/arisoft/core/controllers/class-display.php:4
- > PHP Fatal error
Uncaught Error: Class 'Ari\\Controllers\\Controller' not found in wp-content/plugins/ari-stream-quiz/includes/controllers/quizzes/class-sort.php:9
- > PHP Fatal error
Uncaught Error: Class 'Ari\\Controllers\\Controller' not found in wp-content/plugins/ari-stream-quiz/includes/controllers/quizzes/class-delete.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ari-stream-quiz/ari-stream-quiz.php Passed 13 tests
The principal PHP file in "ARI Stream Quiz - WordPress Quizzes Builder" v. 1.3.1 is loaded by WordPress automatically on each request
51 characters long description:
Powerful and easy to use quiz plugin for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin20,900 lines of code in 312 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 239 | 3,696 | 5,287 | 13,610 |
JavaScript | 20 | 534 | 30 | 1,749 |
Markdown | 20 | 963 | 0 | 1,461 |
JSON | 17 | 2 | 0 | 1,432 |
PO File | 3 | 522 | 618 | 1,430 |
CSS | 4 | 9 | 53 | 1,087 |
SQL | 1 | 3 | 0 | 67 |
XML | 2 | 1 | 3 | 31 |
SVG | 4 | 0 | 0 | 19 |
YAML | 2 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 54 | |
Interfaces | 21 | |
Traits | 6 | |
Classes | 185 | |
▷ Abstract classes | 4 | 2.16% |
▷ Concrete classes | 181 | 97.84% |
▷ Final classes | 42 | 23.20% |
Methods | 1,063 | |
▷ Static methods | 158 | 14.86% |
▷ Public methods | 884 | 83.16% |
▷ Protected methods | 93 | 8.75% |
▷ Private methods | 86 | 8.09% |
Functions | 102 | |
▷ Named functions | 32 | 31.37% |
▷ Anonymous functions | 70 | 68.63% |
Constants | 59 | |
▷ Global constants | 39 | 66.10% |
▷ Class constants | 20 | 33.90% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin