Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.56MB] [CPU: ▲2.30ms] Passed 4 tests
Server-side resources used by Qwizcards | online quizzes and flashcards
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.57 | 54.67 ▲13.15 |
Dashboard /wp-admin | 3.84 ▲0.54 | 52.42 ▲1.70 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 55.03 ▲0.45 |
Add New Post /wp-admin/post-new.php | 6.91 ▲1.02 | 98.58 ▲3.37 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 42.92 ▲3.69 |
Qwizcards /wp-admin/options-general.php?page=qwiz-admin | 3.76 | 43.04 |
Server storage [IO: ▲3.70MB] [DB: ▲1.14MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 105 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_qwiz_dataset_json2 |
wp_qwiz_textentry_suggestions |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
qwiz_textentry_suggestions_ver |
dataset_json_db_table_update |
theysaidso_admin_options |
qwiz_textentry_suggestions_db_table_update |
db_upgraded |
Browser metrics Passed 4 tests
Qwizcards | online quizzes and flashcards: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,191 ▲445 | 15.53 ▲1.23 | 42.37 ▲40.49 | 49.36 ▲8.51 |
Dashboard /wp-admin | 2,232 ▲44 | 5.82 ▲0.88 | 107.54 ▼0.91 | 37.71 ▼5.54 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.02 ▲0.03 | 35.81 ▼5.18 | 33.17 ▼5.04 |
Add New Post /wp-admin/post-new.php | 1,628 ▲95 | 19.24 ▼3.87 | 742.36 ▲64.59 | 37.75 ▼16.89 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.16 ▼0.15 | 104.95 ▼8.54 | 53.09 ▲4.72 |
Qwizcards /wp-admin/options-general.php?page=qwiz-admin | 1,419 | 3.51 | 63.30 | 26.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲1.14MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_qwiz_dataset_json2
- wp_qwiz_textentry_suggestions
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- qwiz_textentry_suggestions_db_table_update
- db_upgraded
- widget_recent-posts
- qwiz_textentry_suggestions_ver
- widget_recent-comments
- dataset_json_db_table_update
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/qwiz-online-quizzes-and-flashcards/payment_received.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: flashcards, labeled diagrams, interactive quiz, quiz
qwiz-online-quizzes-and-flashcards/qwizcards-header.php 92% from 13 tests
The entry point to "Qwizcards | online quizzes and flashcards" version 3.88 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("qwiz-online-quizzes-and-flashcards.php" instead of "qwizcards-header.php")
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
No dangerous file extensions were detected47,073 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 27 | 168 | 1,043 | 36,999 |
CSS | 10 | 34 | 275 | 5,268 |
PHP | 8 | 5 | 85 | 4,782 |
SVG | 8 | 0 | 0 | 24 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 86 | |
▷ Named functions | 85 | 98.84% |
▷ Anonymous functions | 1 | 1.16% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
44 PNG files occupy 0.17MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-bg_gloss-wave_35_f6a828_500x100.png | 5.68KB | 1.83KB | ▼ 67.77% |
images/add_icon.png | 2.78KB | 1.75KB | ▼ 36.95% |
images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |