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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼273.52ms] Passed 4 tests
A check of server-side resources used by Advanced Youtube Channel Pagination
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 41.25 ▲20.36 |
Dashboard /wp-admin | 3.15 ▲0.09 | 50.03 ▲6.93 |
Posts /wp-admin/edit.php | 3.20 ▲0.09 | 42.98 ▼0.70 |
Add New Post /wp-admin/post-new.php | 5.73 ▲0.31 | 80.00 ▼1,091.92 |
Media Library /wp-admin/upload.php | 3.11 ▲0.10 | 32.07 ▼8.40 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Youtube Channel Pagination
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲200 | 16.30 ▲0.84 | 12.72 ▲3.11 | 69.08 ▲24.10 |
Dashboard /wp-admin | 2,947 ▲97 | 6.09 ▲0.24 | 135.59 ▲0.51 | 102.66 ▲4.55 |
Posts /wp-admin/edit.php | 2,726 ▲20 | 2.69 ▲0.00 | 69.04 ▲2.65 | 94.13 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,864 ▼174 | 17.49 ▼1.94 | 357.95 ▼5.65 | 106.58 ▼0.20 |
Media Library /wp-admin/upload.php | 1,795 ▲23 | 5.03 ▼0.01 | 156.70 ▲3.97 | 108.86 ▼10.76 |
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
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/advanced-youtube-channel-pagination/advanced-youtube-channel-pagination.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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 (This screen shot description corresponds to screenshot-1.png), #2 (This screen shot description admin to screenshot-2.png), #3 (This screen shot description corresponds to screenshot-3.png)
advanced-youtube-channel-pagination/advanced-youtube-channel-pagination.php Passed 13 tests
The principal PHP file in "Advanced Youtube Channel Pagination" v. 1.0 is loaded by WordPress automatically on each request
73 characters long description:
The plugin is usefull for showing youtube channel videos with pagination.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected283 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 19 | 160 |
JavaScript | 1 | 15 | 5 | 74 |
CSS | 2 | 6 | 11 | 49 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 1 | 25.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 1 test
Image compression 0% from 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.66MB with 0.43MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 296.27KB | 99.33KB | ▼ 66.47% |
screenshot-3.png | 323.51KB | 107.74KB | ▼ 66.70% |
screenshot-2.png | 53.38KB | 19.69KB | ▼ 63.12% |