Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▲4.40ms] Passed 4 tests
A check of server-side resources used by Quiz Maker - Save Progress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 48.93 ▲8.59 |
Dashboard /wp-admin | 3.37 ▲0.06 | 56.85 ▲7.58 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 54.91 ▲4.20 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 101.20 ▲0.11 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.39 ▲5.70 |
Quiz Maker - Save Progress Settings /wp-admin/options-general.php?page=quizz-maker-save-progress-settings | 3.25 | 33.14 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Quiz Maker - Save Progress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.34 ▼1.44 | 2.45 ▲0.11 | 47.95 ▲0.62 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼1.04 | 117.55 ▲12.96 | 45.89 ▲4.41 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.01 | 43.89 ▲3.50 | 37.97 ▲3.30 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 22.86 ▼0.18 | 626.43 ▲20.39 | 54.74 ▲0.61 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.26 ▼0.01 | 94.92 ▼8.47 | 42.06 ▼1.41 |
Quiz Maker - Save Progress Settings /wp-admin/options-general.php?page=quizz-maker-save-progress-settings | 809 | 2.06 | 25.28 | 29.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quiz-maker-save-progress/list-saves.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quiz-maker-save-progress/inject-footer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quiz-maker-save-progress/save-progress.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/quiz-maker-save-progress/options-page.php:121
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quiz-maker-save-progress/save-progress.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: test, questionnaire, exam, save progress, quiz maker...
quiz-maker-save-progress/quiz-maker-save-progress.php 92% from 13 tests
This is the main PHP file of "Quiz Maker - Save Progress" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin348 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 53 | 24 | 348 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin