Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.49ms] Passed 4 tests
Analyzing server-side resources used by LiveSmart Video Chat Live Video Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 41.00 ▼2.65 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.13 ▼5.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.80 ▲1.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 96.66 ▼11.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.32 ▲2.28 |
LiveSmart Settings /wp-admin/admin.php?page=fwds_settings | 3.20 | 32.17 |
LiveSmart Dashboard /wp-admin/admin.php?page=fwds_visitors | 3.20 | 32.70 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for LiveSmart Video Chat Live Video Chat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.20 ▼1.21 | 1.72 ▼0.05 | 46.23 ▼6.73 |
Dashboard /wp-admin | 2,227 ▲39 | 5.81 ▲0.76 | 100.95 ▼5.47 | 39.44 ▼9.42 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.02 ▲0.02 | 41.01 ▲1.42 | 34.34 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 22.79 ▼0.41 | 594.04 ▼68.94 | 59.61 ▼1.66 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.21 ▲0.07 | 96.37 ▲0.45 | 41.03 ▼3.24 |
LiveSmart Settings /wp-admin/admin.php?page=fwds_settings | 871 | 2.07 | 23.39 | 27.71 |
LiveSmart Dashboard /wp-admin/admin.php?page=fwds_visitors | 768 | 2.18 | 21.83 | 22.61 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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 no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/new-dev-livesmart-video-chat/livesmart-plugin.php:33
- > 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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Requires at least: Version not formatted correctly
new-dev-livesmart-video-chat/livesmart-plugin.php 85% from 13 tests
The entry point to "LiveSmart Video Chat Live Video Chat" version 1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 141 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("new-dev-livesmart-video-chat.php" instead of "livesmart-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected112 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 8 | 91 |
Markdown | 1 | 10 | 0 | 21 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin