Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.30ms] Passed 4 tests
Server-side resources used by Usersnap
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.31 ▼2.41 |
Dashboard /wp-admin | 3.37 ▲0.03 | 45.32 ▼13.11 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 47.88 ▲0.14 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 90.28 ▼9.40 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 35.26 ▼0.27 |
Usersnap /wp-admin/options-general.php?page=usersnap/usersnap.php | 3.26 | 29.65 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Usersnap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.79 ▼0.56 | 1.75 ▼0.18 | 38.23 ▼4.12 |
Dashboard /wp-admin | 2,251 ▲59 | 4.94 ▼0.01 | 105.39 ▼9.58 | 40.37 ▼0.54 |
Posts /wp-admin/edit.php | 2,137 ▲51 | 2.38 ▲0.34 | 46.65 ▲11.42 | 36.58 ▲7.05 |
Add New Post /wp-admin/post-new.php | 1,526 ▲7 | 17.75 ▼5.40 | 686.09 ▲20.12 | 58.19 ▲5.64 |
Media Library /wp-admin/upload.php | 1,436 ▲45 | 4.34 ▲0.12 | 110.34 ▲15.43 | 45.83 ▲4.93 |
Usersnap /wp-admin/options-general.php?page=usersnap/usersnap.php | 796 | 2.18 | 25.14 | 27.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/usersnap/usersnap.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please delete some tags, you are using 85 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (This screenshot shows the admin page of the Usersnap plugin.), #2 (The initial setup page where you can create an api key!), #3 (Let users show you exactly what they experience, with all the contextual data included.), #4 (Get visual tickets with the screenshot mode to draw and pin comments, or screen record.), #5 (Build your web application the customer-centric way.), #6 (See the status of all feedback items in the inbox and dashboard.)
usersnap/usersnap.php Passed 13 tests
The principal PHP file in "Usersnap" v. 4.18 is loaded by WordPress automatically on each request
108 characters long description:
Usersnap helps website owners to get feedback in form of screenshots from their customers, readers or users.
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
There were no executable files found in this plugin508 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 57 | 45 | 493 |
CSS | 1 | 3 | 0 | 15 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.38MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 84.17KB | 26.63KB | ▼ 68.36% |
screenshot-6.png | 24.38KB | 20.66KB | ▼ 15.25% |
screenshot-2.png | 104.49KB | 43.82KB | ▼ 58.06% |
usersnap_16x16.png | 1.21KB | 0.65KB | ▼ 46.82% |
usersnap_32x32.png | 1.92KB | 1.32KB | ▼ 31.06% |