Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.34ms] Passed 4 tests
Server-side resources used by Adapter Responsive Video
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.43 ▼0.25 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.93 ▼14.23 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.83 ▼2.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.85 ▼15.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.45 ▼1.51 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_adapter_responsive_video |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Adapter Responsive Video
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.25 ▼0.04 | 1.86 ▼0.01 | 43.80 ▼1.17 |
Dashboard /wp-admin | 2,221 ▲15 | 4.83 ▼1.06 | 109.61 ▲2.78 | 41.81 ▼2.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.14 | 33.94 ▼3.43 | 33.81 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.34 ▲5.74 | 671.96 ▼4.32 | 60.23 ▲10.07 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.31 ▲0.04 | 100.17 ▼17.90 | 42.27 ▼7.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_adapter_responsive_video
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/adapter-responsive-video/php/class-adapter-responsive-video-widget.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/adapter-responsive-video/php/class-adapter-responsive-video-widget.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: mobile, bootstrap, video, embed, responsive...
adapter-responsive-video/adapter-responsive-video.php 92% from 13 tests
The principal PHP file in "Adapter Responsive Video" v. 1.1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 179 characters long)
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
There were no executable files found in this plugin3,313 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 3,168 |
PHP | 3 | 35 | 132 | 124 |
XML | 1 | 5 | 2 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
PNG images were not found in this plugin