Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.08ms] 75% from 4 tests
This is a short check of server-side resources used by Quiz Cat - WordPress Quiz Plugin
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 5,942.99ms on /wp-admin/edit.php?post_type=fca_qc_quiz&page=fca-featured-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.19 ▼0.17 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.26 ▼0.12 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.71 ▼4.98 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 94.43 ▲6.43 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 35.92 ▲0.94 |
Featured Plugins /wp-admin/edit.php?post_type=fca_qc_quiz&page=fca-featured-plugins | 3.80 | 5,942.99 |
All Quizzes /wp-admin/edit.php?post_type=fca_qc_quiz&page=fca-qc-list | 3.38 | 35.30 |
Upgrade to Premium /wp-admin/edit.php?post_type=fca_qc_quiz&page=quiz-cat-upgrade | 3.08 | 32.77 |
Add New /wp-admin/edit.php?post_type=fca_qc_quiz&page=fca-qc-new | 3.24 | 32.30 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
fca_qc_show_review_notice |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Quiz Cat - WordPress Quiz Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲111 | 13.19 ▼1.39 | 1.69 ▼0.10 | 42.12 ▼0.98 |
Dashboard /wp-admin | 2,249 ▲67 | 5.90 ▲0.01 | 97.25 ▼7.94 | 78.26 ▲38.19 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.04 ▲0.03 | 35.62 ▼4.56 | 34.73 ▼0.48 |
Add New Post /wp-admin/post-new.php | 6,401 ▲4,882 | 22.54 ▼0.92 | 862.27 ▲182.09 | 37.09 ▼22.92 |
Media Library /wp-admin/upload.php | 1,431 ▲40 | 4.24 ▲0.05 | 103.45 ▲3.94 | 76.34 ▲32.17 |
Featured Plugins /wp-admin/edit.php?post_type=fca_qc_quiz&page=fca-featured-plugins | 1,603 | 3.51 | 44.31 | 52.13 |
All Quizzes /wp-admin/edit.php?post_type=fca_qc_quiz&page=fca-qc-list | 1,048 | 1.74 | 26.18 | 27.32 |
Upgrade to Premium /wp-admin/edit.php?post_type=fca_qc_quiz&page=quiz-cat-upgrade | 1,587 | 6.18 | 326.21 | 125.56 |
Add New /wp-admin/edit.php?post_type=fca_qc_quiz&page=fca-qc-new | 1,718 | 2.38 | 31.69 | 35.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- fca_qc_show_review_notice
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/quiz-cat/quizcat.php
- > /wp-content/plugins/quiz-cat/languages/index.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quiz-cat/includes/editor/editor.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quiz-cat/includes/quiz/quiz.php:181
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quiz-cat/includes/block.php:34
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/quiz-cat/includes/list/post-list-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quiz-cat/includes/editor/sidebar.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quiz-cat/includes/notices/notices.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quiz-cat/includes/post-type.php:49
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (The start quiz / quiz landing - page), #2 (Each quiz contains multiple-choice questions), #3 (Answer page (correct answer)), #4 (Answer page (incorrect answer)), #5 (The quiz results / quiz scoring - page), #6 (The Quiz Cat user interface)
quiz-cat/quizcat.php 92% from 13 tests
"Quiz Cat - WordPress Quiz Plugin" version 3.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("quiz-cat.php" instead of "quizcat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin5,201 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 584 | 174 | 1,945 |
PHP | 10 | 434 | 87 | 1,911 |
CSS | 11 | 255 | 23 | 1,345 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 5.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 42.86% |
▷ Protected methods | 4 | 57.14% |
▷ Private methods | 0 | 0.00% |
Functions | 67 | |
▷ Named functions | 67 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
13 PNG files occupy 0.26MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 3.89KB | 3.89KB | 0.03% |
screenshot-1.png | 32.67KB | 34.19KB | 0.00% |
assets/fatcatapps-logo-text.png | 16.24KB | 4.88KB | ▼ 69.97% |
assets/personality.png | 27.32KB | 7.90KB | ▼ 71.09% |
screenshot-5.png | 24.38KB | 25.31KB | 0.00% |