Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.66MB] [CPU: ▼141.03ms] Passed 4 tests
This is a short check of server-side resources used by Usernoise modal feedback / contact form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▲0.59 | 39.46 ▲4.89 |
Dashboard /wp-admin | 3.76 ▲0.70 | 54.18 ▼0.84 |
Posts /wp-admin/edit.php | 3.80 ▲0.68 | 50.39 ▼13.22 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.67 | 95.98 ▼552.85 |
Media Library /wp-admin/upload.php | 3.69 ▲0.69 | 35.53 ▲2.81 |
Settings /wp-admin/options-general.php?page=usernoise | 3.65 | 34.30 |
Usernoise /wp-admin/edit.php?order=desc&post_type=un_feedback | 3.74 | 43.43 |
Server storage [IO: ▲1.68MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 139 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_un_termmeta |
New WordPress options |
---|
un_version |
un_db_revision |
Browser metrics Passed 4 tests
Usernoise modal feedback / contact form: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,801 ▲188 | 16.18 ▲0.26 | 8.97 ▼3.04 | 50.04 ▼0.49 |
Dashboard /wp-admin | 3,073 ▲142 | 5.93 ▼0.02 | 152.66 ▼49.30 | 100.14 ▼29.05 |
Posts /wp-admin/edit.php | 2,801 ▲62 | 2.73 ▲0.01 | 64.83 ▼14.23 | 92.20 ▼11.88 |
Add New Post /wp-admin/post-new.php | 1,535 ▼148 | 18.59 ▼0.12 | 371.56 ▼5.45 | 107.01 ▼2.47 |
Media Library /wp-admin/upload.php | 1,863 ▲53 | 5.03 ▲0.02 | 166.34 ▲11.66 | 117.07 ▼2.05 |
Settings /wp-admin/options-general.php?page=usernoise | 2,425 | 2.40 | 72.76 | 61.54 |
Usernoise /wp-admin/edit.php?order=desc&post_type=un_feedback | 1,506 | 2.67 | 62.51 | 63.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_un_termmeta
- This plugin does not fully uninstall, leaving 1 option in the database
- un_db_revision
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=usernoise
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=usernoise
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
The following issues need your attention
- 29× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/usernoise/inc/termmeta-api.php on line 3
- > PHP Fatal error
Uncaught Error: Call to a member function textarea() on null in wp-content/plugins/usernoise/html/reply-meta-box.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/usernoise/inc/model.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/usernoise/inc/shortcodes.php:4
- > PHP Warning
Creating default object from empty value in wp-content/plugins/usernoise/inc/termmeta-api.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/usernoise/admin/settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/usernoise/inc/globals.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/usernoise/admin/dashboard.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/usernoise/inc/form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/usernoise/usernoise.php:12
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=usernoise
- > Network (severe)
http://cdn.karevn.com/usernoise/all-in-one-email.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Usernoise form.), #2 (Admin bar with "New usernoise records" notification.), #3 (Admin interface)
- Tags: There are too many tags (17 tag instead of maximum 10)
usernoise/usernoise.php Passed 13 tests
The main PHP file in "Usernoise modal feedback / contact form" ver. 3.7.20 adds more information about the plugin and also serves as the entry point for this plugin
67 characters long description:
Usernoise is a modal contact / feedback form with smooth interface.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected13,031 lines of code in 83 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 26 | 3,147 | 6,962 | 7,050 |
PHP | 28 | 234 | 31 | 2,011 |
CSS | 11 | 76 | 91 | 1,788 |
JavaScript | 10 | 150 | 190 | 1,511 |
CoffeeScript | 6 | 50 | 0 | 320 |
SVG | 1 | 0 | 0 | 284 |
Markdown | 1 | 23 | 0 | 67 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 140 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 34 | |
▷ Global constants | 34 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 0.42MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/all-in-one-email.png | 3.41KB | 2.58KB | ▼ 24.42% |
images/banner-item-discussion.png | 110.49KB | 51.87KB | ▼ 53.05% |
images/banner-debug-info-sql-queries.png | 40.61KB | 16.90KB | ▼ 58.38% |
images/banner-debug-info-overview.png | 64.20KB | 25.88KB | ▼ 59.69% |
images/banner-debug-info-query_vars.png | 40.02KB | 15.01KB | ▼ 62.48% |