Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.45ms] Passed 4 tests
An overview of server-side resources used by Stream Video Link Google Drive
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 38.05 ▼6.75 |
Dashboard /wp-admin | 3.36 ▲0.05 | 55.59 ▲3.30 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 51.69 ▼0.87 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 101.43 ▼9.96 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 38.90 ▼8.22 |
Google Drive Stream /wp-admin/options-general.php?page=stream3s-setting | 3.25 | 34.91 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Stream Video Link Google Drive
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.37 ▲0.22 | 1.67 ▼0.22 | 41.94 ▼0.19 |
Dashboard /wp-admin | 2,199 ▲27 | 5.63 ▼0.09 | 92.11 ▼8.85 | 42.20 ▼2.30 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.01 | 40.27 ▼1.27 | 35.91 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.43 ▲0.01 | 651.37 ▼35.77 | 53.89 ▼8.69 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.19 ▲0.06 | 96.31 ▼38.35 | 47.06 ▼4.90 |
Google Drive Stream /wp-admin/options-general.php?page=stream3s-setting | 826 | 1.96 | 28.12 | 27.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/streaming-video-link-google-drive/Stream3s/Views/setting.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function Stream3s\\Controllers\\add_shortcode() in wp-content/plugins/streaming-video-link-google-drive/Stream3s/Controllers/EmbedController.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: google drive video streaming, google drive streaming, video streaming
streaming-video-link-google-drive/stream-google-drive.php 85% from 13 tests
The main file in "Stream Video Link Google Drive" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("streaming-video-link-google-drive.php" instead of "stream-google-drive.php")
- Description: Keep the plugin description shorter than 140 characters (currently 183 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin352 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 101 | 9 | 352 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 6.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 5 | 25.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 1 | 5.00% |
▷ Private methods | 1 | 5.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin