Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.82ms] Passed 4 tests
Server-side resources used by Screenshare with Screenleap Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.81 ▼2.83 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.75 ▼2.11 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.33 ▲1.47 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 80.34 ▲0.20 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.36 ▲4.44 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=gpls_sli_screenleap | 3.32 | 34.02 |
Add New /wp-admin/post-new.php?post_type=gpls_sli_screenleap | 3.59 | 60.63 |
Screenleap Meetings /wp-admin/edit.php?post_type=gpls_sli_screenleap | 3.37 | 36.32 |
Settings /wp-admin/edit.php?post_type=gpls_sli_screenleap&page=gpls-sli-wp-screenleap-integration | 3.34 | 31.58 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=gpls_sli_screenleap | 3.31 | 37.69 |
Server storage [IO: ▲1.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 94 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
category_children |
can_compress_scripts |
widget_recent-comments |
gpls_core_plugins_main_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Screenshare with Screenleap Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲75 | 14.28 ▼0.30 | 1.62 ▼0.06 | 41.07 ▼4.68 |
Dashboard /wp-admin | 2,239 ▲62 | 5.56 ▼0.09 | 84.04 ▼13.92 | 35.12 ▼9.01 |
Posts /wp-admin/edit.php | 2,141 ▲44 | 2.02 ▲0.01 | 38.68 ▲3.57 | 35.01 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 23.00 ▼0.14 | 648.55 ▲13.32 | 55.32 ▲3.53 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.27 ▲0.06 | 95.40 ▼0.61 | 43.77 ▲4.02 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=gpls_sli_screenleap | 1,363 | 2.17 | 28.42 | 28.25 |
Add New /wp-admin/post-new.php?post_type=gpls_sli_screenleap | 6,402 | 7.66 | 206.92 | 181.75 |
Screenleap Meetings /wp-admin/edit.php?post_type=gpls_sli_screenleap | 1,205 | 1.97 | 34.04 | 28.68 |
Settings /wp-admin/edit.php?post_type=gpls_sli_screenleap&page=gpls-sli-wp-screenleap-integration | 911 | 1.85 | 24.21 | 22.95 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=gpls_sli_screenleap | 1,496 | 2.18 | 28.08 | 31.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- category_children
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 | 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:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6 in screenshare-with-screenleap-integration/assets to your readme.txt
screenshare-with-screenleap-integration/gpls-sli-wp-screenleap-integration.php 85% from 13 tests
The entry point to "Screenshare with Screenleap Integration" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("screenshare-with-screenleap-integration.php" instead of "gpls-sli-wp-screenleap-integration.php")
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.4" instead of "5.6")
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
Success! There were no dangerous files found in this plugin4,059 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 384 | 1,259 | 3,084 |
JavaScript | 8 | 120 | 278 | 735 |
Sass | 3 | 39 | 0 | 234 |
CSS | 6 | 0 | 6 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 20.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 141 | |
▷ Static methods | 11 | 7.80% |
▷ Public methods | 134 | 95.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 4.96% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
PNG files should be compressed to save space and minimize bandwidth usage
34 PNG files occupy 0.40MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/images/mac_native_chrome_custom_protocol_handler.png | 78.81KB | 25.38KB | ▼ 67.80% |
assets/src/images/win_native_chrome_custom_protocol_handler_screenshare.png | 10.22KB | 10.09KB | ▼ 1.24% |
assets/src/images/win_native_firefox_custom_protocol_handler.png | 15.05KB | 7.84KB | ▼ 47.94% |
assets/src/images/mac_api_native_finder_window.png | 5.86KB | 4.90KB | ▼ 16.38% |
assets/dist/images/sc.png | 3.41KB | 2.93KB | ▼ 14.08% |