Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5505
load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
Server metrics [RAM: ▼1.76MB] [CPU: ▼189.53ms] Passed 4 tests
Server-side resources used by Netrox SC Live Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.87 ▼0.96 | 5.63 ▼29.07 |
Dashboard /wp-admin | 1.89 ▼1.16 | 7.10 ▼33.18 |
Posts /wp-admin/edit.php | 1.89 ▼1.21 | 6.98 ▼41.14 |
Add New Post /wp-admin/post-new.php | 1.89 ▼3.54 | 7.01 ▼654.74 |
Media Library /wp-admin/upload.php | 1.89 ▼1.11 | 6.53 ▼26.30 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 3 new options
New WordPress options |
---|
netroxsc_enabled |
netroxsc_auth_token |
netroxsc_valid |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Netrox SC Live Chat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,698 ▲126 | 15.92 ▲0.25 | 9.88 ▼0.30 | 52.55 ▼2.01 |
Dashboard /wp-admin | 2,980 ▲49 | 5.92 ▼0.26 | 143.06 ▼13.84 | 135.92 ▲14.39 |
Posts /wp-admin/edit.php | 2,773 ▲34 | 2.69 ▼0.00 | 67.97 ▼0.12 | 92.61 ▼8.20 |
Add New Post /wp-admin/post-new.php | 1,696 ▲13 | 18.78 ▼0.03 | 381.08 ▼10.80 | 112.23 ▼6.19 |
Media Library /wp-admin/upload.php | 1,767 ▼40 | 4.98 ▼0.05 | 131.30 ▼26.16 | 149.95 ▲24.58 |
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
The following items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5505
load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/netrox-sc-live-chat/inc/invalid.php
- > /wp-content/plugins/netrox-sc-live-chat/inc/login_form.php
- > /wp-content/plugins/netrox-sc-live-chat/inc/settings_form.php
- > /wp-content/plugins/netrox-sc-live-chat/inc/code.php
- > /wp-content/plugins/netrox-sc-live-chat/netroxsc.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 60 tag instead of maximum 10
netrox-sc-live-chat/netroxsc.php 69% from 13 tests
"Netrox SC Live Chat" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("netrox-sc-live-chat.php" instead of "netroxsc.php")
- Domain Path: The domain path must begin with a forward slash character ("//")
- Domain Path: Use only dashes and lowercase characters for the domain path ("/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin686 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 92 | 63 | 562 |
PO File | 1 | 40 | 45 | 124 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 4 | 21.05% |
▷ Public methods | 13 | 68.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 31.58% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 2.86KB | 0.23KB | ▼ 91.88% |
images/logo.png | 6.40KB | 2.25KB | ▼ 64.81% |