Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼0.31ms] Passed 4 tests
A check of server-side resources used by Chidoo Quizmaster
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.13 | 37.01 ▼1.24 |
Dashboard /wp-admin | 3.43 ▲0.12 | 46.32 ▲0.48 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.31 ▲2.36 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 84.67 ▼2.86 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.68 ▲4.21 |
Quizmaster /wp-admin/admin.php?page=chiqm_apps | 3.50 | 33.04 |
Configure Quizmaster App /wp-admin/options.php?page=chiqm_configure_app | 3.32 | 32.07 |
How to create custom apps /wp-admin/admin.php?page=chiqm_custom_apps | 3.32 | 32.62 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
chiqm_applist |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Chidoo Quizmaster
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲208 | 13.64 ▼0.59 | 4.92 ▲3.27 | 38.98 ▼1.11 |
Dashboard /wp-admin | 2,229 ▲44 | 5.85 ▲0.92 | 103.16 ▼1.56 | 74.52 ▲34.72 |
Posts /wp-admin/edit.php | 2,121 ▲29 | 2.01 ▼0.01 | 34.40 ▼5.42 | 31.30 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,698 ▲184 | 22.12 ▲4.50 | 739.94 ▲67.46 | 49.36 ▼1.47 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.19 ▼0.01 | 108.14 ▲11.56 | 46.24 ▲2.89 |
Quizmaster /wp-admin/admin.php?page=chiqm_apps | 866 | 2.07 | 24.81 | 26.75 |
Configure Quizmaster App /wp-admin/options.php?page=chiqm_configure_app | 800 | 2.03 | 24.38 | 23.74 |
How to create custom apps /wp-admin/admin.php?page=chiqm_custom_apps | 806 | 2.03 | 25.50 | 25.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/chidoo-quizmaster/public/partials/chiqm-public-display.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/chidoo-quizmaster/includes/chiqm-definitions.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/chidoo-quizmaster/includes/class-chiqm-app.php:3
- > PHP Warning
require_once(CHIQM_PLUGIN_PATH/includes/class-chiqm-app.php): failed to open stream: No such file or directory in wp-content/plugins/chidoo-quizmaster/apps/chiqm-memory/chiqm-memory.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/chidoo-quizmaster/apps/chiqm-memory/chiqm-memory-dynamic-translation.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/chidoo-quizmaster/admin/partials/chiqm-admin-options-configure-app.php:6
- > PHP Fatal error
require_once(): Failed opening required 'CHIQM_PLUGIN_PATH/includes/class-chiqm-app.php' (include_path='.:/usr/share/php') in wp-content/plugins/chidoo-quizmaster/apps/chiqm-memory/chiqm-memory.php on line 3
- > PHP Warning
Use of undefined constant CHIQM_PLUGIN_PATH - assumed 'CHIQM_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/chidoo-quizmaster/apps/chiqm-memory/chiqm-memory.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/chidoo-quizmaster/admin/partials/chiqm-admin-custom-apps.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/chidoo-quizmaster/admin/partials/chiqm-admin-noptions.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chiqm_custom_apps
- > Network (severe)
wp-content/plugins/chidoo-quizmaster/admin/images/chiqm-icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: chidoo, learning, music notation, game, quiz...
chidoo-quizmaster/chidoo-quizmaster.php 85% from 13 tests
The entry point to "Chidoo Quizmaster" version 0.0.7 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0.1" instead of "5.2")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,885 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 333 | 228 | 833 |
JavaScript | 6 | 161 | 25 | 576 |
CSS | 2 | 94 | 4 | 395 |
PO File | 1 | 31 | 38 | 81 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 2 | 2.74% |
▷ Public methods | 68 | 93.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 6.85% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin