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.04MB] [CPU: ▼8.84ms] Passed 4 tests
Analyzing server-side resources used by Video Blogster Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 35.86 ▼3.40 |
Dashboard /wp-admin | 3.36 ▲0.02 | 44.23 ▼17.59 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.04 ▼5.32 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.13 ▼9.06 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 35.33 ▲1.69 |
Video Blogster Lite /wp-admin/tools.php?page=video_blogster-lite | 3.37 | 241.49 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Video Blogster Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.69 ▲0.12 | 1.57 ▼0.01 | 40.11 ▲0.50 |
Dashboard /wp-admin | 2,199 ▲22 | 5.48 ▼0.14 | 82.04 ▼8.60 | 38.63 ▲1.58 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.09 | 34.20 ▲1.12 | 31.06 ▼5.35 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.29 ▲0.32 | 672.09 ▼12.12 | 54.51 ▼6.93 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.03 | 104.92 ▲5.14 | 48.03 ▲4.40 |
Video Blogster Lite /wp-admin/tools.php?page=video_blogster-lite | 1,362 | 2.30 | 22.09 | 34.56 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/video-blogster-lite/sources/class-youtube.php
- > /wp-content/plugins/video-blogster-lite/templates/buttons.php
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/video-blogster-lite/video-blogster-lite.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/video-blogster-lite/templates/process-results.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/video-blogster-lite/templates/video-feed.php:10
- > PHP Warning
Use of undefined constant VIDEO_BLOGSTER_LITE_VERSION - assumed 'VIDEO_BLOGSTER_LITE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/video-blogster-lite/templates/video-feed.php on line 2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/video-blogster-lite/templates/create-posts.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/video-blogster-lite/templates/query-youtube.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 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
7 plugin tags: embed video, video blog, videoblog, you tube, oembed...
video-blogster-lite/video-blogster-lite.php Passed 13 tests
The main PHP script in "Video Blogster Lite" version 1.2 is automatically included on every request by WordPress
77 characters long description:
Queries YouTube for content and automatically creates posts from the results.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin728 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 83 | 128 | 653 |
CSS | 1 | 23 | 0 | 75 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 40.50 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 55.56% |
▷ Protected methods | 4 | 14.81% |
▷ Private methods | 8 | 29.63% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/yt_logo_rgb_light.png | 19.98KB | 8.66KB | ▼ 56.67% |