Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.84ms] Passed 4 tests
An overview of server-side resources used by Install FitVids - Embed fluid width Videos
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.24 ▲6.94 |
Dashboard /wp-admin | 3.35 ▲0.00 | 46.52 ▼16.11 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.34 ▼2.84 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.97 ▼3.40 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 31.33 ▼0.99 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Install FitVids - Embed fluid width Videos: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲186 | 13.66 ▼0.63 | 6.64 ▲4.86 | 39.27 ▼3.27 |
Dashboard /wp-admin | 2,210 ▲24 | 4.91 ▲0.00 | 107.69 ▼3.69 | 46.66 ▲3.88 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.00 ▼0.04 | 39.25 ▼0.16 | 35.05 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 23.05 ▼0.16 | 653.83 ▼24.79 | 51.06 ▼1.34 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.20 ▲0.03 | 96.73 ▼0.00 | 42.49 ▲1.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/install-fitvids-embed-fluid-width-videos/admin/partials/fitvids-fluid-video-admin-display.php
- > /wp-content/plugins/install-fitvids-embed-fluid-width-videos/public/partials/fitvids-fluid-video-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== install-fitvids-embed-fluid-width-videos ===
)
install-fitvids-embed-fluid-width-videos/fitvids-fluid-video.php 77% from 13 tests
The entry point to "Install FitVids - Embed fluid width Videos" 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: Name the main plugin file the same as the plugin slug ("install-fitvids-embed-fluid-width-videos.php" instead of "fitvids-fluid-video.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 169 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected241 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 115 | 510 | 168 |
JavaScript | 3 | 17 | 38 | 73 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a very shot review of 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.10 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected