Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.56ms] Passed 4 tests
A check of server-side resources used by TapChat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.38 ▼4.35 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.19 ▼1.33 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 42.71 ▼2.21 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.93 ▼13.24 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.00 ▼2.43 |
TapchatWp /wp-admin/admin.php?page=tapchat | 3.25 | 31.98 |
Call History /wp-admin/admin.php?page=tapchat-call | 3.30 | 32.06 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 23 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_tapchat_customer_request |
wp_tapchat_customer |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by TapChat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲171 | 14.07 ▼0.52 | 45.35 ▲43.38 | 41.65 ▼5.41 |
Dashboard /wp-admin | 2,202 ▲25 | 5.56 ▼0.01 | 86.77 ▼3.56 | 80.33 ▲37.13 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.99 ▼0.03 | 33.94 ▲0.88 | 33.62 ▼5.96 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 22.94 ▼0.30 | 664.19 ▼24.20 | 96.08 ▲44.55 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.20 ▼0.02 | 93.79 ▼14.92 | 76.54 ▲29.36 |
TapchatWp /wp-admin/admin.php?page=tapchat | 1,036 | 2.86 | 65.66 | 31.48 |
Call History /wp-admin/admin.php?page=tapchat-call | 854 | 2.40 | 52.69 | 27.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_tapchat_customer
- wp_tapchat_customer_request
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/tapchat/public/templates/tapchat_icon.php:1
- > PHP Fatal error
Uncaught Error: Call to a member function get_tapchat_requests() on null in wp-content/plugins/tapchat/admin/templates/tapchat-call-history.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tapchat/includes/class-tapchat-api.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/tapchat/tapchat.php:14
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/tapchat/includes/class-tapchat-api.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tapchat/public/tapchatPublic.php:8
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/tapchat/includes/class-tapchat-api.php on line 31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tapchat/admin/tapchatAdmin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/tapchat/public/templates/tapchat.php:1
- > PHP Fatal error
Uncaught Error: Class 'Walker_PageDropdown' not found in wp-content/plugins/tapchat/admin/Walker_PageDropdown_Multiple_tapchat.php:10
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: mobile app, click to chat, click to call, live call, video support...
tapchat/tapchat.php Passed 13 tests
The main file in "TapChat" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
60 characters long description:
This pluin provide an integration between tapchat Mobile App
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 plugin2,021 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 147 | 91 | 1,065 |
CSS | 3 | 196 | 154 | 717 |
JavaScript | 6 | 17 | 22 | 239 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 18.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 1 | 1.96% |
▷ Public methods | 46 | 90.20% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.80% |
Functions | 11 | |
▷ Named functions | 2 | 18.18% |
▷ Anonymous functions | 9 | 81.82% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/public-icon.png | 38.07KB | 14.34KB | ▼ 62.33% |
assets/images/icon.png | 0.57KB | 0.57KB | 0.34% |
public/assets/images/default.png | 72.87KB | 28.94KB | ▼ 60.28% |