Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.62ms] Passed 4 tests
Analyzing server-side resources used by Tellephant
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.07 ▲0.93 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.65 ▲1.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.17 ▼7.63 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.40 ▼35.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.62 ▼0.47 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Tellephant
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.17 | 1.87 ▲0.32 | 45.19 ▲4.56 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.01 | 105.31 ▼5.20 | 41.66 ▲1.68 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.03 | 36.66 ▼1.21 | 34.29 ▼2.15 |
Add New Post /wp-admin/post-new.php | 1,523 ▼11 | 23.25 ▲0.13 | 662.38 ▼33.32 | 61.63 ▲5.34 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▲0.04 | 99.33 ▼46.88 | 46.38 ▼14.04 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% from 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
Please fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/tellephant/views/admin/setting_page.php
- > /wp-content/plugins/tellephant/classes/Tellephant_setting_page.php
- > /wp-content/plugins/tellephant/classes/Tellephant_woocommerce_hooks.php
- > /wp-content/plugins/tellephant/includes/activation.php
- > /wp-content/plugins/tellephant/includes/deactivation.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/tellephant/tellephant.php:41
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: whatsapp, messages
tellephant/tellephant.php Passed 13 tests
The principal PHP file in "Tellephant" v. 1.0.0 is loaded by WordPress automatically on each request
102 characters long description:
Connect Tellephant to your WooCommerce account and build relationships with your customers on WhatsApp
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
Good job! No executable or dangerous file extensions detected1,700 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 298 | 164 | 1,399 |
CSS | 1 | 33 | 2 | 206 |
JavaScript | 1 | 14 | 0 | 95 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 19.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 8.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 2 | 10.53% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
5 PNG files occupy 0.36MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 55.77KB | 19.15KB | ▼ 65.67% |
views/images/tellephant_logo.png | 47.70KB | 19.54KB | ▼ 59.04% |
assets/screenshot-2.png | 79.56KB | 26.78KB | ▼ 66.35% |
assets/screenshot-3.png | 98.52KB | 34.20KB | ▼ 65.29% |
assets/screenshot-4.png | 88.80KB | 30.28KB | ▼ 65.90% |