Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼9.51ms] Passed 4 tests
This is a short check of server-side resources used by Responsive videos - Fitvids
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.14 ▼4.77 |
Dashboard /wp-admin | 3.42 ▲0.08 | 49.77 ▼17.62 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.88 ▼3.13 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 95.19 ▼12.51 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.74 ▼3.12 |
Responsive Videos /wp-admin/options-general.php?page=sgi-fitvids | 3.31 | 33.31 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Responsive videos - Fitvids
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲126 | 13.66 ▼0.72 | 5.58 ▲3.18 | 41.05 ▼1.34 |
Dashboard /wp-admin | 2,213 ▲28 | 5.86 ▼0.02 | 99.46 ▼15.66 | 41.07 ▼4.30 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.06 | 41.07 ▲2.32 | 47.23 ▲13.37 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.14 ▲5.47 | 661.45 ▼3.78 | 47.51 ▼18.78 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.20 ▲0.05 | 94.78 ▼3.90 | 42.33 ▼0.37 |
Responsive Videos /wp-admin/options-general.php?page=sgi-fitvids | 851 | 1.69 | 24.98 | 28.61 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive 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 96% from 29 tests
readme.txt Passed 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
6 plugin tags: vimeo, jwplayer, youtube, fitvids, videos...
responsive-videos-fitvids/responsive-videos-fitvids.php 92% from 13 tests
The main PHP script in "Responsive videos - Fitvids" version 3.0.1 is automatically included on every request by WordPress
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.1" instead of "5.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected835 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 240 | 359 | 763 |
JavaScript | 1 | 11 | 11 | 60 |
JSON | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 11.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 4 | 8.33% |
▷ Public methods | 46 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.17% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin