Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.27ms] Passed 4 tests
This is a short check of server-side resources used by Smiling Video player and video content
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.60 ▼5.14 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.82 ▼18.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.43 ▼1.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.02 ▼7.69 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.97 ▲8.17 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
smiling_video_user |
db_upgraded |
smiling_video_password |
smiling_video_publishmode |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Smiling Video player and video content: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.48 ▲0.30 | 1.92 ▲0.09 | 41.00 ▼2.69 |
Dashboard /wp-admin | 2,203 ▲18 | 4.87 ▼1.01 | 102.56 ▼15.28 | 37.64 ▼9.04 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.05 | 41.03 ▲1.04 | 35.97 ▲2.07 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 18.45 ▼4.76 | 614.53 ▼60.55 | 67.37 ▲0.24 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.22 ▼0.13 | 97.16 ▼5.14 | 43.54 ▲0.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/smiling-video/smiling_video.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: video
smiling-video/smiling_video.php 85% from 13 tests
Analyzing the main PHP file in "Smiling Video player and video content" version 1.2.0
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("smiling-video.php" instead of "smiling_video.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected13,567 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 5,150 | 10,501 | 11,182 |
CSS | 5 | 319 | 39 | 1,873 |
PHP | 2 | 59 | 40 | 512 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
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 | 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 | 22 | |
▷ Named functions | 22 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo.png | 7.74KB | 2.92KB | ▼ 62.32% |