Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼18.68ms] Passed 4 tests
Analyzing server-side resources used by Simple Lazy Load Videos
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.29 ▼0.78 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.85 ▼16.62 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 45.63 ▼0.70 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.10 ▼52.80 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 31.15 ▼4.50 |
Simple Lazy Load Videos /wp-admin/options-general.php?page=simple-lazy-load-videos | 3.25 | 29.48 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
sllv_version |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
sllv_settings |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Lazy Load Videos
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲51 | 14.25 ▼0.10 | 1.89 ▲0.11 | 45.09 ▲3.54 |
Dashboard /wp-admin | 2,193 ▲12 | 5.52 ▼0.19 | 86.82 ▼17.51 | 38.30 ▼3.65 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▲0.01 | 38.50 ▲0.36 | 34.90 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.53 ▲0.30 | 662.27 ▼42.17 | 52.38 ▼12.78 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.26 ▲0.00 | 100.25 ▲2.25 | 42.47 ▼2.70 |
Simple Lazy Load Videos /wp-admin/options-general.php?page=simple-lazy-load-videos | 840 | 2.01 | 25.77 | 27.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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
Everything seems fine, however this is by no means 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-lazy-load-videos/simple-lazy-load-videos.php
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: performance, youtube, vimeo, video
simple-lazy-load-videos/simple-lazy-load-videos.php Passed 13 tests
The primary PHP file in "Simple Lazy Load Videos" version 1.3.0 is used by WordPress to initiate all plugin functionality
59 characters long description:
Simple Lazy Load for embedded video from Youtube and Vimeo.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin520 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 167 | 417 | 431 |
CSS | 2 | 1 | 15 | 88 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 3 | 9.38% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin