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.19MB] [CPU: ▼2.87ms] Passed 4 tests
Analyzing server-side resources used by Quick Quiz
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 40.70 ▼8.23 |
Dashboard /wp-admin | 3.50 ▲0.19 | 48.99 ▼4.81 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 53.02 ▼1.36 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 103.54 ▲4.88 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 40.05 ▲2.91 |
Server storage [IO: ▲0.45MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: 7 new tables, 7 new options
New tables |
---|
wp_quick_quiz_question_list |
wp_quick_quiz_exam_data_answers |
wp_quick_quiz_data |
wp_quick_quiz_questions |
wp_quick_quiz_exam_data_questions |
wp_quick_quiz_answers |
wp_quick_quiz_exam_data |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
custom_table_quick_quiz_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by Quick Quiz
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 14.47 ▲0.08 | 1.82 ▼0.31 | 42.72 ▼0.55 |
Dashboard /wp-admin | 2,206 ▲15 | 5.84 ▲0.95 | 108.95 ▲5.21 | 79.57 ▲34.71 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.03 ▲0.02 | 38.62 ▲0.26 | 35.19 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,683 ▲164 | 22.17 ▼0.92 | 721.83 ▲37.47 | 53.62 ▼13.12 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.25 ▼0.01 | 110.54 ▲8.16 | 50.81 ▲4.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- Zombie WordPress options detected upon uninstall: 7 options
- custom_table_quick_quiz_db_version
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Screenshot #3 (Add question) image missing
- Screenshots: Add a description for screenshot #-3 in quick-quiz/assets to your readme.txt
quick-quiz/quick-quiz.php Passed 13 tests
Analyzing the main PHP file in "Quick Quiz" version 1.1
19 characters long description:
Simple quiz creator
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected6,053 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 20 | 11 | 4,401 |
PHP | 4 | 624 | 124 | 985 |
JavaScript | 2 | 49 | 19 | 438 |
SVG | 1 | 0 | 0 | 229 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
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 |
asset/images/quiz-icon3.png | 0.60KB | 0.49KB | ▼ 17.84% |