Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.91ms] Passed 4 tests
An overview of server-side resources used by LiveChat for Easy Digital Downloads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.29 ▼6.96 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.14 ▼7.37 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.49 ▼4.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.90 ▼9.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.67 ▲3.62 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for LiveChat for Easy Digital Downloads
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.58 ▲0.30 | 1.77 ▼0.05 | 37.99 ▼6.97 |
Dashboard /wp-admin | 2,192 ▲15 | 5.52 ▼0.01 | 83.87 ▼4.39 | 38.43 ▼2.42 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.03 | 34.96 ▼6.66 | 38.79 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.66 ▲0.53 | 646.82 ▲39.53 | 63.02 ▲0.38 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▲0.09 | 102.92 ▼8.55 | 41.36 ▼5.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/livechat-for-easy-digital-downloads/livechat-easydigitaldownloads.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: There are too many tags (31 tag instead of maximum 10)
- Screenshots: Please add descriptions for these screenshots #6, #7, #8 in livechat-for-easy-digital-downloads/assets to your readme.txt
livechat-for-easy-digital-downloads/livechat-easydigitaldownloads.php 85% from 13 tests
The main file in "LiveChat for Easy Digital Downloads" v. 1.4.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("livechat-for-easy-digital-downloads.php" instead of "livechat-easydigitaldownloads.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,601 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 160 | 19 | 974 |
CSS | 2 | 77 | 8 | 331 |
JavaScript | 2 | 6 | 0 | 295 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 1 | 12.50% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 62.79% |
▷ Protected methods | 13 | 30.23% |
▷ Private methods | 3 | 6.98% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.79MB with 0.39MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/media/lc-plus-edd.png | 17.23KB | 6.60KB | ▼ 61.70% |
includes/media/lc-app.png | 666.92KB | 200.06KB | ▼ 70.00% |
includes/media/livechat-devices.png | 94.69KB | 100.99KB | 0.00% |
includes/media/lc-plus-edd@2x.png | 34.41KB | 12.99KB | ▼ 62.25% |