Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.41ms] Passed 4 tests
This is a short check of server-side resources used by Tabchat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.01 ▲1.72 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.52 ▼12.36 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.18 ▼2.21 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 94.02 ▲2.12 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.76 ▼0.77 |
Server storage [IO: ▲7.67MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Tabchat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲156 | 15.02 ▲0.66 | 3.66 ▲2.04 | 44.43 ▼1.08 |
Dashboard /wp-admin | 2,207 ▲27 | 5.61 ▼0.03 | 80.29 ▼10.66 | 71.88 ▲32.24 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.98 ▼0.04 | 37.75 ▼6.12 | 34.79 ▼4.65 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.72 ▲0.81 | 672.89 ▲12.42 | 54.98 ▼0.48 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.12 ▼0.10 | 107.87 ▼3.62 | 79.81 ▲31.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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)
Good news, no errors were detected
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Fluxo de atendimento personalizado screenshot-1. Screenshots are stored in the /assets directory.) image required
tabchat/tabchat.php 92% from 13 tests
The main PHP file in "Tabchat" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin3,750 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 3,411 |
PHP | 4 | 60 | 40 | 308 |
CSS | 1 | 2 | 0 | 31 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.76% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 7.35MB with 4.71MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 4.07KB | 1.38KB | ▼ 66.22% |
assets/icon-256x256.png | 6,355.96KB | 3,250.18KB | ▼ 48.86% |
assets/screenshot-3.png | 404.49KB | 129.43KB | ▼ 68.00% |
assets/screenshot-2.png | 556.54KB | 169.11KB | ▼ 69.61% |
assets/screenshot-1.png | 203.13KB | 65.47KB | ▼ 67.77% |