Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.76ms] Passed 4 tests
Analyzing server-side resources used by Resolw Chat
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.01 ▼2.76 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.24 ▼12.33 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.12 ▲3.72 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.32 ▼13.76 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.67 ▲1.83 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 83 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_resolw_link |
wp_resolw_settings |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Resolw Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲165 | 13.88 ▼0.77 | 7.31 ▲5.41 | 39.46 ▼2.34 |
Dashboard /wp-admin | 2,219 ▲31 | 5.22 ▲0.35 | 100.94 ▼0.10 | 79.60 ▲38.64 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.29 ▲0.27 | 41.16 ▼6.51 | 41.56 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 18.34 ▼4.67 | 616.20 ▼50.90 | 39.87 ▼19.13 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.58 ▲0.29 | 93.68 ▼6.06 | 43.96 ▼0.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: resolw chat, customer support, resolw
resolw-chat/resolw_wp_plugin.php 85% from 13 tests
The entry point to "Resolw Chat" version 1.0.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 220 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("resolw-chat.php" instead of "resolw_wp_plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected11,490 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 66 | 2,614 | 790 | 10,058 |
CSS | 4 | 98 | 1 | 991 |
PHP | 4 | 82 | 73 | 384 |
PO File | 1 | 19 | 19 | 57 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/resolw.png | 1.96KB | 1.66KB | ▼ 14.99% |
assets/images/Icon_sidebar_resolw_active.png | 4.66KB | 0.66KB | ▼ 85.82% |
assets/images/Icon_sidebar_resolw_normal.png | 4.66KB | 0.66KB | ▼ 85.84% |