Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/qeryz-microsurvey-tool/qeryz_survey.php+207
Undefined variable: pagenow
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.87ms] Passed 4 tests
A check of server-side resources used by Qeryz Wordpress Survey
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.61 ▼5.08 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.18 ▼1.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.48 ▼4.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.87 ▼11.68 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.25 ▼0.73 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Qeryz Wordpress Survey
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲111 | 13.30 ▼1.02 | 1.93 ▲0.21 | 35.90 ▼5.82 |
Dashboard /wp-admin | 2,226 ▲38 | 5.86 ▲0.79 | 113.73 ▲7.08 | 71.32 ▲27.93 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.00 ▼0.06 | 35.20 ▼5.52 | 32.91 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.27 ▲4.89 | 780.28 ▲179.23 | 51.17 ▼7.93 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.17 ▼0.03 | 99.52 ▲0.21 | 75.60 ▲31.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/qeryz-microsurvey-tool/qeryz_survey.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: qeryz, microsurvey, wordpress survey, survey tool
qeryz-microsurvey-tool/qeryz_survey.php 92% from 13 tests
"Qeryz Wordpress Survey" version 1.6.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("qeryz-microsurvey-tool.php" instead of "qeryz_survey.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin342 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 56 | 59 | 263 |
CSS | 1 | 1 | 2 | 79 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/qeryz_menu_icon.png | 0.98KB | 0.68KB | ▼ 31.35% |
images/qeryzlogo.png | 6.43KB | 3.08KB | ▼ 52.13% |