Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.33ms] Passed 4 tests
This is a short check of server-side resources used by WPLO Survey
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.97 ▼0.02 |
Dashboard /wp-admin | 3.35 ▲0.05 | 52.66 ▼3.29 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.49 ▲0.13 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.66 ▼4.73 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 35.06 ▼1.27 |
Plugin Setup /wp-admin/edit.php?post_type=survey&page=WPLOSURVEY-options | 3.25 | 36.57 |
Add New /wp-admin/post-new.php?post_type=survey | 3.18 | 39.20 |
WPLO Survey /wp-admin/edit.php?post_type=survey | 3.32 | 47.74 |
LO Survey List /wp-admin/edit.php?post_type=survey&page=WPLOSURVEY-list | 3.22 | 35.65 |
Server storage [IO: ▲4.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WPLO Survey
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.35 ▼0.05 | 1.64 ▼0.11 | 44.56 ▼1.18 |
Dashboard /wp-admin | 2,230 ▲53 | 5.62 ▼0.01 | 95.97 ▼3.47 | 43.72 ▼6.15 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.08 ▲0.07 | 36.58 ▲0.07 | 33.23 ▼5.29 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 18.39 ▼4.85 | 636.10 ▼50.93 | 61.44 ▲15.79 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.21 ▲0.02 | 97.94 ▼38.44 | 44.57 ▼11.33 |
Plugin Setup /wp-admin/edit.php?post_type=survey&page=WPLOSURVEY-options | 885 | 2.11 | 36.35 | 27.45 |
Add New /wp-admin/post-new.php?post_type=survey | 4,016 | 9.78 | 273.08 | 149.15 |
WPLO Survey /wp-admin/edit.php?post_type=survey | 1,199 | 2.28 | 37.80 | 28.43 |
LO Survey List /wp-admin/edit.php?post_type=survey&page=WPLOSURVEY-list | 840 | 2.08 | 27.59 | 27.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
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
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=survey
- > Notice in wp-content/plugins/wplo-survey/wplo-survey.php+987
Undefined index: WPLOSURVEY_loopCount
- 22 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=survey
- > Notice in wp-content/plugins/wplo-survey/wplo-survey.php+1107
Undefined index: WPLOSURVEY_subloopMaxCount
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=survey&page=WPLOSURVEY-list
- > Notice in wp-content/plugins/wplo-survey/cnct-set.php+9
Undefined index: HTTP_REFERER
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
Please take a closer look at the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wplo-survey/beaver-wplo-survey-module/includes/frontend.php
- > /wp-content/plugins/wplo-survey/meta-survey-box-survey-inputs-inc.php
- > /wp-content/plugins/wplo-survey/single-survey-form.php
- > /wp-content/plugins/wplo-survey/svprocess-inc.php
- > /wp-content/plugins/wplo-survey/cnct-set.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/wplo-survey/beaver-wplo-survey-module/beaver-wplo-survey-module.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function WPLOSURVEY_NS\\plugin_dir_path() in wp-content/plugins/wplo-survey/wplo-survey.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Requires at least: Version format is invalid
- Screenshots: A description for screenshot #7 is required in wplo-survey/assets to your readme.txt
wplo-survey/wplo-survey.php Passed 13 tests
The primary PHP file in "WPLO Survey" version 2.5.1 is used by WordPress to initiate all plugin functionality
132 characters long description:
Connect Luminate Online surveys to WordPress without having to code- just enter the survey id and the plugin takes care of the rest.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected30,527 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 2,354 | 81 | 15,683 |
SVG | 4 | 0 | 0 | 9,556 |
PHP | 7 | 1,010 | 1,069 | 3,282 |
Sass | 3 | 204 | 30 | 1,893 |
JavaScript | 11 | 36 | 45 | 113 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 41 | |
▷ Named functions | 39 | 95.12% |
▷ Anonymous functions | 2 | 4.88% |
Constants | 3 | |
▷ Global constants | 3 | 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
22 PNG files occupy 0.21MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/gtm_variable_ua.png | 91.27KB | 43.07KB | ▼ 52.81% |
assets/css/images/ui-icons_444444_256x240.png | 3.19KB | 3.49KB | 0.00% |
assets/css/images/ui-bg_glass_75_dadada_1x400.png | 0.29KB | 0.16KB | ▼ 46.84% |
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.08KB | 0.08KB | 0.00% |
assets/images/survey_id.png | 1.78KB | 1.23KB | ▼ 30.87% |