Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼141.97ms] Passed 4 tests
This is a short check of server-side resources used by Chill Survey Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.26 | 38.53 ▲12.30 |
Dashboard /wp-admin | 3.20 ▲0.15 | 46.76 ▼9.83 |
Posts /wp-admin/edit.php | 3.29 ▲0.18 | 50.04 ▲9.10 |
Add New Post /wp-admin/post-new.php | 5.57 ▲0.13 | 102.72 ▼545.33 |
Media Library /wp-admin/upload.php | 3.14 ▲0.14 | 34.32 ▼21.80 |
Questions /wp-admin/admin.php?page=csi_questions | 3.09 | 33.20 |
Chill Survey /wp-admin/admin.php?page=csi_options | 3.09 | 31.35 |
Feedback /wp-admin/admin.php?page=csi_feedback | 3.09 | 30.19 |
Results /wp-admin/admin.php?page=csi_results | 3.09 | 32.04 |
Server storage [IO: ▲2.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: 3 new tables, 1 new option
New tables |
---|
wp_csi_questions |
wp_csi_results |
wp_csi_options |
New WordPress options |
---|
my_csi_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Chill Survey Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,868 ▲272 | 16.73 ▲1.40 | 16.63 ▲4.74 | 79.60 ▲25.58 |
Dashboard /wp-admin | 3,045 ▲108 | 6.59 ▲0.68 | 140.79 ▼13.99 | 121.27 ▲2.05 |
Posts /wp-admin/edit.php | 2,817 ▲78 | 2.99 ▲0.30 | 79.44 ▲8.67 | 111.05 ▲12.06 |
Add New Post /wp-admin/post-new.php | 1,655 ▼28 | 18.47 ▲2.51 | 358.72 ▼68.71 | 129.03 ▲12.91 |
Media Library /wp-admin/upload.php | 1,885 ▲78 | 5.40 ▲0.38 | 140.06 ▼14.94 | 124.62 ▼9.92 |
Questions /wp-admin/admin.php?page=csi_questions | 1,298 | 2.63 | 65.41 | 95.11 |
Chill Survey /wp-admin/admin.php?page=csi_options | 1,646 | 3.08 | 81.99 | 87.64 |
Feedback /wp-admin/admin.php?page=csi_feedback | 1,215 | 2.56 | 59.92 | 93.69 |
Results /wp-admin/admin.php?page=csi_results | 1,185 | 2.57 | 60.29 | 74.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=csi_questions
- > Notice in wp-content/plugins/chill-survey-lite/classes/settings.php+129
Undefined index: save_csi_questions
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=csi_results
- > Notice in wp-content/plugins/chill-survey-lite/classes/survey.php+43
Undefined offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=csi_results
- > Notice in wp-content/plugins/chill-survey-lite/classes/survey.php+37
Trying to get property 'start_text' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=csi_results
- > Notice in wp-content/plugins/chill-survey-lite/classes/survey.php+40
Trying to get property 'final_text' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=csi_results
- > Notice in wp-content/plugins/chill-survey-lite/classes/survey.php+43
Trying to get property 'restart_text' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=csi_options
- > Notice in wp-content/plugins/chill-survey-lite/classes/settings.php+116
Undefined index: page_id
- > GET request to /wp-admin/admin.php?page=csi_options
- > Notice in wp-content/plugins/chill-survey-lite/classes/settings.php+45
Undefined index: save_csi
- > GET request to /wp-admin/admin.php?page=csi_feedback
- > Notice in wp-content/plugins/chill-survey-lite/classes/settings.php+308
Undefined index: csi_send_feedback
- > GET request to /wp-admin/admin.php?page=csi_results
- > Notice in wp-content/plugins/chill-survey-lite/classes/settings.php+247
Undefined index: filtro_date_widget_csi
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'CsiSettings' not found in wp-content/plugins/chill-survey-lite/survey_template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/chill-survey-lite/csi.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=csi_questions
- > Security (severe) in unknown
/wp-admin/admin.php?page=csi_questions - Refused to execute script from 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?ver=5.8.1' because its MIME type ('text/css') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=csi_questions
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31592 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=csi_questions:207:36)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30340)" undefined
- > GET request to /wp-admin/admin.php?page=csi_questions
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31702 Uncaught TypeError: jQuery(...).live is not a function
- > GET request to /wp-admin/admin.php?page=csi_options
- > Security (severe) in unknown
/wp-admin/admin.php?page=csi_options - Refused to execute script from 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?ver=5.8.1' because its MIME type ('text/css') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=csi_feedback
- > Security (severe) in unknown
/wp-admin/admin.php?page=csi_feedback - Refused to execute script from 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?ver=5.8.1' because its MIME type ('text/css') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=csi_results
- > Security (severe) in unknown
/wp-admin/admin.php?page=csi_results - Refused to execute script from 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?ver=5.8.1' because its MIME type ('text/css') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: survey, review, interview, rate, csi...
chill-survey-lite/csi.php 85% from 13 tests
The primary PHP file in "Chill Survey Lite" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 215 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("chill-survey-lite.php" instead of "csi.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin3,953 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 5 | 23 | 21 | 744 |
CSS | 4 | 1 | 8 | 350 |
PO File | 1 | 51 | 72 | 108 |
JavaScript | 4 | 8 | 5 | 80 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 7.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 16.67% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG images were found in this plugin