Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.21ms] Passed 4 tests
This is a short check of server-side resources used by Quizz
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.06 | 44.62 ▼1.67 |
Dashboard /wp-admin | 3.62 ▲0.06 | 53.92 ▲4.16 |
Posts /wp-admin/edit.php | 3.74 ▲0.06 | 52.81 ▼8.46 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.06 | 92.37 ▼10.87 |
Media Library /wp-admin/upload.php | 3.55 ▲0.06 | 46.49 ▲8.31 |
Questions /wp-admin/edit.php?post_type=question | 3.60 | 42.49 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=question | 3.54 | 42.94 |
Add New Question /wp-admin/post-new.php?post_type=question | 3.74 | 58.40 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=question | 3.54 | 38.22 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
category_children |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Quizz
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.75 ▲0.39 | 2.05 ▲0.31 | 44.07 ▲0.39 |
Dashboard /wp-admin | 2,225 ▲48 | 5.59 ▼0.09 | 89.27 ▼5.57 | 38.44 ▼2.30 |
Posts /wp-admin/edit.php | 2,133 ▲30 | 2.01 ▼0.00 | 40.07 ▼0.66 | 35.77 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,578 ▲25 | 23.56 ▲0.46 | 689.84 ▲14.49 | 60.60 ▲6.42 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.22 ▼0.00 | 97.02 ▼5.93 | 45.67 ▼0.79 |
Questions /wp-admin/edit.php?post_type=question | 1,155 | 2.00 | 36.86 | 32.90 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=question | 1,485 | 2.15 | 28.65 | 34.87 |
Add New Question /wp-admin/post-new.php?post_type=question | 2,471 | 7.72 | 171.86 | 62.63 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=question | 1,352 | 2.17 | 26.48 | 29.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- category_children
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quizz/quizz.php:58
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
2 plugin tags: question, quiz
quizz/quizz.php Passed 13 tests
The entry point to "Quizz" version 1.02 is a PHP file that has certain tags in its header comment area
69 characters long description:
A plugin that helps you create a simple sequential quiz on WordPress.
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
Good job! No executable or dangerous file extensions detected178 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 31 | 178 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin