Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼31.97ms] Passed 4 tests
An overview of server-side resources used by WebRTC for WP SoyDigital
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.74 ▼7.17 |
Dashboard /wp-admin | 3.00 ▼0.30 | 21.91 ▼24.21 |
Posts /wp-admin/edit.php | 3.00 ▼0.35 | 22.33 ▼22.16 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.88 | 22.84 ▼65.80 |
Media Library /wp-admin/upload.php | 3.00 ▼0.22 | 21.20 ▼15.69 |
Set WebRTC for WP SoyDigital /wp-admin/options-general.php?page=digital_rtc | 3.01 | 22.48 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 11 new options
New WordPress options |
---|
digital_rtc_w |
theysaidso_admin_options |
widget_recent-posts |
digital_rtc_varkey |
widget_d_rtc |
db_upgraded |
digital_rtc_b |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WebRTC for WP SoyDigital
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.74 ▼0.64 | 2.15 ▲0.24 | 35.34 ▼9.66 |
Dashboard /wp-admin | 2,207 ▲22 | 5.81 ▼0.05 | 97.74 ▼19.90 | 37.58 ▼5.37 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▼0.01 | 46.06 ▲11.52 | 43.72 ▲5.41 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 22.99 ▲4.38 | 652.82 ▲29.13 | 54.31 ▼0.29 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.19 ▼0.02 | 97.73 ▼1.11 | 42.08 ▼2.59 |
Set WebRTC for WP SoyDigital /wp-admin/options-general.php?page=digital_rtc | 852 | 2.21 | 24.83 | 27.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 11 options
- widget_d_rtc
- digital_rtc_varkey
- can_compress_scripts
- widget_theysaidso_widget
- digital_rtc_w
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- digital_rtc_b
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=digital_rtc
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=digital_rtc
- > Notice in wp-content/plugins/webrtc-for-wp-soydigital/webrtc-for-wp-soydigital.php+227
Undefined index: d_rtc_submit
- > GET request to /wp-admin/options-general.php?page=digital_rtc
- > Notice in wp-content/plugins/webrtc-for-wp-soydigital/webrtc-for-wp-soydigital.php+279
Undefined variable: data
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/webrtc-for-wp-soydigital/webrtc-for-wp-soydigital.php:61
- > 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)
Everything seems fine on the user side
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: soydigital, llamadas rtc, web-rtc, webrtc, soy digital...
webrtc-for-wp-soydigital/webrtc-for-wp-soydigital.php Passed 13 tests
The entry point to "WebRTC for WP SoyDigital" version 1.2 is a PHP file that has certain tags in its header comment area
98 characters long description:
Inserta facilmente tu codigo Digital-RTC de SoyDigital con este plugin,mediante widget o shotrcode
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin453 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 417 | 57 | 343 |
CSS | 1 | 64 | 11 | 61 |
JavaScript | 1 | 1 | 1 | 35 |
XML | 3 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
5 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo_soydigital.png | 6.62KB | 3.01KB | ▼ 54.51% |
assets/screenshot-2.png | 24.39KB | 9.01KB | ▼ 63.05% |
assets/img/empresas.png | 37.67KB | 14.44KB | ▼ 61.66% |
assets/img/personal.png | 36.86KB | 14.11KB | ▼ 61.72% |
assets/screenshot-1.png | 42.22KB | 15.25KB | ▼ 63.89% |