Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼289.76ms] Passed 4 tests
Analyzing server-side resources used by Arrow Video Feed, Custom Video Channel Feed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 54.56 ▼2.67 |
Dashboard /wp-admin | 3.55 ▲0.14 | 38.68 ▲3.62 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 42.67 ▼3.36 |
Add New Post /wp-admin/post-new.php | 6.99 ▲0.02 | 106.97 ▼1,154.09 |
Media Library /wp-admin/upload.php | 3.40 ▲0.11 | 25.30 ▲1.09 |
Rate us /wp-admin/edit.php?post_type=utbap_youtube_feed&page=utbap_rate_us_plugins | 3.41 | 27.08 |
Support /wp-admin/edit.php?post_type=utbap_youtube_feed&page=utbap_form_support | 3.43 | 23.74 |
All YouTube Feeds /wp-admin/edit.php?post_type=utbap_youtube_feed | 3.54 | 29.94 |
Our Plugins /wp-admin/edit.php?post_type=utbap_youtube_feed&page=utbap_our_plugins | 3.41 | 27.46 |
Add New /wp-admin/post-new.php?post_type=utbap_youtube_feed | 3.85 | 70.46 |
Server storage [IO: ▲3.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 59 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Arrow Video Feed, Custom Video Channel Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,181 ▲437 | 18.45 ▲2.86 | 10.19 ▲2.72 | 18.21 ▲15.66 |
Dashboard /wp-admin | 3,158 ▲297 | 8.37 ▲2.13 | 143.50 ▲2.42 | 155.49 ▼17.61 |
Posts /wp-admin/edit.php | 2,990 ▲296 | 4.99 ▲1.76 | 83.46 ▲14.95 | 141.87 ▼2.32 |
Add New Post /wp-admin/post-new.php | 1,714 ▲53 | 21.33 ▲5.03 | 374.10 ▼69.08 | 161.30 ▲4.82 |
Media Library /wp-admin/upload.php | 1,778 ▲80 | 5.86 ▲0.41 | 110.34 ▼31.91 | 189.75 ▲4.70 |
Rate us /wp-admin/edit.php?post_type=utbap_youtube_feed&page=utbap_rate_us_plugins | 1,343 | 4.75 | 73.65 | 121.41 |
Support /wp-admin/edit.php?post_type=utbap_youtube_feed&page=utbap_form_support | 1,433 | 4.89 | 72.78 | 158.22 |
All YouTube Feeds /wp-admin/edit.php?post_type=utbap_youtube_feed | 1,664 | 5.43 | 76.25 | 113.67 |
Our Plugins /wp-admin/edit.php?post_type=utbap_youtube_feed&page=utbap_our_plugins | 1,511 | 4.77 | 77.21 | 187.93 |
Add New /wp-admin/post-new.php?post_type=utbap_youtube_feed | 6,505 | 13.13 | 451.09 | 385.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=utbap_youtube_feed&page=utbap_form_support
- > Notice in wp-content/plugins/add-youtube-feed/includes/utbap-support-page.php+460
Undefined variable: _SESSION
SRP 0% from 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/add-youtube-feed/includes/utbap-rate-us.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/add-youtube-feed/includes/utbap-our-plugins.php:81
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/add-youtube-feed/includes/utbap-shortcode.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=utbap_youtube_feed
- > Network (severe)
https://apis.google.com/u/0/se/0/_/+1/fastbutton?usegapi=1&size=medium&origin=http%3A%2F%2Fwp.com&url=https%3A%2F%2Fwordpress.org%2Fplugins%2Fadd-youtube-feed%2F&gsrc=3p&ic=1&jsh=m%3B%2F_%2Fscs%2Fabc-static%2F_%2Fjs%2Fk%3Dgapi.lb.en.NnK9YPjtg-w.O%2Fd%3D1%2Frs%3DAHpOoo9KePDGVlGjp-rlXwDM1kUO2Eh4gg%2Fm%3D__features__#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_1648544422691&_gfid=I0_1648544422691&parent=http%3A%2F%2Fwp.com&pfname=&rpctoken=69770963 - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (2.), #3 (4.), #5 (6.)
add-youtube-feed/youtube-by-arrowplugins.php 92% from 13 tests
The main PHP script in "Arrow Video Feed, Custom Video Channel Feed" version 1.1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("add-youtube-feed.php" instead of "youtube-by-arrowplugins.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected7,452 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 400 | 243 | 3,337 |
PHP | 11 | 364 | 137 | 2,081 |
JavaScript | 6 | 647 | 174 | 1,514 |
SVG | 1 | 0 | 0 | 520 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
21 PNG files occupy 1.27MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/ilogo.png | 135.83KB | 45.77KB | ▼ 66.31% |
includes/images/template2.png | 103.72KB | 110.54KB | 0.00% |
includes/images/grid.png | 15.20KB | 15.89KB | 0.00% |
includes/images/fb-promo.png | 211.04KB | 90.53KB | ▼ 57.10% |
includes/images/double-list.png | 11.12KB | 11.61KB | 0.00% |