Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.88ms] Passed 4 tests
Analyzing server-side resources used by Feedback
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.34 ▼4.08 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.81 ▼2.38 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.12 ▼5.59 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 88.61 ▼7.47 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.57 ▲6.74 |
Social Intents /wp-admin/options-general.php?page=user-feedback-and-ratings-by-social-intents | 3.22 | 30.03 |
Server storage [IO: ▲2.49MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Feedback
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 14.20 ▼0.40 | 1.49 ▼0.63 | 42.87 ▼3.99 |
Dashboard /wp-admin | 2,225 ▲48 | 5.55 ▼0.12 | 83.37 ▼5.63 | 81.92 ▲41.79 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.00 ▼0.00 | 36.55 ▼4.34 | 33.69 ▼1.04 |
Add New Post /wp-admin/post-new.php | 1,570 ▲44 | 23.22 ▼0.42 | 639.25 ▼14.88 | 68.09 ▲12.19 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.18 ▼0.03 | 98.79 ▼15.54 | 81.89 ▲35.70 |
Social Intents /wp-admin/options-general.php?page=user-feedback-and-ratings-by-social-intents | 1,111 | 1.82 | 33.48 | 27.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
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 server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=user-feedback-and-ratings-by-social-intents
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=user-feedback-and-ratings-by-social-intents
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% 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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/user-feedback-and-ratings-by-social-intents/options.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/user-feedback-and-ratings-by-social-intents/user-feedback-and-ratings-by-socialintents.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Feedback Example), #2 (Feedback Dashboard), #3 (Social Intents Overview)
user-feedback-and-ratings-by-social-intents/user-feedback-and-ratings-by-socialintents.php 85% from 13 tests
The primary PHP file in "Feedback" version 1.3.51 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 221 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("user-feedback-and-ratings-by-social-intents.php" instead of "user-feedback-and-ratings-by-socialintents.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
There were no executable files found in this plugin415 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 42 | 8 | 415 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.85 |
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 | 9 | |
▷ Named functions | 9 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 2.47MB with 1.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 421.77KB | 192.76KB | ▼ 54.30% |
screenshot-1.png | 446.81KB | 206.35KB | ▼ 53.82% |
socialintents.png | 32.92KB | 11.21KB | ▼ 65.97% |
si-small.png | 3.71KB | 1.27KB | ▼ 65.90% |
screenshot-2.png | 644.10KB | 266.41KB | ▼ 58.64% |