Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼140.72ms] Passed 4 tests
Server-side resources used by Extra Settings for RocketChat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.15 | 43.47 ▲22.37 |
Dashboard /wp-admin | 3.11 ▲0.05 | 51.49 ▲4.93 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 49.01 ▲2.66 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 94.72 ▼569.43 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 35.39 ▼1.05 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Extra Settings for RocketChat
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,734 ▲128 | 15.87 ▲0.34 | 9.20 ▼0.60 | 50.88 ▼2.34 |
Dashboard /wp-admin | 2,990 ▲56 | 5.87 ▼0.10 | 149.01 ▼6.69 | 111.70 ▼11.08 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.70 ▼0.13 | 66.34 ▼2.67 | 99.84 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,513 ▼170 | 18.63 ▲2.45 | 380.61 ▼23.00 | 117.44 ▲1.66 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.03 ▲0.01 | 155.44 ▼25.14 | 136.74 ▲9.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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: woocommerce, rocketchat, livechat
extra-settings-for-rocketchat/rocketchat-extra-settings.php 77% from 13 tests
Analyzing the main PHP file in "Extra Settings for RocketChat" version 0.1
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("extra-settings-for-rocketchat.php" instead of "rocketchat-extra-settings.php")
- Description: Keep the plugin description shorter than 140 characters (currently 172 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin301 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 59 | 275 |
CSS | 2 | 2 | 0 | 25 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin