Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲2.80MB] [CPU: ▲16.47ms] Passed 4 tests
An overview of server-side resources used by Quiz | Survey | Exam | Questionnaire | Feedback - Best Survey Plugin for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.27 ▲2.80 | 64.83 ▲27.44 |
Dashboard /wp-admin | 6.10 ▲2.76 | 71.92 ▲16.37 |
Posts /wp-admin/edit.php | 6.22 ▲2.86 | 66.07 ▲15.49 |
Add New Post /wp-admin/post-new.php | 8.76 ▲2.87 | 106.03 ▲6.56 |
Media Library /wp-admin/upload.php | 6.02 ▲2.79 | 63.30 ▲30.00 |
TotalSurvey /wp-admin/admin.php?page=totalsurvey | 7.51 | 70.31 |
Server storage [IO: ▲5.20MB] [DB: ▲0.09MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 894 new files
Database: 3 new tables, 12 new options
New tables |
---|
wp_totalsurvey_entries |
wp_totalsurvey_surveys |
wp_totalsurvey_presets |
New WordPress options |
---|
totalsurvey_version |
can_compress_scripts |
db_upgraded |
totalsurvey_options |
widget_theysaidso_widget |
widget_recent-posts |
publish_token: |
widget_recent-comments |
totalsuite_license |
widget_totalsurvey-survey |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quiz | Survey | Exam | Questionnaire | Feedback - Best Survey Plugin for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 14.37 ▲0.01 | 1.68 ▲0.02 | 40.80 ▼0.77 |
Dashboard /wp-admin | 2,246 ▲69 | 5.62 ▼0.04 | 93.33 ▲4.44 | 41.98 ▼0.70 |
Posts /wp-admin/edit.php | 2,151 ▲51 | 2.03 ▲0.02 | 32.63 ▼4.52 | 33.21 ▲3.04 |
Add New Post /wp-admin/post-new.php | 6,234 ▲4,708 | 18.85 ▼4.33 | 876.50 ▲237.49 | 51.32 ▲0.44 |
Media Library /wp-admin/upload.php | 1,454 ▲51 | 4.20 ▲0.07 | 97.74 ▼0.78 | 42.59 ▼1.51 |
License /wp-admin/admin.php?page=totalsurvey#/license | 1,437 | 6.89 | 205.78 | 131.49 |
Support /wp-admin/admin.php?page=totalsurvey#/support | 1,342 | 6.58 | 188.68 | 96.44 |
Popup /wp-admin/admin.php?page=totalsurvey#/popup | 1,561 | 10.16 | 139.29 | 52.57 |
TotalSurvey /wp-admin/admin.php?page=totalsurvey | 1,772 | 11.15 | 165.38 | 74.61 |
Extensions /wp-admin/admin.php?page=totalsurvey#/modules/extension | 1,571 | 10.22 | 142.91 | 46.39 |
Surveys /wp-admin/admin.php?page=totalsurvey#/surveys | 1,365 | 6.99 | 187.66 | 79.35 |
Options /wp-admin/admin.php?page=totalsurvey#/options | 1,563 | 10.74 | 162.99 | 45.63 |
Dashboard /wp-admin/admin.php?page=totalsurvey#/dashboard | 1,774 | 11.14 | 157.95 | 75.00 |
Templates /wp-admin/admin.php?page=totalsurvey#/modules/template | 1,583 | 10.27 | 163.97 | 54.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.09MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables detected upon uninstall: 3 tables
- wp_totalsurvey_surveys
- wp_totalsurvey_entries
- wp_totalsurvey_presets
- The uninstall procedure has failed, leaving 12 options in the database
- widget_recent-posts
- totalsurvey_tracking
- publish_token:
- widget_recent-comments
- widget_theysaidso_widget
- widget_totalsurvey-survey
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- totalsuite_license
- ...
Smoke tests 50% 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)
Good news, no errors were detected
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/totalsurvey/views/dashboard.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/totalsurvey/views/insights.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #0, #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #30, #31, #32, #33 in totalsurvey/assets to your readme.txt
- Tags: There are too many tags (45 tag instead of maximum 10)
totalsurvey/plugin.php 62% from 13 tests
The principal PHP file in "Quiz | Survey | Exam | Questionnaire | Feedback - Best Survey Plugin for WordPress" v. 1.8.6 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 196 characters long)
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.8.0" instead of "4.8")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("totalsurvey.php" instead of "plugin.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
Success! There were no dangerous files found in this plugin47,549 lines of code in 687 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 636 | 7,987 | 17,861 | 31,987 |
JavaScript | 11 | 1,154 | 4,614 | 11,535 |
JSON | 9 | 0 | 0 | 2,425 |
CSS | 4 | 41 | 6 | 863 |
PO File | 2 | 237 | 346 | 586 |
SVG | 16 | 0 | 0 | 90 |
SQL | 9 | 0 | 0 | 63 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 4.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 129 | |
Interfaces | 59 | |
Traits | 35 | |
Classes | 509 | |
▷ Abstract classes | 38 | 7.47% |
▷ Concrete classes | 471 | 92.53% |
▷ Final classes | 5 | 1.06% |
Methods | 2,592 | |
▷ Static methods | 267 | 10.30% |
▷ Public methods | 2,233 | 86.15% |
▷ Protected methods | 339 | 13.08% |
▷ Private methods | 20 | 0.77% |
Functions | 122 | |
▷ Named functions | 12 | 9.84% |
▷ Anonymous functions | 110 | 90.16% |
Constants | 182 | |
▷ Global constants | 4 | 2.20% |
▷ Class constants | 178 | 97.80% |
▷ Public constants | 177 | 99.44% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.76MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/presets/event-feedback.png | 167.63KB | 68.31KB | ▼ 59.25% |
assets/images/presets/product-feedback.png | 119.41KB | 45.66KB | ▼ 61.76% |
assets/images/presets/blank.png | 64.42KB | 25.94KB | ▼ 59.74% |
assets/images/totalsuite-products.png | 54.63KB | 39.21KB | ▼ 28.23% |
modules/templates/DefaultTemplate/assets/module/cover.png | 10.97KB | 11.98KB | 0.00% |