Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.14ms] Passed 4 tests
A check of server-side resources used by PaidVideoCall Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.90 ▼2.13 |
Dashboard /wp-admin | 3.36 ▲0.05 | 44.96 ▼1.62 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.07 ▲1.62 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.52 ▼8.03 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.29 ▼0.78 |
PaidVideoCall Widget /wp-admin/options-general.php?page=paidvideocallwidgetsettings | 3.25 | 30.80 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by PaidVideoCall Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.80 ▼0.45 | 1.72 ▼0.08 | 42.78 ▲3.54 |
Dashboard /wp-admin | 2,224 ▲35 | 4.89 ▲0.00 | 99.76 ▼18.90 | 38.69 ▼8.84 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.07 ▲0.07 | 41.29 ▲1.60 | 34.95 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,528 ▼14 | 23.20 ▲4.86 | 656.69 ▲20.82 | 53.69 ▲0.82 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.29 ▲0.05 | 98.10 ▲3.90 | 40.14 ▼2.58 |
PaidVideoCall Widget /wp-admin/options-general.php?page=paidvideocallwidgetsettings | 978 | 2.46 | 34.50 | 30.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=paidvideocallwidgetsettings
- > Warning in wp-content/plugins/paidvideocall-widget/paidvideocall-widget.php+194
implode(): Invalid arguments passed
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: audiocall, paidvideocall, monetize chat, paid chat, videocall
paidvideocall-widget/paidvideocall-widget.php 85% from 13 tests
Analyzing the main PHP file in "PaidVideoCall Widget" version 1.0
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "4.1")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin441 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 19 | 23 | 193 |
JavaScript | 2 | 8 | 1 | 170 |
CSS | 2 | 22 | 8 | 78 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.17MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/images/step-2.png | 44.03KB | 19.27KB | ▼ 56.23% |
assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/images/step-1.png | 44.95KB | 18.66KB | ▼ 58.48% |
assets/images/paidvideocall-min.png | 46.77KB | 46.88KB | 0.00% |