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.02MB] [CPU: ▼3.21ms] Passed 4 tests
An overview of server-side resources used by Qualtrics Survey Embeds
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.43 ▼2.04 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.07 ▼8.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.47 ▼5.53 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.56 ▲3.29 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.90 ▲3.68 |
Qualtrics Settings /wp-admin/options-general.php?page=qse | 3.22 | 34.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Qualtrics Survey Embeds
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.37 ▲0.17 | 1.77 ▲0.27 | 38.96 ▼3.98 |
Dashboard /wp-admin | 2,204 ▲27 | 5.65 ▲0.11 | 90.35 ▼13.60 | 38.78 ▼10.05 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.24 ▲0.26 | 38.35 ▼2.85 | 39.75 ▲2.05 |
Add New Post /wp-admin/post-new.php | 1,543 ▲14 | 18.15 ▼5.52 | 646.37 ▲27.93 | 70.37 ▲22.71 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.21 ▲0.08 | 104.64 ▲6.54 | 44.51 ▲2.46 |
Qualtrics Settings /wp-admin/options-general.php?page=qse | 878 | 1.77 | 27.51 | 27.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/qualtrics-survey-embeds/inc/settings/default.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_embed_register_handler() in wp-content/plugins/qualtrics-survey-embeds/inc/embed.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/qualtrics-survey-embeds/qualtrics-embed.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% 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
4 plugin tags: qualtrics, oembed, embed, surveys
qualtrics-survey-embeds/qualtrics-embed.php 92% from 13 tests
The main PHP script in "Qualtrics Survey Embeds" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("qualtrics-survey-embeds.php" instead of "qualtrics-embed.php")
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
Good job! No executable or dangerous file extensions detected352 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 35 | 117 | 342 |
Markdown | 1 | 5 | 0 | 7 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin