Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.48ms] Passed 4 tests
This is a short check of server-side resources used by Interact: Embed A Quiz On Your Site
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.58 ▲4.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.76 ▲1.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.00 ▼4.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.49 ▼10.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.10 ▲3.51 |
Interact /wp-admin/options-general.php?page=interact_plugin | 3.17 | 32.41 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Interact: Embed A Quiz On Your Site
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.16 ▼0.21 | 2.39 ▼2.28 | 43.49 ▲0.25 |
Dashboard /wp-admin | 2,210 ▲22 | 5.03 ▼0.03 | 106.81 ▼0.79 | 39.29 ▼6.54 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 39.70 ▼0.61 | 36.74 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.85 ▲0.31 | 608.87 ▼37.01 | 54.75 ▲2.89 |
Media Library /wp-admin/upload.php | 1,389 ▲7 | 4.27 ▲0.03 | 103.81 ▲3.53 | 45.18 ▲2.18 |
Interact /wp-admin/options-general.php?page=interact_plugin | 903 | 2.02 | 23.75 | 33.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=interact_plugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=interact_plugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=interact_plugin
- > Notice in wp-content/plugins/interact-quiz-embed/interact-quiz-embed.php+285
Undefined variable: updatedPromoId
- > GET request to /wp-admin/options-general.php?page=interact_plugin
- > Notice in wp-content/plugins/interact-quiz-embed/interact-quiz-embed.php+286
Undefined variable: newId
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/interact-quiz-embed/interact-quiz-embed.php:57
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: interact, quiz, shortcode, promotion, giveaway...
interact-quiz-embed/interact-quiz-embed.php Passed 13 tests
The main file in "Interact: Embed A Quiz On Your Site" v. 3.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
69 characters long description:
Use this plugin to embed your Interact quiz into your Wordpress site.
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
Everything looks great! No dangerous files found in this plugin202 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 57 | 45 | 196 |
JavaScript | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin