Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.02ms] Passed 4 tests
Server-side resources used by TelecomsXChange
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.72 ▼1.74 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.31 ▼14.93 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 43.06 ▼3.38 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.50 ▼0.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.18 ▲3.35 |
TelecomsXChange /wp-admin/options-general.php?page=TelecomsXChange-Settings | 3.22 | 30.63 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_tcxc_uses |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
tcxc |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for TelecomsXChange
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.45 ▲0.10 | 1.74 ▲0.29 | 35.55 ▼2.70 |
Dashboard /wp-admin | 2,202 ▲21 | 5.65 ▼0.04 | 84.30 ▼19.14 | 35.01 ▼3.35 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.09 | 35.46 ▼3.13 | 31.86 ▼5.05 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 23.68 ▲0.57 | 614.83 ▼11.40 | 75.86 ▲5.99 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.17 ▲0.02 | 97.41 ▼0.71 | 41.66 ▲0.58 |
TelecomsXChange /wp-admin/options-general.php?page=TelecomsXChange-Settings | 1,139 | 2.15 | 25.24 | 41.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_tcxc_uses
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- tcxc
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=TelecomsXChange-Settings
- > Notice in wp-content/plugins/telecomsxchange/TelecomsXChange.php+40
Undefined index: login
- > GET request to /wp-admin/options-general.php?page=TelecomsXChange-Settings
- > Notice in wp-content/plugins/telecomsxchange/TelecomsXChange.php+48
Undefined index: api_key
- > GET request to /wp-admin/options-general.php?page=TelecomsXChange-Settings
- > Notice in wp-content/plugins/telecomsxchange/TelecomsXChange.php+56
Undefined index: i_account
- > GET request to /wp-admin/options-general.php?page=TelecomsXChange-Settings
- > Notice in wp-content/plugins/telecomsxchange/TelecomsXChange.php+64
Undefined index: cld1
- > GET request to /wp-admin/options-general.php?page=TelecomsXChange-Settings
- > Notice in wp-content/plugins/telecomsxchange/TelecomsXChange.php+72
Undefined index: cli2
- > GET request to /wp-admin/options-general.php?page=TelecomsXChange-Settings
- > Notice in wp-content/plugins/telecomsxchange/TelecomsXChange.php+80
Undefined index: car1
- > GET request to /wp-admin/options-general.php?page=TelecomsXChange-Settings
- > Notice in wp-content/plugins/telecomsxchange/TelecomsXChange.php+88
Undefined index: car2
- > GET request to /wp-admin/options-general.php?page=TelecomsXChange-Settings
- > Notice in wp-content/plugins/telecomsxchange/TelecomsXChange.php+144
Undefined index: btn_css
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/telecomsxchange/TelecomsXChange.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Settings Page, where you set you API credentials, phone number, customize user messages, usage limit and custom button style.), #2 (the default button displayed using the shortcode.)
telecomsxchange/TelecomsXChange.php 85% from 13 tests
The principal PHP file in "TelecomsXChange" v. 1.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("telecomsxchange.php" instead of "TelecomsXChange.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 279 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin354 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 10 | 310 |
JavaScript | 1 | 1 | 3 | 44 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 101.32KB | 30.56KB | ▼ 69.83% |
screenshot-2.png | 17.08KB | 4.72KB | ▼ 72.34% |